PHP  
 PHP_HEAD
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

==2367== Conditional jump or move depends on uninitialised value(s)
==2367==    at 0x11F705D: ZEND_ASSIGN_SPEC_CV_VAR_HANDLER (zend_variables.h:41)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367== 
==2367== Conditional jump or move depends on uninitialised value(s)
==2367==    at 0x10A3705: ZEND_DO_FCALL_SPEC_HANDLER (zend_variables.h:41)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367== 
==2367== Conditional jump or move depends on uninitialised value(s)
==2367==    at 0x102B0FA: _zend_list_close (zend_list.c:84)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367== 
==2367== Invalid write of size 8
==2367==    at 0x102B0D1: zend_resource_dtor (zend_list.c:77)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d698 is 24 bytes inside a block of size 32 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x102B9A0: plist_entry_destructor (zend_list.c:192)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367== 
==2367== Invalid write of size 4
==2367==    at 0x102B0DD: zend_resource_dtor (zend_list.c:78)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d690 is 16 bytes inside a block of size 32 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x102B9A0: plist_entry_destructor (zend_list.c:192)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367== 
==2367== Invalid read of size 4
==2367==    at 0x10A36FA: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d680 is 0 bytes inside a block of size 32 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x102B9A0: plist_entry_destructor (zend_list.c:192)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367== 
==2367== Invalid write of size 4
==2367==    at 0x10A36FF: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d680 is 0 bytes inside a block of size 32 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x102B9A0: plist_entry_destructor (zend_list.c:192)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367== 
==2367== Invalid read of size 4
==2367==    at 0x10A3701: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d680 is 0 bytes inside a block of size 32 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x102B9A0: plist_entry_destructor (zend_list.c:192)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367== 
==2367== Invalid read of size 4
==2367==    at 0x11B258E: ZEND_SEND_VAR_SPEC_CV_HANDLER (zend_types.h:689)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d680 is 0 bytes inside a block of size 32 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x102B9A0: plist_entry_destructor (zend_list.c:192)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367== 
==2367== Invalid write of size 4
==2367==    at 0x11B2593: ZEND_SEND_VAR_SPEC_CV_HANDLER (zend_types.h:689)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d680 is 0 bytes inside a block of size 32 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x102B9A0: plist_entry_destructor (zend_list.c:192)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367== 
==2367== Invalid read of size 4
==2367==    at 0x102BF2A: zend_rsrc_list_get_rsrc_type (zend_list.c:316)
==2367==    by 0xD9A58D: php_var_dump (var.c:190)
==2367==    by 0xD9A7A9: zif_var_dump (var.c:222)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d690 is 16 bytes inside a block of size 32 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x102B9A0: plist_entry_destructor (zend_list.c:192)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367== 
==2367== Invalid read of size 8
==2367==    at 0xD9A5C2: php_var_dump (var.c:191)
==2367==    by 0xD9A7A9: zif_var_dump (var.c:222)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d688 is 8 bytes inside a block of size 32 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x102B9A0: plist_entry_destructor (zend_list.c:192)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367== 
==2367== Invalid read of size 8
==2367==    at 0x708A81: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0cd38 is 56 bytes inside a block of size 88 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x7042C3: dba_close (dba.c:436)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367== 
==2367== Invalid read of size 8
==2367==    at 0x70CD3A: dba_fetch_flatfile (dba_flatfile.c:67)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0cd00 is 0 bytes inside a block of size 88 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x7042C3: dba_close (dba.c:436)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367== 
==2367== Invalid read of size 8
==2367==    at 0x70FFBF: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d620 is 16 bytes inside a block of size 48 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0x70CCBB: dba_close_flatfile (dba_flatfile.c:59)
==2367==    by 0x704072: dba_close (dba.c:414)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367== 
==2367== Invalid read of size 4
==2367==    at 0xF2B8B8: _php_stream_seek (streams.c:1279)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d154 is 132 bytes inside a block of size 240 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0xF28E46: _php_stream_free (streams.c:561)
==2367==    by 0x7041E9: dba_close (dba.c:428)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367== 
==2367== Invalid read of size 4
==2367==    at 0xF2B8F2: _php_stream_seek (streams.c:1285)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d178 is 168 bytes inside a block of size 240 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0xF28E46: _php_stream_free (streams.c:561)
==2367==    by 0x7041E9: dba_close (dba.c:428)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367== 
==2367== Invalid read of size 8
==2367==    at 0xF2BA23: _php_stream_seek (streams.c:1296)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d180 is 176 bytes inside a block of size 240 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0xF28E46: _php_stream_free (streams.c:561)
==2367==    by 0x7041E9: dba_close (dba.c:428)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367== 
==2367== Invalid read of size 8
==2367==    at 0xF2BB0E: _php_stream_seek (streams.c:1308)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d0d0 is 0 bytes inside a block of size 240 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0xF28E46: _php_stream_free (streams.c:561)
==2367==    by 0x7041E9: dba_close (dba.c:428)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367== 
==2367== Invalid read of size 4
==2367==    at 0xF2BB37: _php_stream_seek (streams.c:1308)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d178 is 168 bytes inside a block of size 240 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0xF28E46: _php_stream_free (streams.c:561)
==2367==    by 0x7041E9: dba_close (dba.c:428)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367== 
==2367== Invalid read of size 8
==2367==    at 0xF2BB61: _php_stream_seek (streams.c:1311)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d0f8 is 40 bytes inside a block of size 240 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0xF28E46: _php_stream_free (streams.c:561)
==2367==    by 0x7041E9: dba_close (dba.c:428)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367== 
==2367== Invalid read of size 8
==2367==    at 0xF2BBE7: _php_stream_seek (streams.c:1321)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==    by 0x1221808: main (php_cli.c:1356)
==2367==  Address 0x11e0d0d0 is 0 bytes inside a block of size 240 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0xF28E46: _php_stream_free (streams.c:561)
==2367==    by 0x7041E9: dba_close (dba.c:428)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367== 
==2367== Invalid read of size 8
==2367==    at 0xF37A5A: php_stdiop_seek (plain_wrapper.c:484)
==2367==    by 0xF2BC18: _php_stream_seek (streams.c:1321)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==  Address 0x11e0d0d8 is 8 bytes inside a block of size 240 free'd
==2367==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==2367==    by 0xF28E46: _php_stream_free (streams.c:561)
==2367==    by 0x7041E9: dba_close (dba.c:428)
==2367==    by 0x70433F: dba_close_rsrc (dba.c:446)
==2367==    by 0x102B93D: plist_entry_destructor (zend_list.c:186)
==2367==    by 0x1026504: zend_hash_apply_deleter (zend_hash.c:642)
==2367==    by 0x1026ACE: zend_hash_apply_with_argument (zend_hash.c:1070)
==2367==    by 0x7043D7: dba_close_pe_rsrc (dba.c:463)
==2367==    by 0x102B075: zend_resource_dtor (zend_list.c:72)
==2367==    by 0x102B168: _zend_list_close (zend_list.c:87)
==2367==    by 0x708458: zif_dba_close (dba.c:989)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367== 
==2367== Invalid read of size 1
==2367==    at 0xF37A66: php_stdiop_seek (plain_wrapper.c:489)
==2367==    by 0xF2BC18: _php_stream_seek (streams.c:1321)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==  Address 0xc is not stack'd, malloc'd or (recently) free'd
==2367== 
==2367== 
==2367== Process terminating with default action of signal 11 (SIGSEGV)
==2367==  Access not within mapped region at address 0xC
==2367==    at 0xF37A66: php_stdiop_seek (plain_wrapper.c:489)
==2367==    by 0xF2BC18: _php_stream_seek (streams.c:1321)
==2367==    by 0x70FFD4: flatfile_findkey (flatfile.c:172)
==2367==    by 0x70F9E2: flatfile_fetch (flatfile.c:90)
==2367==    by 0x70CD68: dba_fetch_flatfile (dba_flatfile.c:70)
==2367==    by 0x708AB5: zif_dba_fetch (dba.c:1040)
==2367==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==2367==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==2367==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==2367==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==2367==    by 0xEFAF93: php_execute_script (main.c:2560)
==2367==    by 0x121FD91: do_cli (php_cli.c:978)
==2367==  If you believe this happened as a result of a stack
==2367==  overflow in your program's main thread (unlikely but
==2367==  possible), you can try to increase the size of the
==2367==  main thread stack using the --main-stacksize= flag.
==2367==  The main thread stack size used in this run was 10485760.

 

Generated at Wed, 22 Oct 2014 07:25:05 +0000 (3 days ago)

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