From: wolf at isp dot uni-luebeck dot de Operating system: opensuse 11.1 PHP version: 5.2.9 PHP Bug Type: Reproducible crash Bug description: Segmentation fault: using Calendar Application http://www.k5n.us/webcalendar.ph
Description: ------------ Webserver Segmentation fault using Calendar Application form http://www.k5n.us/webcalendar.php User with large calendar data is not able to log in anymore. Calendars with less data works fine This error occurs with PHP version 5.2.9 PHP version 5.2.6 works fine Both version are compiled on the same machine with following compile options /configure --with-mysql=/usr/local/mysql --with-openssl --enable-discard-path --prefix=/usr/local/php5_modul --with-config-file-path=/usr/local/php5_modul/lib --with-apxs2=/usr/local/apache2/bin/apxs --enable-exif --with-iconv --enable-mbstring=all --enable-mbregex --with-zlib --enable-soap --with-gd --with-gettext Actual result: -------------- gdb ./httpd GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs Copyright (C) 2008 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 "i586-suse-linux". For bug reporting instructions, please see: <http://bugs.opensuse.org/>... (gdb) run -X -d /usr/local/apache2 Starting program: /usr/local/apache2/bin/httpd -X -d /usr/local/apache2 [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0xb77f3354 in _zend_hash_quick_add_or_update (ht=0x970958c, arKey=0x8351360 "item", nKeyLength=5, h=262956212, pData=0xbf6520b0, nDataSize=4, pDest=0xbf6520f0, flag=1) at /usr/local/src/php-5.2.9/Zend/zend_hash.c:312 312 p = (Bucket *) pemalloc(sizeof(Bucket) - 1 + nKeyLength, ht->persistent); (gdb) bt #0 0xb77f3354 in _zend_hash_quick_add_or_update (ht=0x970958c, arKey=0x8351360 "item", nKeyLength=5, h=262956212, pData=0xbf6520b0, nDataSize=4, pDest=0xbf6520f0, flag=1) at /usr/local/src/php-5.2.9/Zend/zend_hash.c:312 #1 0xb784cd1e in ZEND_RECV_SPEC_HANDLER (execute_data=0xbf652720) at /usr/local/src/php-5.2.9/Zend/zend_execute.c:160 #2 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #3 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf652e60) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #4 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #5 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf6535a0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #6 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #7 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf653ce0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #8 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #9 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf654420) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #10 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #11 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf654b60) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #12 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #13 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf6552a0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #14 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #15 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf6559e0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #16 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #17 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf656120) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #18 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #19 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf656860) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #20 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #21 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf656fa0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #22 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #23 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf6576e0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #24 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #25 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf657e20) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #26 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #27 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf658560) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #28 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #29 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf658ca0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #30 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #31 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf6593e0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #32 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #33 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf659b20) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #34 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #35 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf65a260) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #36 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #37 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf65a9a0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #38 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #39 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf65b0e0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #40 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #41 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf65b820) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #42 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #43 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf65bf60) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #44 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #45 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf65c6a0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #46 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #47 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf65cde0) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #48 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #49 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf65d520) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #50 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 #51 0xb781a856 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf65dc60) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:234 #52 0xb7808ad0 in execute (op_array=0x8539100) at /usr/local/src/php-5.2.9/Zend/zend_vm_execute.h:92 -- Edit bug report at http://bugs.php.net/?id=47692&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47692&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47692&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47692&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47692&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47692&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47692&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47692&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47692&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47692&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47692&r=support Expected behavior: http://bugs.php.net/fix.php?id=47692&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47692&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47692&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47692&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47692&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47692&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47692&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47692&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47692&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47692&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47692&r=mysqlcfg