php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7026 Apache crashes
Submitted: 2000-10-04 23:20 UTC Modified: 2000-10-28 23:45 UTC
From: janek at tartu dot cv dot ee Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.2 OS: Linux
Private report: No CVE-ID: None
 [2000-10-04 23:20 UTC] janek at tartu dot cv dot ee
Hi,

I downloaded the php-4.0.2 and compiled it with apache-1.3.12.
with options --with-mysql --with-apache --enable-trans-sid --enable-track-vars

Now apache crashes ... in error_log there is 
[notice] child pid 6107 exit signal Segmentation Fault (11)

apache with gdb gives the following bt

Program received signal SIGSEGV, Segmentation fault.
0x401f0789 in pthread_mutex_lock () at mutex.c:75
75      mutex.c: No such file or directory.
(gdb) bt
#0  0x401f0789 in pthread_mutex_lock () at mutex.c:75
#1  0x4013efae in free () at malloc.c:2952
#2  0x80cc1cc in _efree ()
#3  0x80d5b74 in _zval_dtor ()
#4  0x80d214d in destroy_op_array ()
#5  0x80d2059 in destroy_zend_function ()
#6  0x80d9477 in zend_hash_clean ()
#7  0x80d95bf in zend_hash_apply ()
#8  0x80d0cf8 in shutdown_executor ()
#9  0x80d655d in zend_deactivate ()
#10 0x807b494 in php_request_shutdown ()
#11 0x8079786 in sapi_apache_send_headers ()
#12 0x8100c8e in ap_run_cleanup ()
#13 0x80ff4bd in ap_clear_pool ()
#14 0x80ff531 in ap_destroy_pool ()
#15 0x80ff4ac in ap_clear_pool ()
#16 0x810e97f in ap_child_terminate ()
#17 0x810ef1c in ap_child_terminate ()
#18 0x810f079 in ap_child_terminate ()
#19 0x810f6a6 in ap_child_terminate ()
#20 0x810fe33 in main ()
#21 0x400fd9cb in __libc_start_main () at ../sysdeps/generic/libc-start.c:122

I tried it with RedHat6.1 RedHat6.2 PCSolaris8
And this happens always. (this gdb was with RedHat6.1)
Am I doing something wrong ?

Any help appreciated...


Janek Hiis
janek@tartu.cv.ee

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-06 20:01 UTC] sniper@php.net
Is it crashing when Apache is started or with some script?
If latter, please include smallest reproducive script cut here.

--Jani


 [2000-10-28 23:45 UTC] sniper@php.net
No feedback.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 00:01:28 2024 UTC