From: Operating system: Linux PHP version: 5.4.0 Package: DBM/DBA related Bug Type: Bug Bug description:Segfault occurs in simple flatfile test
Description: ------------ I have a simple test case that dba_opens a flatfile once which returns a resource descriptor, inserts a key and value into that flatfile, opens the same flatfile again returning a second resource, closes the second resource, and again reads the a key from the first descriptor. This causes a seg fault. Test script: --------------- Note, this test case requires the dba extension to be installed. <?php $handler = "flatfile"; $db_filename = $db_file = dirname(__FILE__) .'/test0.dbm'; @unlink($db_filename); @unlink($db_filename.'.lck'); echo "open ./test.inc as a flatfile db, and insert a key\n"; $db_file1 = dba_popen($db_filename, 'n', $handler); dba_insert("key1", "This is a test insert 1", $db_file1); echo "open a second resource on the same file\n"; $db_file2 = dba_popen($db_filename, 'n', $handler); echo "close the second resource\n"; dba_close($db_file2); echo "query the key value again from the first resource, after closing second resource\n"; echo dba_fetch("key1", $db_file1), "\n"; ?> Expected result: ---------------- I expect that instead of seg faulting on the final line, that it would instead print: This is a test insert 1 Actual result: -------------- (gdb) bt #0 flatfile_findkey (dba=0x0, key_datum=...) at /home/corey/php-5.4.0/ext/dba/libflatfile/flatfile.c:172 #1 0x00000000004f05dd in flatfile_fetch (dba=0x0, key_datum=...) at /home/corey/php-5.4.0/ext/dba/libflatfile/flatfile.c:90 #2 0x00000000004ef0fe in dba_fetch_flatfile (info=<value optimized out>, key=0x7fcd5cb42a10 "key1", keylen=4, skip=<value optimized out>, newlen=0x7fff6396689c) at /home/corey/php-5.4.0/ext/dba/dba_flatfile.c:70 #3 0x00000000004ed1fb in zif_dba_fetch (ht=2, return_value=0x7fcd5cc57cb0, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>, return_value_used=<value optimized out>) at /home/corey/php-5.4.0/ext/dba/dba.c:1020 #4 0x0000000000722b83 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /home/corey/php-5.4.0/Zend/zend_vm_execute.h:642 #5 0x00000000006dd2c5 in execute (op_array=0x7fcd5cc560a8) at /home/corey/php-5.4.0/Zend/zend_vm_execute.h:410 #6 0x000000000067f585 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/corey/php-5.4.0/Zend/zend.c:1272 #7 0x0000000000622109 in php_execute_script (primary_file=0x7fff63968f70) at /home/corey/php-5.4.0/main/main.c:2473 #8 0x00000000007253ee in do_cli (argc=2, argv=0x7fff63969368) at /home/corey/php-5.4.0/sapi/cli/php_cli.c:983 #9 0x0000000000725c9f in main (argc=2, argv=0x7fff63969368) at /home/corey/php-5.4.0/sapi/cli/php_cli.c:1356 Here's the valgrind memcheck log: ==18497== Memcheck, a memory error detector ==18497== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==18497== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==18497== Command: /usr/bin/php new.php ==18497== Parent PID: 17376 ==18497== ==18497== Invalid read of size 8 ==18497== at 0xB2E009B: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0x5216d88 is 56 bytes inside a block of size 88 free'd ==18497== at 0x4A05187: free (vg_replace_malloc.c:325) ==18497== by 0x5C16CD: ??? (in /usr/bin/php) ==18497== by 0x5BE0D4: ??? (in /usr/bin/php) ==18497== by 0x5BF93B: zend_hash_apply_with_argument (in /usr/bin/php) ==18497== by 0x5C175D: ??? (in /usr/bin/php) ==18497== by 0x5BF5AB: zend_hash_del_key_or_index (in /usr/bin/php) ==18497== by 0x5C1888: _zend_list_delete (in /usr/bin/php) ==18497== by 0xB2DF3D3: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== ==18497== Invalid read of size 8 ==18497== at 0xB2E2376: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0x5216d50 is 0 bytes inside a block of size 88 free'd ==18497== at 0x4A05187: free (vg_replace_malloc.c:325) ==18497== by 0x5C16CD: ??? (in /usr/bin/php) ==18497== by 0x5BE0D4: ??? (in /usr/bin/php) ==18497== by 0x5BF93B: zend_hash_apply_with_argument (in /usr/bin/php) ==18497== by 0x5C175D: ??? (in /usr/bin/php) ==18497== by 0x5BF5AB: zend_hash_del_key_or_index (in /usr/bin/php) ==18497== by 0x5C1888: _zend_list_delete (in /usr/bin/php) ==18497== by 0xB2DF3D3: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== ==18497== Invalid read of size 8 ==18497== at 0xB2E379A: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E390D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E238D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0x5217470 is 16 bytes inside a block of size 48 free'd ==18497== at 0x4A05187: free (vg_replace_malloc.c:325) ==18497== by 0xB2DF40F: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5C16CD: ??? (in /usr/bin/php) ==18497== by 0x5BE0D4: ??? (in /usr/bin/php) ==18497== by 0x5BF93B: zend_hash_apply_with_argument (in /usr/bin/php) ==18497== by 0x5C175D: ??? (in /usr/bin/php) ==18497== by 0x5BF5AB: zend_hash_del_key_or_index (in /usr/bin/php) ==18497== by 0x5C1888: _zend_list_delete (in /usr/bin/php) ==18497== by 0xB2DF3D3: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== ==18497== Invalid read of size 4 ==18497== at 0x5743E9: _php_stream_seek (in /usr/bin/php) ==18497== by 0xB2E37B2: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E390D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E238D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0x5217188 is 120 bytes inside a block of size 216 free'd ==18497== at 0x4A05187: free (vg_replace_malloc.c:325) ==18497== by 0x5760FC: _php_stream_free (in /usr/bin/php) ==18497== by 0xB2DF465: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5C16CD: ??? (in /usr/bin/php) ==18497== by 0x5BE0D4: ??? (in /usr/bin/php) ==18497== by 0x5BF93B: zend_hash_apply_with_argument (in /usr/bin/php) ==18497== by 0x5C175D: ??? (in /usr/bin/php) ==18497== by 0x5BF5AB: zend_hash_del_key_or_index (in /usr/bin/php) ==18497== by 0x5C1888: _zend_list_delete (in /usr/bin/php) ==18497== by 0xB2DF3D3: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== ==18497== Invalid read of size 4 ==18497== at 0x5743F3: _php_stream_seek (in /usr/bin/php) ==18497== by 0xB2E37B2: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E390D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E238D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0x52171a8 is 152 bytes inside a block of size 216 free'd ==18497== at 0x4A05187: free (vg_replace_malloc.c:325) ==18497== by 0x5760FC: _php_stream_free (in /usr/bin/php) ==18497== by 0xB2DF465: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5C16CD: ??? (in /usr/bin/php) ==18497== by 0x5BE0D4: ??? (in /usr/bin/php) ==18497== by 0x5BF93B: zend_hash_apply_with_argument (in /usr/bin/php) ==18497== by 0x5C175D: ??? (in /usr/bin/php) ==18497== by 0x5BF5AB: zend_hash_del_key_or_index (in /usr/bin/php) ==18497== by 0x5C1888: _zend_list_delete (in /usr/bin/php) ==18497== by 0xB2DF3D3: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== ==18497== Invalid read of size 8 ==18497== at 0x574407: _php_stream_seek (in /usr/bin/php) ==18497== by 0xB2E37B2: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E390D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E238D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0x52171b0 is 160 bytes inside a block of size 216 free'd ==18497== at 0x4A05187: free (vg_replace_malloc.c:325) ==18497== by 0x5760FC: _php_stream_free (in /usr/bin/php) ==18497== by 0xB2DF465: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5C16CD: ??? (in /usr/bin/php) ==18497== by 0x5BE0D4: ??? (in /usr/bin/php) ==18497== by 0x5BF93B: zend_hash_apply_with_argument (in /usr/bin/php) ==18497== by 0x5C175D: ??? (in /usr/bin/php) ==18497== by 0x5BF5AB: zend_hash_del_key_or_index (in /usr/bin/php) ==18497== by 0x5C1888: _zend_list_delete (in /usr/bin/php) ==18497== by 0xB2DF3D3: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== ==18497== Invalid read of size 8 ==18497== at 0x574430: _php_stream_seek (in /usr/bin/php) ==18497== by 0xB2E37B2: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E390D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E238D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0x5217110 is 0 bytes inside a block of size 216 free'd ==18497== at 0x4A05187: free (vg_replace_malloc.c:325) ==18497== by 0x5760FC: _php_stream_free (in /usr/bin/php) ==18497== by 0xB2DF465: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5C16CD: ??? (in /usr/bin/php) ==18497== by 0x5BE0D4: ??? (in /usr/bin/php) ==18497== by 0x5BF93B: zend_hash_apply_with_argument (in /usr/bin/php) ==18497== by 0x5C175D: ??? (in /usr/bin/php) ==18497== by 0x5BF5AB: zend_hash_del_key_or_index (in /usr/bin/php) ==18497== by 0x5C1888: _zend_list_delete (in /usr/bin/php) ==18497== by 0xB2DF3D3: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== ==18497== Invalid read of size 8 ==18497== at 0x5744C8: _php_stream_seek (in /usr/bin/php) ==18497== by 0xB2E37B2: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E390D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E238D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0x5217138 is 40 bytes inside a block of size 216 free'd ==18497== at 0x4A05187: free (vg_replace_malloc.c:325) ==18497== by 0x5760FC: _php_stream_free (in /usr/bin/php) ==18497== by 0xB2DF465: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5C16CD: ??? (in /usr/bin/php) ==18497== by 0x5BE0D4: ??? (in /usr/bin/php) ==18497== by 0x5BF93B: zend_hash_apply_with_argument (in /usr/bin/php) ==18497== by 0x5C175D: ??? (in /usr/bin/php) ==18497== by 0x5BF5AB: zend_hash_del_key_or_index (in /usr/bin/php) ==18497== by 0x5C1888: _zend_list_delete (in /usr/bin/php) ==18497== by 0xB2DF3D3: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== ==18497== Invalid read of size 8 ==18497== at 0x579E86: ??? (in /usr/bin/php) ==18497== by 0x574502: _php_stream_seek (in /usr/bin/php) ==18497== by 0xB2E37B2: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E390D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E238D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0x5217118 is 8 bytes inside a block of size 216 free'd ==18497== at 0x4A05187: free (vg_replace_malloc.c:325) ==18497== by 0x5760FC: _php_stream_free (in /usr/bin/php) ==18497== by 0xB2DF465: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5C16CD: ??? (in /usr/bin/php) ==18497== by 0x5BE0D4: ??? (in /usr/bin/php) ==18497== by 0x5BF93B: zend_hash_apply_with_argument (in /usr/bin/php) ==18497== by 0x5C175D: ??? (in /usr/bin/php) ==18497== by 0x5BF5AB: zend_hash_del_key_or_index (in /usr/bin/php) ==18497== by 0x5C1888: _zend_list_delete (in /usr/bin/php) ==18497== by 0xB2DF3D3: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== ==18497== Invalid read of size 1 ==18497== at 0x579E8A: ??? (in /usr/bin/php) ==18497== by 0x574502: _php_stream_seek (in /usr/bin/php) ==18497== by 0xB2E37B2: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E390D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E238D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== Address 0xc is not stack'd, malloc'd or (recently) free'd ==18497== ==18497== ==18497== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==18497== Access not within mapped region at address 0xC ==18497== at 0x579E8A: ??? (in /usr/bin/php) ==18497== by 0x574502: _php_stream_seek (in /usr/bin/php) ==18497== by 0xB2E37B2: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E390D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E238D: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0xB2E00BF: ??? (in /usr/lib64/php/modules/dba.so) ==18497== by 0x5FDE3C: ??? (in /usr/bin/php) ==18497== by 0x5D6793: execute (in /usr/bin/php) ==18497== by 0x5B3965: zend_execute_scripts (in /usr/bin/php) ==18497== by 0x5603F2: php_execute_script (in /usr/bin/php) ==18497== by 0x64688C: ??? (in /usr/bin/php) ==18497== by 0x3C0D41EE5C: (below main) (in /lib64/libc-2.13.so) ==18497== If you believe this happened as a result of a stack ==18497== overflow in your program's main thread (unlikely but ==18497== possible), you can try to increase the size of the ==18497== main thread stack using the --main-stacksize= flag. ==18497== The main thread stack size used in this run was 8388608. ==18497== ==18497== HEAP SUMMARY: ==18497== in use at exit: 2,542,594 bytes in 14,407 blocks ==18497== total heap usage: 15,583 allocs, 1,176 frees, 2,957,462 bytes allocated ==18497== ==18497== LEAK SUMMARY: ==18497== definitely lost: 0 bytes in 0 blocks ==18497== indirectly lost: 0 bytes in 0 blocks ==18497== possibly lost: 269,497 bytes in 36 blocks ==18497== still reachable: 2,273,097 bytes in 14,371 blocks ==18497== suppressed: 0 bytes in 0 blocks ==18497== Rerun with --leak-check=full to see details of leaked memory ==18497== ==18497== For counts of detected and suppressed errors, rerun with: -v ==18497== ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 46 from 6) -- Edit bug report at https://bugs.php.net/bug.php?id=61390&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61390&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61390&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61390&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61390&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61390&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61390&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61390&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61390&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61390&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61390&r=support Expected behavior: https://bugs.php.net/fix.php?id=61390&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61390&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61390&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61390&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61390&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61390&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61390&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61390&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61390&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61390&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61390&r=mysqlcfg