php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29016 zend_alloc.c segfaults since 1.136 commit
Submitted: 2004-07-05 16:50 UTC Modified: 2004-07-06 07:50 UTC
From: chregu@php.net Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5CVS-2004-07-05 (dev) OS: Mac OS X
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chregu@php.net
New email:
PHP Version: OS:

 

 [2004-07-05 16:50 UTC] chregu@php.net
Description:
------------
Since the latest cvs checkout, php segfaults sometimes on request shutdown within apache.

No code to reproduce right now, it happens approx. every second time. Will try to investigate more later, if it's not obvious anyway to anyone.

Backtrace is below

Actual result:
--------------
#0  0x01a3b768 in shutdown_memory_manager (silent=0, full_shutdown=0) at /opt/cvs/php5/Zend/zend_alloc.c:533
#1  0x019fd9ac in php_request_shutdown (dummy=0x0) at /opt/cvs/php5/main/main.c:1223
#2  0x01aa2a08 in apache_php_module_main (r=0x82ff70, display_source_mode=0) at /opt/cvs/php5/sapi/apache/sapi_apache.c:60
#3  0x01aa3d6c in send_php (r=0x82ff70, display_source_mode=0, filename=0x8304e0 "/Users/chregu/clients/berghilfe/index.php") at /opt/cvs/php5/sapi/apache/mod_php5.c:621
#4  0x01aa3df4 in send_parsed_php (r=0x82ff70) at /opt/cvs/php5/sapi/apache/mod_php5.c:636
#5  0x000529f8 in ap_invoke_handler ()
#6  0x00040c0c in process_request_internal ()
#7  0x00041134 in ap_internal_redirect ()
#8  0x0000cf30 in handle_dir ()
#9  0x000529f8 in ap_invoke_handler ()
#10 0x00040c0c in process_request_internal ()
#11 0x00040c9c in ap_process_request ()
#12 0x0002fed4 in child_main ()
#13 0x000300f0 in make_child ()
#14 0x000302d4 in startup_children ()
#15 0x00030c2c in standalone_main ()
#16 0x0003177c in main ()
#17 0x00001c10 in _start ()
#18 0x00001a90 in start ()

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-05 16:54 UTC] chregu@php.net
BTW, reverting to 1.135 of zend_alloc.c got rid of the segfaults.
 [2004-07-06 07:50 UTC] chregu@php.net
a really proper new build seemed to "fix" it. sorry for 
the false alarm...
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Apr 28 09:01:27 2025 UTC