[Bug 590255] Re: php5-cgi crashed with SIGSEGV in zval_mark_grey()

stuecki 590255 at bugs.launchpad.net
Tue Jun 21 21:54:28 UTC 2011


*** This bug is a duplicate of bug 557924 ***
    https://bugs.launchpad.net/bugs/557924

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]

-- 
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/590255

Title:
  php5-cgi crashed with SIGSEGV in zval_mark_grey()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/590255/+subscriptions



More information about the Ubuntu-server-bugs mailing list