[php-maint] Bug#628054: php5-cli: Segfault in ZEND_FE_FETCH_SPEC_VAR_HANDLER

Samuel Vandamme samuel at sava.be
Thu May 26 18:09:21 UTC 2011


Package: php5-cli
Version: 5.3.3-7+squeeze1
Severity: important

A script that used to run fine two days ago now crashes with a Segfault. Nothing changed in sourcecode and I there was no upgrade.

Couple of lines from backtrace

Core was generated by `php console.php retrieve all'.
Program terminated with signal 11, Segmentation fault.
#0  ZEND_FE_FETCH_SPEC_VAR_HANDLER (execute_data=0x7fba6fc4c678) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h:381
381 /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h: No such file or directory.
 in /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h
(gdb) bt
#0  ZEND_FE_FETCH_SPEC_VAR_HANDLER (execute_data=0x7fba6fc4c678) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h:381
#1  0x00000000006ab000 in execute (op_array=0x1da4608) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_vm_execute.h:107
#2  0x00007fba70907116 in ?? () from /usr/lib/php5/20090626/suhosin.so
#3  0x00000000006d3a76 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fba6fc4c588) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_vm_execute.h:340
#4  0x00000000006ab000 in execute (op_array=0x1d9fcc8) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_vm_execute.h:107
#5  0x00007fba70907116 in ?? () from /usr/lib/php5/20090626/suhosin.so
#6  0x0000000000678b74 in zend_call_function (fci=0x7fff3bce12a0, fci_cache=0x0) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_execute_API.c:963
#7  0x0000000000699cc7 in zend_call_method (object_pp=0x7fff3bce13c8, obj_ce=0x1d99f08, fn_proxy=0x7fff3bce13d8, function_name=0xa77a36 "__destruct", function_name_len=1003358864, retval_ptr_ptr=0x0, param_count=6965302, arg1=0x0,
    arg2=0x0) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_interfaces.c:97
#8  0x00000000006a4836 in zend_objects_destroy_object (object=0x1d61498, handle=1003361224) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_objects.c:113
#9  0x00000000006a0c5e in gc_collect_cycles () at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_gc.c:681
#10 0x00000000006a1102 in gc_zobj_possible_root (zv=0x5901710) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_gc.c:221
#11 0x00000000006a9f9e in zend_leave_helper_SPEC (execute_data=0x7fba6fc4c400) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_vm_execute.h:160
#12 0x00000000006ab000 in execute (op_array=0x1d69568) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_vm_execute.h:107
#13 0x00007fba70907116 in ?? () from /usr/lib/php5/20090626/suhosin.so
#14 0x00000000006d3a76 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fba6fc4c030) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_vm_execute.h:340
#15 0x00000000006ab000 in execute (op_array=0x1da8a40) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_vm_execute.h:107
#16 0x00007fba70907116 in ?? () from /usr/lib/php5/20090626/suhosin.so
#17 0x00000000006d3a76 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fba6fc4bb10) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_vm_execute.h:340
#18 0x00000000006ab000 in execute (op_array=0x1d9fe60) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend_vm_execute.h:107

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-cli depends on:
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libcomerr2              1.41.12-2        common error description library
ii  libdb4.8                4.8.30-2         Berkeley v4.8 Database Libraries [
ii  libgssapi-krb5-2        1.8.3+dfsg-4     MIT Kerberos runtime libraries - k
ii  libk5crypto3            1.8.3+dfsg-4     MIT Kerberos runtime libraries - C
ii  libkrb5-3               1.8.3+dfsg-4     MIT Kerberos runtime libraries
ii  libmagic1               5.04-5           File type determination library us
ii  libonig2                5.9.1-1          Oniguruma regular expressions libr
ii  libpcre3                8.02-1.1         Perl 5 Compatible Regular Expressi
ii  libqdbm14               1.8.77-4         QDBM Database Libraries [runtime]
ii  libssl0.9.8             0.9.8o-4squeeze1 SSL shared libraries
ii  libxml2                 2.7.8.dfsg-2     GNOME XML library
ii  mime-support            3.48-1           MIME files 'mime.types' & 'mailcap
ii  php5-common             5.3.3-7+squeeze1 Common files for packages built fr
ii  tzdata                  2011c-0squeeze1  time zone and daylight-saving time
ii  ucf                     3.0025+nmu1      Update Configuration File: preserv
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

php5-cli recommends no packages.

Versions of packages php5-cli suggests:
pn  php-pear                      <none>     (no description available)

-- no debconf information





More information about the pkg-php-maint mailing list