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/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

==11703== Conditional jump or move depends on uninitialised value(s)
==11703==    at 0x11E6501: ZEND_ASSIGN_SPEC_CV_VAR_HANDLER (zend_variables.h:41)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703== 
==11703== Conditional jump or move depends on uninitialised value(s)
==11703==    at 0x10A0BD4: ZEND_DO_FCALL_SPEC_HANDLER (zend_variables.h:41)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703== 
==11703== Conditional jump or move depends on uninitialised value(s)
==11703==    at 0x102D1BE: _zend_list_close (zend_list.c:84)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703== 
==11703== Invalid write of size 8
==11703==    at 0x102D195: zend_resource_dtor (zend_list.c:77)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d6f8 is 24 bytes inside a block of size 32 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x102DA64: plist_entry_destructor (zend_list.c:192)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703== 
==11703== Invalid write of size 4
==11703==    at 0x102D1A1: zend_resource_dtor (zend_list.c:78)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d6f0 is 16 bytes inside a block of size 32 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x102DA64: plist_entry_destructor (zend_list.c:192)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703== 
==11703== Invalid read of size 4
==11703==    at 0x10A0BC9: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d6e0 is 0 bytes inside a block of size 32 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x102DA64: plist_entry_destructor (zend_list.c:192)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703== 
==11703== Invalid write of size 4
==11703==    at 0x10A0BCE: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d6e0 is 0 bytes inside a block of size 32 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x102DA64: plist_entry_destructor (zend_list.c:192)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703== 
==11703== Invalid read of size 4
==11703==    at 0x10A0BD0: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d6e0 is 0 bytes inside a block of size 32 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x102DA64: plist_entry_destructor (zend_list.c:192)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703== 
==11703== Invalid read of size 4
==11703==    at 0x11A5C78: ZEND_SEND_VAR_SPEC_CV_HANDLER (zend_types.h:689)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d6e0 is 0 bytes inside a block of size 32 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x102DA64: plist_entry_destructor (zend_list.c:192)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703== 
==11703== Invalid write of size 4
==11703==    at 0x11A5C7D: ZEND_SEND_VAR_SPEC_CV_HANDLER (zend_types.h:689)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d6e0 is 0 bytes inside a block of size 32 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x102DA64: plist_entry_destructor (zend_list.c:192)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703== 
==11703== Invalid read of size 4
==11703==    at 0x102DFEE: zend_rsrc_list_get_rsrc_type (zend_list.c:316)
==11703==    by 0xD9A79D: php_var_dump (var.c:190)
==11703==    by 0xD9A9B9: zif_var_dump (var.c:222)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d6f0 is 16 bytes inside a block of size 32 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x102DA64: plist_entry_destructor (zend_list.c:192)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703== 
==11703== Invalid read of size 8
==11703==    at 0xD9A7D2: php_var_dump (var.c:191)
==11703==    by 0xD9A9B9: zif_var_dump (var.c:222)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d6e8 is 8 bytes inside a block of size 32 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x102DA64: plist_entry_destructor (zend_list.c:192)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703== 
==11703== Invalid read of size 8
==11703==    at 0x708ACD: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0cd98 is 56 bytes inside a block of size 88 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x70430F: dba_close (dba.c:436)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703== 
==11703== Invalid read of size 8
==11703==    at 0x70CD86: dba_fetch_flatfile (dba_flatfile.c:67)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0cd60 is 0 bytes inside a block of size 88 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x70430F: dba_close (dba.c:436)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703== 
==11703== Invalid read of size 8
==11703==    at 0x71000B: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d680 is 16 bytes inside a block of size 48 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0x70CD07: dba_close_flatfile (dba_flatfile.c:59)
==11703==    by 0x7040BE: dba_close (dba.c:414)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703== 
==11703== Invalid read of size 4
==11703==    at 0xF2BB28: _php_stream_seek (streams.c:1279)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d1b4 is 132 bytes inside a block of size 240 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0xF290B6: _php_stream_free (streams.c:561)
==11703==    by 0x704235: dba_close (dba.c:428)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703== 
==11703== Invalid read of size 4
==11703==    at 0xF2BB62: _php_stream_seek (streams.c:1285)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d1d8 is 168 bytes inside a block of size 240 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0xF290B6: _php_stream_free (streams.c:561)
==11703==    by 0x704235: dba_close (dba.c:428)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703== 
==11703== Invalid read of size 8
==11703==    at 0xF2BC93: _php_stream_seek (streams.c:1296)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d1e0 is 176 bytes inside a block of size 240 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0xF290B6: _php_stream_free (streams.c:561)
==11703==    by 0x704235: dba_close (dba.c:428)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703== 
==11703== Invalid read of size 8
==11703==    at 0xF2BD7E: _php_stream_seek (streams.c:1308)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d130 is 0 bytes inside a block of size 240 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0xF290B6: _php_stream_free (streams.c:561)
==11703==    by 0x704235: dba_close (dba.c:428)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703== 
==11703== Invalid read of size 4
==11703==    at 0xF2BDA7: _php_stream_seek (streams.c:1308)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d1d8 is 168 bytes inside a block of size 240 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0xF290B6: _php_stream_free (streams.c:561)
==11703==    by 0x704235: dba_close (dba.c:428)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703== 
==11703== Invalid read of size 8
==11703==    at 0xF2BDD1: _php_stream_seek (streams.c:1311)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d158 is 40 bytes inside a block of size 240 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0xF290B6: _php_stream_free (streams.c:561)
==11703==    by 0x704235: dba_close (dba.c:428)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703== 
==11703== Invalid read of size 8
==11703==    at 0xF2BE57: _php_stream_seek (streams.c:1321)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==    by 0x120EE50: main (php_cli.c:1356)
==11703==  Address 0x11e0d130 is 0 bytes inside a block of size 240 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0xF290B6: _php_stream_free (streams.c:561)
==11703==    by 0x704235: dba_close (dba.c:428)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703== 
==11703== Invalid read of size 8
==11703==    at 0xF37CF6: php_stdiop_seek (plain_wrapper.c:489)
==11703==    by 0xF2BE88: _php_stream_seek (streams.c:1321)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==  Address 0x11e0d138 is 8 bytes inside a block of size 240 free'd
==11703==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==11703==    by 0xF290B6: _php_stream_free (streams.c:561)
==11703==    by 0x704235: dba_close (dba.c:428)
==11703==    by 0x70438B: dba_close_rsrc (dba.c:446)
==11703==    by 0x102DA01: plist_entry_destructor (zend_list.c:186)
==11703==    by 0x102858A: zend_hash_apply_deleter (zend_hash.c:653)
==11703==    by 0x1028B54: zend_hash_apply_with_argument (zend_hash.c:1081)
==11703==    by 0x704423: dba_close_pe_rsrc (dba.c:463)
==11703==    by 0x102D139: zend_resource_dtor (zend_list.c:72)
==11703==    by 0x102D22C: _zend_list_close (zend_list.c:87)
==11703==    by 0x7084A4: zif_dba_close (dba.c:989)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703== 
==11703== Invalid read of size 1
==11703==    at 0xF37D02: php_stdiop_seek (plain_wrapper.c:494)
==11703==    by 0xF2BE88: _php_stream_seek (streams.c:1321)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==  Address 0xc is not stack'd, malloc'd or (recently) free'd
==11703== 
==11703== 
==11703== Process terminating with default action of signal 11 (SIGSEGV)
==11703==  Access not within mapped region at address 0xC
==11703==    at 0xF37D02: php_stdiop_seek (plain_wrapper.c:494)
==11703==    by 0xF2BE88: _php_stream_seek (streams.c:1321)
==11703==    by 0x710020: flatfile_findkey (flatfile.c:172)
==11703==    by 0x70FA2E: flatfile_fetch (flatfile.c:90)
==11703==    by 0x70CDB4: dba_fetch_flatfile (dba_flatfile.c:70)
==11703==    by 0x708B01: zif_dba_fetch (dba.c:1040)
==11703==    by 0x10A0AAD: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==11703==    by 0x109E445: execute_ex (zend_vm_execute.h:352)
==11703==    by 0x109F036: zend_execute (zend_vm_execute.h:381)
==11703==    by 0xFFA07C: zend_execute_scripts (zend.c:1266)
==11703==    by 0xEFB14D: php_execute_script (main.c:2563)
==11703==    by 0x120D3D9: do_cli (php_cli.c:978)
==11703==  If you believe this happened as a result of a stack
==11703==  overflow in your program's main thread (unlikely but
==11703==  possible), you can try to increase the size of the
==11703==  main thread stack using the --main-stacksize= flag.
==11703==  The main thread stack size used in this run was 10485760.

 

Generated at Thu, 30 Oct 2014 07:41:47 +0000 (46 hours ago)

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