diff options
Diffstat (limited to 'pathologist/refs/reports/ref_bt_bug_bad_memory_access.xml')
-rw-r--r-- | pathologist/refs/reports/ref_bt_bug_bad_memory_access.xml | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/pathologist/refs/reports/ref_bt_bug_bad_memory_access.xml b/pathologist/refs/reports/ref_bt_bug_bad_memory_access.xml new file mode 100644 index 0000000..8647995 --- /dev/null +++ b/pathologist/refs/reports/ref_bt_bug_bad_memory_access.xml | |||
@@ -0,0 +1,103 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <crash category="Bad memory access" function="badMemoryAccess" line="9" file="bug_bad_memory_access.c" > | ||
3 | <valgrind>==10333== Memcheck, a memory error detector | ||
4 | ==10333== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | ||
5 | ==10333== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info | ||
6 | ==10333== Command: ../../refs/src/bug_bad_memory_access | ||
7 | ==10333== Parent PID: 10332 | ||
8 | ==10333== | ||
9 | ==10333== Invalid write of size 4 | ||
10 | ==10333== at 0x80483D0: badMemoryAccess (bug_bad_memory_access.c:9) | ||
11 | ==10333== by 0x80483E2: main (bug_bad_memory_access.c:14) | ||
12 | ==10333== Address 0x4252352 is not stack'd, malloc'd or (recently) free'd | ||
13 | ==10333== | ||
14 | ==10333== | ||
15 | ==10333== Process terminating with default action of signal 11 (SIGSEGV) | ||
16 | ==10333== Access not within mapped region at address 0x4252352 | ||
17 | ==10333== at 0x80483D0: badMemoryAccess (bug_bad_memory_access.c:9) | ||
18 | ==10333== by 0x80483E2: main (bug_bad_memory_access.c:14) | ||
19 | ==10333== If you believe this happened as a result of a stack | ||
20 | ==10333== overflow in your program's main thread (unlikely but | ||
21 | ==10333== possible), you can try to increase the size of the | ||
22 | ==10333== main thread stack using the --main-stacksize= flag. | ||
23 | ==10333== The main thread stack size used in this run was 16777216. | ||
24 | ==10333== | ||
25 | ==10333== HEAP SUMMARY: | ||
26 | ==10333== in use at exit: 0 bytes in 0 blocks | ||
27 | ==10333== total heap usage: 0 allocs, 0 frees, 0 bytes allocated | ||
28 | ==10333== | ||
29 | ==10333== All heap blocks were freed -- no leaks are possible | ||
30 | ==10333== | ||
31 | ==10333== For counts of detected and suppressed errors, rerun with: -v | ||
32 | ==10333== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 11 from 6)</valgrind> | ||
33 | <history><epoch step="0" > | ||
34 | <trace><function name="badMemoryAccess" line="9" file="bug_bad_memory_access.c" depth="0" > | ||
35 | <expressions><expression name="*p" > | ||
36 | Not Evaluated</expression> | ||
37 | <expression name="printf("Bad memory access now!\n")" > | ||
38 | Not Evaluated</expression> | ||
39 | <expression name="0x4252352" > | ||
40 | 69542738</expression> | ||
41 | </expressions> | ||
42 | </function> | ||
43 | <function name="main" line="14" file="bug_bad_memory_access.c" depth="1" > | ||
44 | <expressions><expression name="badMemoryAccess()" > | ||
45 | Not Evaluated</expression> | ||
46 | <expression name="argv" > | ||
47 | 0xbfffecb4</expression> | ||
48 | <expression name="argc" > | ||
49 | 1</expression> | ||
50 | </expressions> | ||
51 | </function> | ||
52 | </trace> | ||
53 | </epoch> | ||
54 | <epoch step="1" > | ||
55 | <trace><function name="badMemoryAccess" line="8" file="bug_bad_memory_access.c" depth="0" > | ||
56 | <expressions><expression name="printf("Bad memory access now!\n")" > | ||
57 | Not Evaluated</expression> | ||
58 | <expression name="0x4252352" > | ||
59 | 69542738</expression> | ||
60 | </expressions> | ||
61 | </function> | ||
62 | <function name="main" line="14" file="bug_bad_memory_access.c" depth="1" > | ||
63 | <expressions><expression name="badMemoryAccess()" > | ||
64 | Not Evaluated</expression> | ||
65 | <expression name="argv" > | ||
66 | 0xbfffecb4</expression> | ||
67 | <expression name="argc" > | ||
68 | 1</expression> | ||
69 | </expressions> | ||
70 | </function> | ||
71 | </trace> | ||
72 | </epoch> | ||
73 | <epoch step="2" > | ||
74 | <trace><function name="badMemoryAccess" line="7" file="bug_bad_memory_access.c" depth="0" > | ||
75 | <expressions><expression name="0x4252352" > | ||
76 | 69542738</expression> | ||
77 | </expressions> | ||
78 | </function> | ||
79 | <function name="main" line="14" file="bug_bad_memory_access.c" depth="1" > | ||
80 | <expressions><expression name="badMemoryAccess()" > | ||
81 | Not Evaluated</expression> | ||
82 | <expression name="argv" > | ||
83 | 0xbfffecb4</expression> | ||
84 | <expression name="argc" > | ||
85 | 1</expression> | ||
86 | </expressions> | ||
87 | </function> | ||
88 | </trace> | ||
89 | </epoch> | ||
90 | <epoch step="3" > | ||
91 | <trace><function name="main" line="14" file="bug_bad_memory_access.c" depth="0" > | ||
92 | <expressions><expression name="badMemoryAccess()" > | ||
93 | Not Evaluated</expression> | ||
94 | <expression name="argv" > | ||
95 | 0xbfffecb4</expression> | ||
96 | <expression name="argc" > | ||
97 | 1</expression> | ||
98 | </expressions> | ||
99 | </function> | ||
100 | </trace> | ||
101 | </epoch> | ||
102 | </history> | ||
103 | </crash> | ||