Comment 6 for bug 590255

Revision history for this message
stuecki (lauchpad-k) wrote :

Same here with
Ubuntu Server 10.04, php 5.3.2-1ubuntu4.9
running a modified xtcommerce-shop.

The SIGSEGV happens at the end of the script (all output allready written) every time it runs, no matter whether php5-cgi, php5 or cli.

No more Segfaults when zend.enable_gc=Off is set in php.ini.

Top of Trace :

--- stack trace ---
#0 zval_mark_grey (pz=0x23bbc58) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:356
        p = 0xfffffffffffffffc
#1 0x00000000006b4ee5 in gc_collect_cycles () at /build/buildd/php5-5.3.2/Zend/zend_gc.c:417
        p = 0x7f73be97a1b2
        q = 0xfffffffffffffffc
        orig_free_list = 0x7fffc3b15ef1
        orig_next_to_free = 0x7fffc3b15eb7
        count = -1097358928
#2 0x0000000000697645 in zend_deactivate () at /build/buildd/php5-5.3.2/Zend/zend.c:972
        __orig_bailout = 0x7fffc3b11960

[...]

--- source code stack trace ---
#0 zval_mark_grey (pz=0x23bbc58) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:356
  [Error: /build/buildd/php5-5.3.2/Zend/zend_gc.c was not found in source tree]
#1 0x00000000006b4ee5 in gc_collect_cycles () at /build/buildd/php5-5.3.2/Zend/zend_gc.c:417
  [Error: /build/buildd/php5-5.3.2/Zend/zend_gc.c was not found in source tree]
#2 0x0000000000697645 in zend_deactivate () at /build/buildd/php5-5.3.2/Zend/zend.c:972
  [Error: /build/buildd/php5-5.3.2/Zend/zend.c was not found in source tree]
#3 0x0000000000643185 in php_request_shutdown (dummy=0x23bbc58) at /build/buildd/php5-5.3.2/main/main.c:1649
  [Error: /build/buildd/php5-5.3.2/main/main.c was not found in source tree]
#4 0x0000000000724ba0 in main (argc=32767, argv=0x0) at /build/buildd/php5-5.3.2/sapi/cgi/cgi_main.c:2160
  [Error: /build/buildd/php5-5.3.2/sapi/cgi/cgi_main.c was not found in source tree]