|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-02-26 07:33 UTC] krakjoe@php.net
-Status: Open
+Status: Suspended
[2015-02-26 07:33 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 12:00:01 2025 UTC |
Description: ------------ Running PHP 5.0.2 / Apache 1.3.31 on SuSE Linux 9.0 Apache will seg fault on the below code every 6th request. Ie: I reload the page 5 times and it works fine, on the 6th time the page displays correctly, the APD trace file is ok, but the Apache child process will seg fault. Reproduce code: --------------- <?php apd_set_pprof_trace(); echo 'hello'; ?> Expected result: ---------------- Apache should not seg fault Actual result: -------------- $> gdb /usr/sbin/httpd (gdb) run -X Starting program: /usr/sbin/httpd -X [New Thread 16384 (LWP 22493)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 22493)] 0x40168567 in _int_free () from /lib/i686/libc.so.6 (gdb) bt #0 0x40168567 in _int_free () from /lib/i686/libc.so.6 #1 0x4016722f in free () from /lib/i686/libc.so.6 #2 0x4037db1b in shutdown_memory_manager (silent=0, full_shutdown=0) at /root/php-5.0.2/Zend/zend_alloc.c:564 #3 0x4035af23 in php_request_shutdown (dummy=0x0) at /root/php-5.0.2/main/main.c:1223 #4 0x403c55aa in apache_php_module_main (r=0x8192154, display_source_mode=0) at /root/php-5.0.2/sapi/apache/sapi_apache.c:60 #5 0x403c606c in send_php (r=0x8192154, display_source_mode=0, filename=0x0) at /root/php-5.0.2/sapi/apache/mod_php5.c:622 #6 0x403c6233 in send_parsed_php (r=0x8192154) at /root/php-5.0.2/sapi/apache/mod_php5.c:637 #7 0x0806b423 in ap_invoke_handler () #8 0x08080469 in process_request_internal () #9 0x080804c8 in ap_process_request () #10 0x080774ec in child_main () #11 0x08077694 in make_child () #12 0x080777fa in startup_children () #13 0x08077eba in standalone_main () #14 0x080786d8 in main ()