Crash Dump Analysis Patterns (Part 6b, Linux)
This is a Linux variant of NULL Pointer (data) pattern previously described for Mac OS X and Windows platforms:
(gdb) bt
#0 0×0000000000400500 in procA ()
#1 0×000000000040057a in bar_two ()
#2 0×000000000040058a in foo_two ()
#3 0×00000000004005a2 in thread_two ()
#4 0×0000000000401630 in start_thread (arg=<optimized out>)
at pthread_create.c:304
#5 0×00000000004324e9 in clone ()
#6 0×0000000000000000 in ?? ()
(gdb) x/i 0x400500
=> 0x400500 <procA+16>: movl $0x1,(%rax)
(gdb) info r $rax
rax 0×0 0
(gdb) x $rax
0×0: Cannot access memory at address 0×0
- Dmitry Vostokov @ DumpAnalysis.org + TraceAnalysis.org -