[php-maint] Bug#609355: php5-cgi: Program terminated with signal 11, Segmentation fault

Ralf Hildebrandt ralf.hildebrandt at charite.de
Sat Jan 8 21:15:38 UTC 2011


Package: php5-cgi
Version: 5.2.6.dfsg.1-1+lenny9
Severity: normal


php5-cgi (used as fastcgi from Apache2) crashed. I created a backtrace
using the core file:

Core was generated by /usr/bin/php5-cgi'.
Program terminated with signal 11, Segmentation fault.
[New process 13958]
#0  0x082dda5f in _zend_hash_add_or_update (ht=0xbb919a4, arKey=0xa89bdbc "REMOTE_ADDR", nKeyLength=<error type>, 
    pData=0xbfc836c4, nDataSize=<error type>, pDest=0xbfc836c0, flag=1) at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_hash.c:402
402	/tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_hash.c: No such file or directory.
   in /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_hash.c
(gdb) bt
#0  0x082dda5f in _zend_hash_add_or_update (ht=0xbb919a4, arKey=0xa89bdbc "REMOTE_ADDR", nKeyLength=<error type>, 
    pData=0xbfc836c4, nDataSize=<error type>, pDest=0xbfc836c0, flag=1) at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_hash.c:402
#1  0x082954d5 in php_register_variable_ex (var=0xa89bdbc "REMOTE_ADDR", val=0xbfc83728, track_vars_array=0xa898824)
    at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_hash.h:340
#2  0x080fc59a in php_sapi_filter (arg=4, var=0xb65d2c3b "REMOTE_ADDR", val=0xbfc837ac, val_len=<error type>, new_val_len=0x0) 
    at /tmp/buildd/php5-5.2.6.dfsg.1/ext/filter/filter.c:421
#3  0xb65c4787 in suhosin_input_filter_wrapper () from /usr/lib/php5/20060613+lfs/suhosin.so
#4  0x0828eeca in sapi_getenv (name=0xb65d2c3b "REMOTE_ADDR", name_len=<error type>) at /tmp/buildd/php5-5.2.6.dfsg.1/main/SAPI.c:950
#5  0xb65c7c21 in suhosin_log () from /usr/lib/php5/20060613+lfs/suhosin.so
#6  0x082dadf3 in zend_hash_check_destructor (pDestructor=0xbb33df0) at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_hash.c:305
#7  0x082db21f in zend_hash_destroy (ht=0xa4fc610) at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_hash.c:710
#8  0x082ed3c3 in zend_object_std_dtor (object=0x108739f0) at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_objects.c:45
#9  0x082ed402 in zend_objects_free_object_storage (object=0x108739f0) at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_objects.c:122
#10 0x082f0540 in zend_objects_store_free_object_storage (objects=0x8551948) at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_objects_API.c:89
#11 0x082c50f3 in shutdown_executor () at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend_execute_API.c:299
#12 0x082d061f in zend_deactivate () at /tmp/buildd/php5-5.2.6.dfsg.1/Zend/zend.c:941
#13 0x08286798 in php_request_shutdown (dummy=0x0) at /tmp/buildd/php5-5.2.6.dfsg.1/main/main.c:1494
#14 0x0834ac15 in main (argc=1, argv=0xbfc8a024) at /tmp/buildd/php5-5.2.6.dfsg.1/sapi/cgi/cgi_main.c:2017

-- System Information:
Debian Release: 5.0.7
  APT prefers stable
  APT policy: (990, 'stable'), (650, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-cgi depends on:
ii  libbz2-1.0      1.0.5-1+lenny1           high-quality block-sorting file co
ii  libc6           2.7-18lenny6             GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libdb4.6        4.6.21-11                Berkeley v4.6 Database Libraries [
ii  libkrb53        1.6.dfsg.4~beta1-5lenny6 MIT Kerberos runtime libraries
ii  libmagic1       4.26-1                   File type determination library us
ii  libpcre3        7.6-2.1                  Perl 5 Compatible Regular Expressi
ii  libssl0.9.8     0.9.8o-4                 SSL shared libraries
ii  libxml2         2.6.32.dfsg-5+lenny3     GNOME XML library
ii  mime-support    3.44-1                   MIME files 'mime.types' & 'mailcap
ii  php5-common     5.2.6.dfsg.1-1+lenny9    Common files for packages built fr
ii  tzdata          2010o-0lenny1            time zone and daylight-saving time
ii  ucf             3.0016                   Update Configuration File: preserv
ii  zlib1g          1:1.2.3.3.dfsg-12        compression library - runtime

php5-cgi recommends no packages.

Versions of packages php5-cgi suggests:
ii  php-pear           5.2.6.dfsg.1-1+lenny9 PEAR - PHP Extension and Applicati

-- debconf information excluded





More information about the pkg-php-maint mailing list