O'Reilly logo

Accelerated Mac OS X Core Dump Analysis: LLDB Exercises by Dmitry Vostokov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercise A2 (LLDB)

Goal: Learn how to identify multiple exceptions, find problem CPU instructions

Patterns: Multiple Exceptions, NULL Pointer (data), NULL Pointer (code)

1.          Identify a crash in diagnostic report App2_1995.crash (thread, module, function name):

Process:         App2 [1995]
Path:            /Users/USER/Documents/*/App2
Identifier:      App2
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [1549]

Date/Time:       2012-07-24 13:41:10.529 +0100
OS Version:      Mac OS X 10.7.4 (11E53)
Report Version:  9

Crashed Thread:  2

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 VM Regions Near 0: --> __TEXT 000000010fe0a000-000000010fe0b000 [ 4K] r-x/rwx SM=COW /Users/USER/Documents/* Thread 0:: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required