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 A4 (LLDB)

Goal: Learn how to identify heap regions and heap corruption

Patterns: Heap Corruption

1.          Identify the problem thread and application specific diagnostic from the diagnostic report App4_2636.crash:

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

Date/Time:       2012-07-24 21:19:38.344 +0100
OS Version:      Mac OS X 10.7.4 (11E53)
Report Version:  9

Crashed Thread:  3

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** error for object 0x7f88dc001408: incorrect checksum for freed object - object was probably modified after being freed. Thread 0:: Dispatch ...

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