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

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

Script

1: <?php
2:
3: $handler 
"flatfile";
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

==20176== Invalid read of size 8
==20176==    at 0x6A3CDF: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==    by 0x102BF62: main (php_cli.c:1378)
==20176==  Address 0x15404c98 is 56 bytes inside a block of size 88 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0x69FFEF: dba_close (dba.c:436)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176== 
==20176== Invalid read of size 8
==20176==    at 0x6A7EAC: dba_fetch_flatfile (dba_flatfile.c:67)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==    by 0x102BF62: main (php_cli.c:1378)
==20176==  Address 0x15404c60 is 0 bytes inside a block of size 88 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0x69FFEF: dba_close (dba.c:436)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176== 
==20176== Invalid read of size 8
==20176==    at 0x6AB113: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==    by 0x102BF62: main (php_cli.c:1378)
==20176==  Address 0x15405530 is 16 bytes inside a block of size 48 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0x6A7E2D: dba_close_flatfile (dba_flatfile.c:59)
==20176==    by 0x69FD9E: dba_close (dba.c:414)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176== 
==20176== Invalid read of size 4
==20176==    at 0xD94340: _php_stream_seek (streams.c:1275)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==  Address 0x154050a8 is 120 bytes inside a block of size 224 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0xD91C95: _php_stream_free (streams.c:557)
==20176==    by 0x69FF15: dba_close (dba.c:428)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176== 
==20176== Invalid read of size 4
==20176==    at 0xD94377: _php_stream_seek (streams.c:1281)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==  Address 0x154050c8 is 152 bytes inside a block of size 224 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0xD91C95: _php_stream_free (streams.c:557)
==20176==    by 0x69FF15: dba_close (dba.c:428)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176== 
==20176== Invalid read of size 8
==20176==    at 0xD944A8: _php_stream_seek (streams.c:1292)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==  Address 0x154050d0 is 160 bytes inside a block of size 224 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0xD91C95: _php_stream_free (streams.c:557)
==20176==    by 0x69FF15: dba_close (dba.c:428)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176== 
==20176== Invalid read of size 8
==20176==    at 0xD94593: _php_stream_seek (streams.c:1304)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==  Address 0x15405030 is 0 bytes inside a block of size 224 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0xD91C95: _php_stream_free (streams.c:557)
==20176==    by 0x69FF15: dba_close (dba.c:428)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176== 
==20176== Invalid read of size 4
==20176==    at 0xD945BC: _php_stream_seek (streams.c:1304)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==  Address 0x154050c8 is 152 bytes inside a block of size 224 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0xD91C95: _php_stream_free (streams.c:557)
==20176==    by 0x69FF15: dba_close (dba.c:428)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176== 
==20176== Invalid read of size 8
==20176==    at 0xD945E6: _php_stream_seek (streams.c:1307)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==  Address 0x15405058 is 40 bytes inside a block of size 224 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0xD91C95: _php_stream_free (streams.c:557)
==20176==    by 0x69FF15: dba_close (dba.c:428)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176== 
==20176== Invalid read of size 8
==20176==    at 0xD9466C: _php_stream_seek (streams.c:1317)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==    by 0x102A7B5: do_cli (php_cli.c:994)
==20176==  Address 0x15405030 is 0 bytes inside a block of size 224 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0xD91C95: _php_stream_free (streams.c:557)
==20176==    by 0x69FF15: dba_close (dba.c:428)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176== 
==20176== Invalid read of size 8
==20176==    at 0xD9F1EF: php_stdiop_seek (plain_wrapper.c:456)
==20176==    by 0xD9469D: _php_stream_seek (streams.c:1317)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==  Address 0x15405038 is 8 bytes inside a block of size 224 free'd
==20176==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==20176==    by 0xD91C95: _php_stream_free (streams.c:557)
==20176==    by 0x69FF15: dba_close (dba.c:428)
==20176==    by 0x6A006A: dba_close_rsrc (dba.c:446)
==20176==    by 0xE65148: plist_entry_destructor (zend_list.c:209)
==20176==    by 0xE60966: zend_hash_apply_deleter (zend_hash.c:650)
==20176==    by 0xE60EB7: zend_hash_apply_with_argument (zend_hash.c:743)
==20176==    by 0x6A00FD: dba_close_pe_rsrc (dba.c:463)
==20176==    by 0xE64FDE: list_entry_destructor (zend_list.c:183)
==20176==    by 0xE6021F: zend_hash_del_key_or_index (zend_hash.c:532)
==20176==    by 0xE64769: _zend_list_delete (zend_list.c:57)
==20176==    by 0x6A3647: zif_dba_close (dba.c:984)
==20176== 
==20176== Invalid read of size 1
==20176==    at 0xD9F1FB: php_stdiop_seek (plain_wrapper.c:461)
==20176==    by 0xD9469D: _php_stream_seek (streams.c:1317)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==  Address 0xc is not stack'd, malloc'd or (recently) free'd
==20176== 
==20176== 
==20176== Process terminating with default action of signal 11 (SIGSEGV)
==20176==  Access not within mapped region at address 0xC
==20176==    at 0xD9F1FB: php_stdiop_seek (plain_wrapper.c:461)
==20176==    by 0xD9469D: _php_stream_seek (streams.c:1317)
==20176==    by 0x6AB128: flatfile_findkey (flatfile.c:172)
==20176==    by 0x6AAB36: flatfile_fetch (flatfile.c:90)
==20176==    by 0x6A7EDA: dba_fetch_flatfile (dba_flatfile.c:70)
==20176==    by 0x6A3D0D: zif_dba_fetch (dba.c:1035)
==20176==    by 0xEAB3E9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20176==    by 0xEB54B8: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==20176==    by 0xEA9038: execute_ex (zend_vm_execute.h:363)
==20176==    by 0xEA9BCA: zend_execute (zend_vm_execute.h:388)
==20176==    by 0xE4619D: zend_execute_scripts (zend.c:1316)
==20176==    by 0xD693A4: php_execute_script (main.c:2506)
==20176==  If you believe this happened as a result of a stack
==20176==  overflow in your program's main thread (unlikely but
==20176==  possible), you can try to increase the size of the
==20176==  main thread stack using the --main-stacksize= flag.
==20176==  The main thread stack size used in this run was 33554432.

 

Generated at Tue, 19 Aug 2014 16:41:26 +0000 (3 days ago)

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