PART 7: Linux Core Dump Analysis Patterns
NULL Pointer (Data)
This is a Linux variant of NULL Pointer (data) pattern previously described for Mac OS X (Volume 7) and Windows (Volume 3) 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 $raxrax 0×0 0
(gdb) x $rax0×0: Cannot access memory at address 0×0
This is a Linux variant of Stack Trace pattern previously described for Mac OS X (Volume ...