[Bug 586898] Re: php5 cli segmentation fault when executing script

Jan K. jan-launchpad at kantert.net
Fri Jun 11 14:44:47 BST 2010


We got a similar problem without mysql in lucid without using mysql.
Happens in Apache at a strange point. Only happens when using memcache,
when we try to clean some objects:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3d9c980 in gc_remove_zval_from_buffer (
    zv=0x7fffffffb7c0)
    at /build/buildd/php5-5.3.2/Zend/zend_gc.h:189
189	/build/buildd/php5-5.3.2/Zend/zend_gc.h: No such file or directory.
	in /build/buildd/php5-5.3.2/Zend/zend_gc.h
(gdb) bt
#0  0x00007ffff3d9c980 in gc_remove_zval_from_buffer (
    zv=0x7fffffffb7c0)
    at /build/buildd/php5-5.3.2/Zend/zend_gc.h:189
#1  0x00007ffff3d72a05 in _zval_ptr_dtor (
    zval_ptr=0x7ffffa79ba88)
    at /build/buildd/php5-5.3.2/Zend/zend_execute_API.c:438
#2  0x00007ffff3d8b988 in zend_hash_destroy (
    ht=0x7ffff8e12de8)
    at /build/buildd/php5-5.3.2/Zend/zend_hash.c:726
#3  0x00007ffff3d7e98f in _zval_dtor_func (
    zvalue=0x7ffff8e234b8)
    at /build/buildd/php5-5.3.2/Zend/zend_variables.c:46
#4  0x00007ffff3d729bd in _zval_ptr_dtor (
    zval_ptr=0x7fffffffbae8)
    at /build/buildd/php5-5.3.2/Zend/zend_variables.h:35
#5  0x00007ffff3da3778 in zend_std_write_property (
    object=0x7ffffa79cb70, member=0x7ffffa79cb70, 
    value=0x7ffff893da30)
    at /build/buildd/php5-5.3.2/Zend/zend_object_handlers.c:435
#6  0x00007ffff3df2c4a in zend_assign_to_object (
    result=0x7ffff8e21b98, object_ptr=0x7ffff4476b20, 
    property_name=0x7ffff8e21be0, value_op=0x7ffff8e21c30, 
    Ts=0x7ffff7e85898, opcode=-92885552)
    at /build/buildd/php5-5.3.2/Zend/zend_execute.c:595
#7  0x00007ffff3df35dd in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_HANDLER (execute_data=0x7ffff7e857f0)
    at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:17617
#8  0x00007ffff3da6f60 in execute (op_array=0x7ffff8e1d5e0)
    at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#9  0x00007ffff3d7ec8d in zend_execute_scripts (
    type=4194336, retval=0x7fffffffbc80, file_count=3)
    at /build/buildd/php5-5.3.2/Zend/zend.c:1266
#10 0x00007ffff3d2a8f8 in php_execute_script (
    primary_file=0x0)
    at /build/buildd/php5-5.3.2/main/main.c:2288
#11 0x00007ffff3e0bf2d in php_handler (r=0x7ffff3e0bf2d)
    at /build/buildd/php5-5.3.2/sapi/apache2handler/sapi_apache2.c:674
#12 0x00007ffff7fd6140 in ap_run_handler (r=0x7ffff86c3fa0)
    at /build/buildd/apache2-2.2.14/server/config.c:159
#13 0x00007ffff7fd9aa8 in ap_invoke_handler (
    r=0x7ffff86c3fa0)
    at /build/buildd/apache2-2.2.14/server/config.c:373
#14 0x00007ffff7fe749c in ap_internal_redirect (
    new_uri=<value optimized out>, r=<value optimized out>)
    at /build/buildd/apache2-2.2.14/modules/http/http_request.c:501
#15 0x00007ffff13c7c95 in ?? ()
   from /usr/lib/apache2/modules/mod_rewrite.so
#16 0x00007ffff7fd6140 in ap_run_handler (r=0x7ffff86adba8)
    at /build/buildd/apache2-2.2.14/server/config.c:159
#17 0x00007ffff7fd9aa8 in ap_invoke_handler (
    r=0x7ffff86adba8)
    at /build/buildd/apache2-2.2.14/server/config.c:373
#18 0x00007ffff7fe7678 in ap_process_request (
    r=0x7ffff86adba8)
    at /build/buildd/apache2-2.2.14/modules/http/http_request.c:282
#19 0x00007ffff7fe4528 in ap_process_http_connection (
    c=0x7ffff86a79d8)
    at /build/buildd/apache2-2.2.14/modules/http/http_core.c:190
#20 0x00007ffff7fddcf8 in ap_run_process_connection (
    c=0x7ffff86a79d8)
    at /build/buildd/apache2-2.2.14/server/connection.c:43
#21 0x00007ffff7fec037 in child_main (
    child_num_arg=<value optimized out>)
    at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:662
#22 0x00007ffff7fec306 in make_child (s=0x7ffff8214938, 
    slot=0)
    at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:702
#23 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
#24 0x00007ffff7fc2350 in main (argc=2, argv=0x7fffffffe6f8)
    at /build/buildd/apache2-2.2.14/server/main.c:742

-- 
php5 cli segmentation fault when executing script
https://bugs.launchpad.net/bugs/586898
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list