php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21987 segfault
Submitted: 2003-01-31 13:39 UTC Modified: 2003-02-13 19:49 UTC
From: quelrod at yahoo dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.0 OS: Openbsd 3.2
Private report: No CVE-ID: None
 [2003-01-31 13:39 UTC] quelrod at yahoo dot com
after compiling the new php 4.3.0 using (leaving my old apache alone)

./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-openssl --with-gettext --with-xml --with-imap --with-imap-ssl --with-mcrypt --with-zlib

then restart time:
[root@amanda /home/quel/php-4.3.0] /usr/local/apache/bin/apachectl restart
/usr/local/apache/bin/apachectl restart: configuration broken, ignoring restart
/usr/local/apache/bin/apachectl restart: (run 'apachectl configtest' for details)

[root@amanda /home/quel/php-4.3.0] /usr/local/apache/bin/apachectl configtest
Memory fault (core dumped)

[root@amanda /home/quel/php-4.3.0] gdb /usr/local/apache/bin/httpd httpd.core

#0  0x4019e33a in strcmp ()
(gdb) bt
#0  0x4019e33a in strcmp ()
#1  0xb380e in obj_name_cmp ()

bt seems useless and incomplete to me...
I once had this problem when getting php 4.2.3 up, however bt showed issues in libc and the problem was related to the --with-kerberos option (which i didn't use this time around)

-quel@gnu.org

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-31 16:29 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Given the provided information there is nothing to indicate that it is PHP who is responsible for the broken configuration. If you want you could try compiling PHP with --enable-debug, which may make the backtrace more meaningful if it is indeed PHP who is responsible for the problem.
 [2003-02-01 09:43 UTC] quelrod at yahoo dot com
this behavior only occurs when compiling:
--with-openssl

unless you propose the bug is w/ openbsd's openssl, however be advised my mod_ssl is compiled with it and it suffers no issues.

-quel
 [2003-02-03 06:51 UTC] sniper@php.net
Are you sure you're linking PHP with exactly SAME openssl
libs as you have linked Apache with?

 [2003-02-03 06:52 UTC] sniper@php.net
And DO NOT do 'apachctl restart' after you have installed
new PHP module!!

 [2003-02-03 08:43 UTC] quelrod at yahoo dot com
yes it's the same openssl
and you are right i didn't end up doing a restart
i did a killall httpd and then a startssl
 [2003-02-03 08:45 UTC] sniper@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2003-02-13 19:49 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

Dup of bug #22112 (and no feedback to this one..)
Add your comments to that report, thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 04:01:29 2024 UTC