PHP  
 PHP_5_6
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/dba/tests/dba_db4_018.phpt ('DBA DB4 with persistent connections')

Script

1: <?php
2:
3: $handler 
"db4";
4: require_once(
dirname(__FILE__) .'/test.inc');
5: echo 
"database handler: $handler\n";
6:
7: echo 
"Test 1\n";
8:
$db_file1 dba_popen($db_filename'n''flatfile');
9:
dba_insert("key1""This is a test insert 1"$db_file1);
10: echo 
dba_fetch("key1"$db_file1), "\n";
11:
12:
13: echo 
"Test 2\n";
14:
$db_file2 dba_popen($db_filename'n''flatfile');
15: if (
$db_file1 === $db_file2) {
16:     echo 
"resources are the same\n";
17: } else {
18:     echo 
"resources are different\n";
19: }
20:
21:
22: echo 
"Test 3 - fetch both rows from second resource\n";
23:
dba_insert("key2""This is a test insert 2"$db_file2);
24: echo 
dba_fetch("key1"$db_file2), "\n";
25: echo 
dba_fetch("key2"$db_file2), "\n";
26:
27:
28: echo 
"Test 4 - fetch both rows from first resource\n";
29: echo 
dba_fetch("key1"$db_file1), "\n";
30: echo 
dba_fetch("key2"$db_file1), "\n";
31:
32: echo 
"Test 5 - close 2nd resource\n";
33:
dba_close($db_file2);
34:
var_dump($db_file1);
35:
var_dump($db_file2);
36:
37: echo 
"Test 6 - query after closing 2nd resource\n";
38: echo 
dba_fetch("key1"$db_file1), "\n";
39: echo 
dba_fetch("key2"$db_file1), "\n";
40:
41:
?>
42:
===DONE===
43:

Report

