[Bug 725812] Re: PHP5.3.2 throws SEGV on gc_collect_cycles() on script shutdown

J Queiroz 725812 at bugs.launchpad.net
Thu Mar 3 13:45:49 UTC 2011


This is the backtrace on a 64bit machine, Kubuntu Desktop.

(gdb) r -X                                                                                                                                                                          
Starting program: /usr/sbin/apache2 -X                                                                                                                                              
[Thread debugging using libthread_db enabled]                                                                                                                                       
[New Thread 0x7fffebbcf700 (LWP 27511)]                                                                                                                                             
[Thread 0x7fffebbcf700 (LWP 27511) exited]

Program received signal SIGSEGV, Segmentation fault.
zval_mark_grey (pz=0x7ffff99cf088) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:356
356     /build/buildd/php5-5.3.2/Zend/zend_gc.c: Arquivo ou diretório não encontrado.
        in /build/buildd/php5-5.3.2/Zend/zend_gc.c
(gdb) bt
#0  zval_mark_grey (pz=0x7ffff99cf088) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:356
#1  0x00007ffff3fa1ab5 in gc_collect_cycles () at /build/buildd/php5-5.3.2/Zend/zend_gc.c:417
#2  0x00007ffff3f84215 in zend_deactivate () at /build/buildd/php5-5.3.2/Zend/zend.c:972
#3  0x00007ffff3f2fd85 in php_request_shutdown (dummy=0x7ffff99cf088) at /build/buildd/php5-5.3.2/main/main.c:1649
#4  0x00007ffff4010947 in php_handler (r=0x7ffff4010947) at /build/buildd/php5-5.3.2/sapi/apache2handler/sapi_apache2.c:512
#5  0x00007ffff7fd6140 in ap_run_handler (r=0x7ffff863a288) at /build/buildd/apache2-2.2.14/server/config.c:159
#6  0x00007ffff7fd9aa8 in ap_invoke_handler (r=0x7ffff863a288) at /build/buildd/apache2-2.2.14/server/config.c:373
#7  0x00007ffff7fe7678 in ap_process_request (r=0x7ffff863a288) at /build/buildd/apache2-2.2.14/modules/http/http_request.c:282
#8  0x00007ffff7fe4528 in ap_process_http_connection (c=0x7ffff862f668) at /build/buildd/apache2-2.2.14/modules/http/http_core.c:190
#9  0x00007ffff7fddcf8 in ap_run_process_connection (c=0x7ffff862f668) at /build/buildd/apache2-2.2.14/server/connection.c:43
#10 0x00007ffff7fec037 in child_main (child_num_arg=<value optimized out>) at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:662
#11 0x00007ffff7fec306 in make_child (s=0x7ffff8214938, slot=0) at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:702
#12 0x00007ffff7fec953 in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>)
    at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:978
#13 0x00007ffff7fc2350 in main (argc=2, argv=0x7fffffffe708) at /build/buildd/apache2-2.2.14/server/main.c:742


The original 32-bit server where the problem ocurred is in production
time now; I can only test on it later.

If I install Ubuntu Server on a VM, will be a valid test?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/725812

Title:
  PHP5.3.2 throws SEGV on gc_collect_cycles() on script shutdown



More information about the Ubuntu-server-bugs mailing list