ID: 47692 Updated by: j...@php.net Reported By: wolf at isp dot uni-luebeck dot de -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: opensuse 11.1 PHP Version: 5.2.9 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2009-03-17 15:15:54] wolf at isp dot uni-luebeck dot de 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 this bug report at http://bugs.php.net/?id=47692&edit=1