==12606== Invalid read of size 8
==12606==    at 0x706D6B: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==    by 0x1077C03: main (php_cli.c:1378)
==12606==  Address 0x153cdac8 is 56 bytes inside a block of size 88 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0x70307B: dba_close (dba.c:436)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606== 
==12606== Invalid read of size 8
==12606==    at 0x70AF38: dba_fetch_flatfile (dba_flatfile.c:67)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==    by 0x1077C03: main (php_cli.c:1378)
==12606==  Address 0x153cda90 is 0 bytes inside a block of size 88 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0x70307B: dba_close (dba.c:436)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606== 
==12606== Invalid read of size 8
==12606==    at 0x70E19E: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==    by 0x1077C03: main (php_cli.c:1378)
==12606==  Address 0x153ce360 is 16 bytes inside a block of size 48 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0x70AEB9: dba_close_flatfile (dba_flatfile.c:59)
==12606==    by 0x702E2A: dba_close (dba.c:414)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606== 
==12606== Invalid read of size 4
==12606==    at 0xE086CB: _php_stream_seek (streams.c:1275)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==  Address 0x153cded8 is 120 bytes inside a block of size 224 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0xE06020: _php_stream_free (streams.c:557)
==12606==    by 0x702FA1: dba_close (dba.c:428)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606== 
==12606== Invalid read of size 4
==12606==    at 0xE08702: _php_stream_seek (streams.c:1281)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==  Address 0x153cdef8 is 152 bytes inside a block of size 224 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0xE06020: _php_stream_free (streams.c:557)
==12606==    by 0x702FA1: dba_close (dba.c:428)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606== 
==12606== Invalid read of size 8
==12606==    at 0xE08833: _php_stream_seek (streams.c:1292)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==  Address 0x153cdf00 is 160 bytes inside a block of size 224 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0xE06020: _php_stream_free (streams.c:557)
==12606==    by 0x702FA1: dba_close (dba.c:428)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606== 
==12606== Invalid read of size 8
==12606==    at 0xE0891E: _php_stream_seek (streams.c:1304)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==  Address 0x153cde60 is 0 bytes inside a block of size 224 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0xE06020: _php_stream_free (streams.c:557)
==12606==    by 0x702FA1: dba_close (dba.c:428)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606== 
==12606== Invalid read of size 4
==12606==    at 0xE08947: _php_stream_seek (streams.c:1304)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==  Address 0x153cdef8 is 152 bytes inside a block of size 224 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0xE06020: _php_stream_free (streams.c:557)
==12606==    by 0x702FA1: dba_close (dba.c:428)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606== 
==12606== Invalid read of size 8
==12606==    at 0xE08971: _php_stream_seek (streams.c:1307)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==  Address 0x153cde88 is 40 bytes inside a block of size 224 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0xE06020: _php_stream_free (streams.c:557)
==12606==    by 0x702FA1: dba_close (dba.c:428)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606== 
==12606== Invalid read of size 8
==12606==    at 0xE089F7: _php_stream_seek (streams.c:1317)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==    by 0x1076456: do_cli (php_cli.c:994)
==12606==  Address 0x153cde60 is 0 bytes inside a block of size 224 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0xE06020: _php_stream_free (streams.c:557)
==12606==    by 0x702FA1: dba_close (dba.c:428)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606== 
==12606== Invalid read of size 8
==12606==    at 0xE13622: php_stdiop_seek (plain_wrapper.c:479)
==12606==    by 0xE08A28: _php_stream_seek (streams.c:1317)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==  Address 0x153cde68 is 8 bytes inside a block of size 224 free'd
==12606==    at 0x4C27C24: free (vg_replace_malloc.c:473)
==12606==    by 0xE06020: _php_stream_free (streams.c:557)
==12606==    by 0x702FA1: dba_close (dba.c:428)
==12606==    by 0x7030F6: dba_close_rsrc (dba.c:446)
==12606==    by 0xEDDDE4: plist_entry_destructor (zend_list.c:209)
==12606==    by 0xED6B64: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED6B64: zend_hash_bucket_delete (zend_hash.c:192)
==12606==    by 0xED9AA4: zend_hash_apply_with_argument (zend_hash.c:670)
==12606==    by 0x703189: dba_close_pe_rsrc (dba.c:463)
==12606==    by 0xEDDC7A: list_entry_destructor (zend_list.c:183)
==12606==    by 0xED911F: i_zend_hash_bucket_delete (zend_hash.c:182)
==12606==    by 0xED911F: zend_hash_del_key_or_index (zend_hash.c:526)
==12606==    by 0xEDD405: _zend_list_delete (zend_list.c:57)
==12606==    by 0x7066D3: zif_dba_close (dba.c:984)
==12606== 
==12606== Invalid read of size 1
==12606==    at 0xE1362E: php_stdiop_seek (plain_wrapper.c:484)
==12606==    by 0xE08A28: _php_stream_seek (streams.c:1317)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==  Address 0xc is not stack'd, malloc'd or (recently) free'd
==12606== 
==12606== 
==12606== Process terminating with default action of signal 11 (SIGSEGV)
==12606==  Access not within mapped region at address 0xC
==12606==    at 0xE1362E: php_stdiop_seek (plain_wrapper.c:484)
==12606==    by 0xE08A28: _php_stream_seek (streams.c:1317)
==12606==    by 0x70E1B3: flatfile_findkey (flatfile.c:166)
==12606==    by 0x70DBC2: flatfile_fetch (flatfile.c:90)
==12606==    by 0x70AF66: dba_fetch_flatfile (dba_flatfile.c:70)
==12606==    by 0x706D99: zif_dba_fetch (dba.c:1035)
==12606==    by 0xF2B778: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12606==    by 0xF372E4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2599)
==12606==    by 0xF291FE: execute_ex (zend_vm_execute.h:363)
==12606==    by 0xF29DA1: zend_execute (zend_vm_execute.h:388)
==12606==    by 0xEBEB3F: zend_execute_scripts (zend.c:1341)
==12606==    by 0xDDCAE7: php_execute_script (main.c:2597)
==12606==  If you believe this happened as a result of a stack
==12606==  overflow in your program's main thread (unlikely but
==12606==  possible), you can try to increase the size of the
==12606==  main thread stack using the --main-stacksize= flag.
==12606==  The main thread stack size used in this run was 33554432.

 

Generated at Fri, 03 Jul 2015 14:19:58 +0000 (4 days ago)

Copyright © 2005-2015 The PHP Group
All rights reserved.