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

==13936== Conditional jump or move depends on uninitialised value(s)
==13936==    at 0x11EE15B: ZEND_ASSIGN_SPEC_CV_VAR_HANDLER (zend_variables.h:41)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936== 
==13936== Conditional jump or move depends on uninitialised value(s)
==13936==    at 0x10A1339: ZEND_DO_FCALL_SPEC_HANDLER (zend_variables.h:41)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936== 
==13936== Conditional jump or move depends on uninitialised value(s)
==13936==    at 0x102D906: _zend_list_close (zend_list.c:84)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936== 
==13936== Invalid write of size 8
==13936==    at 0x102D8DD: zend_resource_dtor (zend_list.c:77)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227bb18 is 24 bytes inside a block of size 32 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x102E1AC: plist_entry_destructor (zend_list.c:192)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936== 
==13936== Invalid write of size 4
==13936==    at 0x102D8E9: zend_resource_dtor (zend_list.c:78)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227bb10 is 16 bytes inside a block of size 32 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x102E1AC: plist_entry_destructor (zend_list.c:192)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936== 
==13936== Invalid read of size 4
==13936==    at 0x10A132E: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x102E1AC: plist_entry_destructor (zend_list.c:192)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936== 
==13936== Invalid write of size 4
==13936==    at 0x10A1333: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x102E1AC: plist_entry_destructor (zend_list.c:192)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936== 
==13936== Invalid read of size 4
==13936==    at 0x10A1335: ZEND_DO_FCALL_SPEC_HANDLER (zend_types.h:694)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x102E1AC: plist_entry_destructor (zend_list.c:192)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936== 
==13936== Invalid read of size 4
==13936==    at 0x11ABAFA: ZEND_SEND_VAR_SPEC_CV_HANDLER (zend_types.h:689)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x102E1AC: plist_entry_destructor (zend_list.c:192)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936== 
==13936== Invalid write of size 4
==13936==    at 0x11ABAFF: ZEND_SEND_VAR_SPEC_CV_HANDLER (zend_types.h:689)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227bb00 is 0 bytes inside a block of size 32 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x102E1AC: plist_entry_destructor (zend_list.c:192)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936== 
==13936== Invalid read of size 4
==13936==    at 0x102E732: zend_rsrc_list_get_rsrc_type (zend_list.c:316)
==13936==    by 0xD9AA3A: php_var_dump (var.c:190)
==13936==    by 0xD9AC56: zif_var_dump (var.c:222)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227bb10 is 16 bytes inside a block of size 32 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x102E1AC: plist_entry_destructor (zend_list.c:192)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936== 
==13936== Invalid read of size 8
==13936==    at 0xD9AA6F: php_var_dump (var.c:191)
==13936==    by 0xD9AC56: zif_var_dump (var.c:222)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227bb08 is 8 bytes inside a block of size 32 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x102E1AC: plist_entry_destructor (zend_list.c:192)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936== 
==13936== Invalid read of size 8
==13936==    at 0x708C45: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227b1b8 is 56 bytes inside a block of size 88 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x704487: dba_close (dba.c:436)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936== 
==13936== Invalid read of size 8
==13936==    at 0x70CEFE: dba_fetch_flatfile (dba_flatfile.c:67)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227b180 is 0 bytes inside a block of size 88 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x704487: dba_close (dba.c:436)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936== 
==13936== Invalid read of size 8
==13936==    at 0x710183: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227baa0 is 16 bytes inside a block of size 48 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0x70CE7F: dba_close_flatfile (dba_flatfile.c:59)
==13936==    by 0x704236: dba_close (dba.c:414)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936== 
==13936== Invalid read of size 4
==13936==    at 0xF2BF94: _php_stream_seek (streams.c:1279)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227b5d4 is 132 bytes inside a block of size 240 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0xF29522: _php_stream_free (streams.c:561)
==13936==    by 0x7043AD: dba_close (dba.c:428)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936== 
==13936== Invalid read of size 4
==13936==    at 0xF2BFCE: _php_stream_seek (streams.c:1285)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227b5f8 is 168 bytes inside a block of size 240 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0xF29522: _php_stream_free (streams.c:561)
==13936==    by 0x7043AD: dba_close (dba.c:428)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936== 
==13936== Invalid read of size 8
==13936==    at 0xF2C0FF: _php_stream_seek (streams.c:1296)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227b600 is 176 bytes inside a block of size 240 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0xF29522: _php_stream_free (streams.c:561)
==13936==    by 0x7043AD: dba_close (dba.c:428)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936== 
==13936== Invalid read of size 8
==13936==    at 0xF2C1EA: _php_stream_seek (streams.c:1308)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227b550 is 0 bytes inside a block of size 240 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0xF29522: _php_stream_free (streams.c:561)
==13936==    by 0x7043AD: dba_close (dba.c:428)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936== 
==13936== Invalid read of size 4
==13936==    at 0xF2C213: _php_stream_seek (streams.c:1308)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227b5f8 is 168 bytes inside a block of size 240 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0xF29522: _php_stream_free (streams.c:561)
==13936==    by 0x7043AD: dba_close (dba.c:428)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936== 
==13936== Invalid read of size 8
==13936==    at 0xF2C23D: _php_stream_seek (streams.c:1311)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227b578 is 40 bytes inside a block of size 240 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0xF29522: _php_stream_free (streams.c:561)
==13936==    by 0x7043AD: dba_close (dba.c:428)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936== 
==13936== Invalid read of size 8
==13936==    at 0xF2C2C3: _php_stream_seek (streams.c:1321)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==    by 0x12172AA: main (php_cli.c:1356)
==13936==  Address 0x1227b550 is 0 bytes inside a block of size 240 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0xF29522: _php_stream_free (streams.c:561)
==13936==    by 0x7043AD: dba_close (dba.c:428)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936== 
==13936== Invalid read of size 8
==13936==    at 0xF38162: php_stdiop_seek (plain_wrapper.c:489)
==13936==    by 0xF2C2F4: _php_stream_seek (streams.c:1321)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==  Address 0x1227b558 is 8 bytes inside a block of size 240 free'd
==13936==    at 0x4C274D4: free (vg_replace_malloc.c:468)
==13936==    by 0xF29522: _php_stream_free (streams.c:561)
==13936==    by 0x7043AD: dba_close (dba.c:428)
==13936==    by 0x704503: dba_close_rsrc (dba.c:446)
==13936==    by 0x102E149: plist_entry_destructor (zend_list.c:186)
==13936==    by 0x1028DA5: zend_hash_apply_deleter (zend_hash.c:657)
==13936==    by 0x1029357: zend_hash_apply_with_argument (zend_hash.c:1085)
==13936==    by 0x70459B: dba_close_pe_rsrc (dba.c:463)
==13936==    by 0x102D881: zend_resource_dtor (zend_list.c:72)
==13936==    by 0x102D974: _zend_list_close (zend_list.c:87)
==13936==    by 0x70861C: zif_dba_close (dba.c:989)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936== 
==13936== Invalid read of size 1
==13936==    at 0xF3816E: php_stdiop_seek (plain_wrapper.c:494)
==13936==    by 0xF2C2F4: _php_stream_seek (streams.c:1321)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==  Address 0xc is not stack'd, malloc'd or (recently) free'd
==13936== 
==13936== 
==13936== Process terminating with default action of signal 11 (SIGSEGV)
==13936==  Access not within mapped region at address 0xC
==13936==    at 0xF3816E: php_stdiop_seek (plain_wrapper.c:494)
==13936==    by 0xF2C2F4: _php_stream_seek (streams.c:1321)
==13936==    by 0x710198: flatfile_findkey (flatfile.c:172)
==13936==    by 0x70FBA6: flatfile_fetch (flatfile.c:90)
==13936==    by 0x70CF2C: dba_fetch_flatfile (dba_flatfile.c:70)
==13936==    by 0x708C79: zif_dba_fetch (dba.c:1040)
==13936==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==13936==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==13936==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==13936==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==13936==    by 0xEFB401: php_execute_script (main.c:2563)
==13936==    by 0x1215833: do_cli (php_cli.c:978)
==13936==  If you believe this happened as a result of a stack
==13936==  overflow in your program's main thread (unlikely but
==13936==  possible), you can try to increase the size of the
==13936==  main thread stack using the --main-stacksize= flag.
==13936==  The main thread stack size used in this run was 10485760.

 

Generated at Sat, 22 Nov 2014 23:01:31 +0000 (3 days ago)

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