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

==914== Conditional jump or move depends on uninitialised value(s)
==914==    at 0x11EEA4C: ZEND_ASSIGN_SPEC_CV_VAR_HANDLER (zend_variables.h:41)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914== 
==914== Conditional jump or move depends on uninitialised value(s)
==914==    at 0x10A16B4: ZEND_DO_FCALL_SPEC_HANDLER (zend_variables.h:41)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914== 
==914== Conditional jump or move depends on uninitialised value(s)
==914==    at 0x102DC5E: _zend_list_close (zend_list.c:84)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914== 
==914== Invalid write of size 8
==914==    at 0x102DC35: zend_resource_dtor (zend_list.c:77)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227bb18 is 24 bytes inside a block of size 32 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x102E504: plist_entry_destructor (zend_list.c:192)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914== 
==914== Invalid write of size 4
==914==    at 0x102DC41: zend_resource_dtor (zend_list.c:78)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227bb10 is 16 bytes inside a block of size 32 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x102E504: plist_entry_destructor (zend_list.c:192)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914== 
==914== Invalid read of size 4
==914==    at 0x10A16A9: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x102E504: plist_entry_destructor (zend_list.c:192)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914== 
==914== Invalid write of size 4
==914==    at 0x10A16AE: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x102E504: plist_entry_destructor (zend_list.c:192)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914== 
==914== Invalid read of size 4
==914==    at 0x10A16B0: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x102E504: plist_entry_destructor (zend_list.c:192)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914== 
==914== Invalid read of size 4
==914==    at 0x11AC1D6: ZEND_SEND_VAR_SPEC_CV_HANDLER (zend_types.h:689)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x102E504: plist_entry_destructor (zend_list.c:192)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914== 
==914== Invalid write of size 4
==914==    at 0x11AC1DB: ZEND_SEND_VAR_SPEC_CV_HANDLER (zend_types.h:689)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x102E504: plist_entry_destructor (zend_list.c:192)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914== 
==914== Invalid read of size 4
==914==    at 0x102EA8E: zend_rsrc_list_get_rsrc_type (zend_list.c:316)
==914==    by 0xD9AAFD: php_var_dump (var.c:190)
==914==    by 0xD9AD19: zif_var_dump (var.c:222)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227bb10 is 16 bytes inside a block of size 32 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x102E504: plist_entry_destructor (zend_list.c:192)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914== 
==914== Invalid read of size 8
==914==    at 0xD9AB32: php_var_dump (var.c:191)
==914==    by 0xD9AD19: zif_var_dump (var.c:222)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227bb08 is 8 bytes inside a block of size 32 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x102E504: plist_entry_destructor (zend_list.c:192)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914== 
==914== Invalid read of size 8
==914==    at 0x708C49: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227b1b8 is 56 bytes inside a block of size 88 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x70448B: dba_close (dba.c:436)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914== 
==914== Invalid read of size 8
==914==    at 0x70CF02: dba_fetch_flatfile (dba_flatfile.c:67)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227b180 is 0 bytes inside a block of size 88 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x70448B: dba_close (dba.c:436)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914== 
==914== Invalid read of size 8
==914==    at 0x710187: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227baa0 is 16 bytes inside a block of size 48 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0x70CE83: dba_close_flatfile (dba_flatfile.c:59)
==914==    by 0x70423A: dba_close (dba.c:414)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914== 
==914== Invalid read of size 4
==914==    at 0xF2C040: _php_stream_seek (streams.c:1279)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227b5d4 is 132 bytes inside a block of size 240 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0xF295CE: _php_stream_free (streams.c:561)
==914==    by 0x7043B1: dba_close (dba.c:428)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914== 
==914== Invalid read of size 4
==914==    at 0xF2C07A: _php_stream_seek (streams.c:1285)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227b5f8 is 168 bytes inside a block of size 240 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0xF295CE: _php_stream_free (streams.c:561)
==914==    by 0x7043B1: dba_close (dba.c:428)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914== 
==914== Invalid read of size 8
==914==    at 0xF2C1AB: _php_stream_seek (streams.c:1296)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227b600 is 176 bytes inside a block of size 240 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0xF295CE: _php_stream_free (streams.c:561)
==914==    by 0x7043B1: dba_close (dba.c:428)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914== 
==914== Invalid read of size 8
==914==    at 0xF2C296: _php_stream_seek (streams.c:1308)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227b550 is 0 bytes inside a block of size 240 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0xF295CE: _php_stream_free (streams.c:561)
==914==    by 0x7043B1: dba_close (dba.c:428)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914== 
==914== Invalid read of size 4
==914==    at 0xF2C2BF: _php_stream_seek (streams.c:1308)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227b5f8 is 168 bytes inside a block of size 240 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0xF295CE: _php_stream_free (streams.c:561)
==914==    by 0x7043B1: dba_close (dba.c:428)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914== 
==914== Invalid read of size 8
==914==    at 0xF2C2E9: _php_stream_seek (streams.c:1311)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227b578 is 40 bytes inside a block of size 240 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0xF295CE: _php_stream_free (streams.c:561)
==914==    by 0x7043B1: dba_close (dba.c:428)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914== 
==914== Invalid read of size 8
==914==    at 0xF2C36F: _php_stream_seek (streams.c:1321)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==    by 0x1217BA0: main (php_cli.c:1356)
==914==  Address 0x1227b550 is 0 bytes inside a block of size 240 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0xF295CE: _php_stream_free (streams.c:561)
==914==    by 0x7043B1: dba_close (dba.c:428)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914== 
==914== Invalid read of size 8
==914==    at 0xF3820E: php_stdiop_seek (plain_wrapper.c:489)
==914==    by 0xF2C3A0: _php_stream_seek (streams.c:1321)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==  Address 0x1227b558 is 8 bytes inside a block of size 240 free'd
==914==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==914==    by 0xF295CE: _php_stream_free (streams.c:561)
==914==    by 0x7043B1: dba_close (dba.c:428)
==914==    by 0x704507: dba_close_rsrc (dba.c:446)
==914==    by 0x102E4A1: plist_entry_destructor (zend_list.c:186)
==914==    by 0x1029027: zend_hash_apply_deleter (zend_hash.c:657)
==914==    by 0x10295F1: zend_hash_apply_with_argument (zend_hash.c:1085)
==914==    by 0x70459F: dba_close_pe_rsrc (dba.c:463)
==914==    by 0x102DBD9: zend_resource_dtor (zend_list.c:72)
==914==    by 0x102DCCC: _zend_list_close (zend_list.c:87)
==914==    by 0x708620: zif_dba_close (dba.c:989)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914== 
==914== Invalid read of size 1
==914==    at 0xF3821A: php_stdiop_seek (plain_wrapper.c:494)
==914==    by 0xF2C3A0: _php_stream_seek (streams.c:1321)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==  Address 0xc is not stack'd, malloc'd or (recently) free'd
==914== 
==914== 
==914== Process terminating with default action of signal 11 (SIGSEGV)
==914==  Access not within mapped region at address 0xC
==914==    at 0xF3821A: php_stdiop_seek (plain_wrapper.c:494)
==914==    by 0xF2C3A0: _php_stream_seek (streams.c:1321)
==914==    by 0x71019C: flatfile_findkey (flatfile.c:172)
==914==    by 0x70FBAA: flatfile_fetch (flatfile.c:90)
==914==    by 0x70CF30: dba_fetch_flatfile (dba_flatfile.c:70)
==914==    by 0x708C7D: zif_dba_fetch (dba.c:1040)
==914==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==914==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==914==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==914==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==914==    by 0xEFB4AD: php_execute_script (main.c:2563)
==914==    by 0x1216129: do_cli (php_cli.c:978)
==914==  If you believe this happened as a result of a stack
==914==  overflow in your program's main thread (unlikely but
==914==  possible), you can try to increase the size of the
==914==  main thread stack using the --main-stacksize= flag.
==914==  The main thread stack size used in this run was 10485760.

 

Generated at Mon, 10 Nov 2014 22:46:55 +0000 (11 days ago)

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