php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38675 Segmentation Fault - core dump in Apache13+mod-ssl after loading MySQL+PHP4.4.4
Submitted: 2006-08-31 20:56 UTC Modified: 2006-09-01 09:35 UTC
From: myles dot blackwood at gmail dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.4.4 OS: FreeBSD 5.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: myles dot blackwood at gmail dot com
New email:
PHP Version: OS:

 

 [2006-08-31 20:56 UTC] myles dot blackwood at gmail dot com
Description:
------------
After loading a "minimal" install of FreeBSD 5.5 on to my 
system, and updated the ports collection, I decided to load 
apache13+mod-ssl with PHP-4.4.4 and MySQL 4? (whatever shows 
as the newest version after a ports update with FREEBSD 5.5) 

Everything goes well- until after the second boot of apache. 
it totally pukes and gives a "Segmentation Fault" error.

after uninstalling and re-installing each module at a time, 
as well as changing the configuration file to exlude 
anything that I may have added- the error can not be 
reproduced unless I specify that the MySQL compatability be 
used with the installation of PHP4.

Unfortunately, I'm not one of you "L33T" guys, so my 
knowledge is limited on this matter.

I am, however, more than happy to, and completely capable of 
following instructions to get the desired information.

Reproduce code:
---------------
?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-31 20:59 UTC] myles dot blackwood at gmail dot com
also- this **only** started to occure after the relase of PHP 
4.4.4 on the 17th of August.
 [2006-08-31 21:01 UTC] myles dot blackwood at gmail dot com
also- this **only** started to occure after the relase of PHP 
4.4.4 on the 17th of August.

Also- there have been no changes to the kernel, nor any 
changes to make.conf. this occurs on a bone stock system- with 
exception to the updated "ports" files.
 [2006-08-31 21:05 UTC] tony2001@php.net
What is the version of MySQL ?
 [2006-08-31 21:13 UTC] myles dot blackwood at gmail dot com
MySQL-server 4.1.21

sorry, i meant to check that before I submitted originally...
 [2006-08-31 21:15 UTC] tony2001@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 for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

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.


 [2006-08-31 23:59 UTC] myles dot blackwood at gmail dot com
Results from backtrace:
Starting program: /usr/local/sbin/httpd -X
(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x2871680a in hash_lookup () from /usr/local/lib/libc-
client4.so.8
(gdb) bt
#0  0x2871680a in hash_lookup () from /usr/local/lib/libc-
client4.so.8
#1  0x288929da in find_alias () from /usr/local/lib/
librecode.so.3
#2  0x2889455c in register_all_modules () from /usr/local/
lib/librecode.so.3
#3  0x28894ce2 in recode_new_outer () from /usr/local/lib/
librecode.so.3
#4  0x28849d2b in zm_startup_recode () from /usr/local/lib/
php/20020429/recode.so
#5  0x283bd7a0 in ?? () from /usr/local/libexec/apache/
libphp4.so
#6  0x00000001 in ?? ()
#7  0x0000000f in ?? ()
#8  0xbfbfea38 in ?? ()
#9  0x283bd78d in ?? () from /usr/local/libexec/apache/
libphp4.so
#10 0x080e3800 in ?? ()
#11 0x2846da40 in php4_module () from /usr/local/libexec/
apache/libphp4.so
#12 0xbfbfea38 in ?? ()
#13 0x28341c00 in ?? ()
#14 0x00000020 in ?? ()
#15 0x080f4e80 in ?? ()
#16 0x28445b6b in ?? () from /usr/local/libexec/apache/
libphp4.so
#17 0x08082ac0 in ?? ()
#18 0x2840349c in ?? () from /usr/local/libexec/apache/
libphp4.so
#19 0x28463e64 in ?? () from /usr/local/libexec/apache/
libphp4.so
#20 0xbfbfea68 in ?? ()
#21 0x284034b0 in ?? () from /usr/local/libexec/apache/
libphp4.so
#22 0x08082ac8 in ?? ()
#23 0x00000001 in ?? ()
#24 0xbfbfea50 in ?? ()
#25 0x2846da40 in php4_module () from /usr/local/libexec/
apache/libphp4.so
#26 0x00000001 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000006 in ?? ()
#29 0x28472ecc in ?? () from /usr/local/libexec/apache/
libphp4.so
#30 0x284651e0 in ?? () from /usr/local/libexec/apache/
libphp4.so
#31 0x28463e64 in ?? () from /usr/local/libexec/apache/
libphp4.so
#32 0xbfbfea88 in ?? ()
#33 0x28420819 in ?? () from /usr/local/libexec/apache/
libphp4.so
#34 0x08082ac8 in ?? ()
#35 0x00000003 in ?? ()
#36 0xbfbfea88 in ?? ()
#37 0x284291a3 in ?? () from /usr/local/libexec/apache/
libphp4.so
#38 0x00000000 in ?? ()
#39 0xffffffff in ?? ()
#40 0xbfbfeaa8 in ?? ()
#41 0x28403be7 in ?? () from /usr/local/libexec/apache/
libphp4.so
#42 0x2846e9fc in ?? () from /usr/local/libexec/apache/
libphp4.so
#43 0x2840349c in ?? () from /usr/local/libexec/apache/
libphp4.so
#44 0xbfbfeab8 in ?? ()
#45 0x28440902 in ?? () from /usr/local/libexec/apache/
libphp4.so
#46 0x00000000 in ?? ()
#47 0xffffffff in ?? ()
#48 0xbfbfeb18 in ?? ()
#49 0x283fe7d0 in ?? () from /usr/local/libexec/apache/
libphp4.so
#50 0xbfbfeb24 in ?? ()
#51 0x00000001 in ?? ()
#52 0xbfbfeb18 in ?? ()
#53 0x283fe7a1 in ?? () from /usr/local/libexec/apache/
libphp4.so
---Type <return> to continue, or q <return> to quit---
#54 0x2844e258 in ?? () from /usr/local/libexec/apache/
libphp4.so
#55 0x00000004 in ?? ()
#56 0xbfbfea01 in ?? ()
#57 0x08086010 in ?? ()
#58 0x283fd7b0 in ?? () from /usr/local/libexec/apache/
libphp4.so
#59 0x283fd2e4 in ?? () from /usr/local/libexec/apache/
libphp4.so
#60 0x283fe330 in ?? () from /usr/local/libexec/apache/
libphp4.so
#61 0x283fdcdc in ?? () from /usr/local/libexec/apache/
libphp4.so
#62 0x283fdd5c in ?? () from /usr/local/libexec/apache/
libphp4.so
#63 0x0805abe8 in timeout ()
Previous frame inner to this frame (corrupt stack?)
 [2006-09-01 09:35 UTC] tony2001@php.net
You have to disable ext/recode.
Detailed explanation why ext/recode should not be enabled along with ext/mysql and ext/imap can be found here: http://php.net/recode
Not PHP problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 19:01:29 2024 UTC