Skip to content

Investigate MRPhase segmentation fault on test #35

@guilhermeblanco

Description

@guilhermeblanco

As reported in make test.

root@riak:~/php_riak# cat tests/mrphase.diff
001+ done!Segmentation fault
001- done!
root@riak:~/php_riak# gdb php
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/php...Reading symbols from /usr/lib/debug/usr/bin/php5...done.
done.
(gdb) run -n -c '/root/php_riak/tmp-php.ini'  -d "output_handler=" -d "open_basedir=" -d "safe_mode=0" -d "disable_functions=" -d "output_buffering=Off" -d "error_reporting=32767" -d "display_errors=1" -d "display_startup_errors=1" -d "log_errors=0" -d "html_errors=0" -d "track_errors=1" -d "report_memleaks=1" -d "report_zend_debug=0" -d "docref_root=" -d "docref_ext=.html" -d "error_prepend_string=" -d "error_append_string=" -d "auto_prepend_file=" -d "auto_append_file=" -d "magic_quotes_runtime=0" -d "ignore_repeated_errors=0" -d "precision=14" -d "unicode.runtime_encoding=ISO-8859-1" -d "unicode.script_encoding=UTF-8" -d "unicode.output_encoding=UTF-8" -d "unicode.from_error_mode=U_INVALID_SUBSTITUTE" -d "extension_dir=/root/php_riak/modules/" -d "extension=riak.so" -d "session.auto_start=0" -d "zlib.output_compression=Off" -d "mbstring.func_overload=0" -f "/root/php_riak/tests/mrphase.php"
Starting program: /usr/bin/php -n -c '/root/php_riak/tmp-php.ini'  -d "output_handler=" -d "open_basedir=" -d "safe_mode=0" -d "disable_functions=" -d "output_buffering=Off" -d "error_reporting=32767" -d "display_errors=1" -d "display_startup_errors=1" -d "log_errors=0" -d "html_errors=0" -d "track_errors=1" -d "report_memleaks=1" -d "report_zend_debug=0" -d "docref_root=" -d "docref_ext=.html" -d "error_prepend_string=" -d "error_append_string=" -d "auto_prepend_file=" -d "auto_append_file=" -d "magic_quotes_runtime=0" -d "ignore_repeated_errors=0" -d "precision=14" -d "unicode.runtime_encoding=ISO-8859-1" -d "unicode.script_encoding=UTF-8" -d "unicode.output_encoding=UTF-8" -d "unicode.from_error_mode=U_INVALID_SUBSTITUTE" -d "extension_dir=/root/php_riak/modules/" -d "extension=riak.so" -d "session.auto_start=0" -d "zlib.output_compression=Off" -d "mbstring.func_overload=0" -f "/root/php_riak/tests/mrphase.php"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
done!
Program received signal SIGSEGV, Segmentation fault.
zval_mark_grey (pz=0xff0b68) at /build/buildd/php5-5.3.10/Zend/zend_gc.c:368
368 /build/buildd/php5-5.3.10/Zend/zend_gc.c: No such file or directory.
(gdb) bt
#0  zval_mark_grey (pz=0xff0b68) at /build/buildd/php5-5.3.10/Zend/zend_gc.c:368
#1  0x00000000006b82b5 in gc_collect_cycles () at /build/buildd/php5-5.3.10/Zend/zend_gc.c:435
#2  0x000000000069a71d in zend_deactivate () at /build/buildd/php5-5.3.10/Zend/zend.c:973
#3  0x0000000000647390 in php_request_shutdown (dummy=0xff0b68) at /build/buildd/php5-5.3.10/main/main.c:1664
#4  0x000000000042baa5 in main (argc=32767, argv=0x7fffffffe91b) at /build/buildd/php5-5.3.10/sapi/cli/php_cli.c:1367

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions