SlideShare a Scribd company logo
Frame 0x0A
Presenter: Dmitry Vostokov
Sponsors
Debugging.TV
• Platform independent memory dump analysis
• Platform independent MDA patterns
• Exception Thread pattern (on Mac OS X)
• WER vs. MER and WinDbg vs. GDB
Topics
© 2012 DumpAnalysis.org + TraceAnalysis.org
void bar()
{
int *p = NULL;
*p = 1;
}
void foo()
{
bar();
}
int main(int argc, const char * argv[])
{
foo();
return 0;
}
Exception Thread
© 2012 DumpAnalysis.org + TraceAnalysis.org
Xcode
© 2012 DumpAnalysis.org + TraceAnalysis.org
Dmitrys-MacBook-Air:/ DumpAnalysis$ ulimit -c unlimited
Dmitrys-MacBook-Air:/ DumpAnalysis$ ulimit –a
core file size (blocks, -c) unlimited
[…]
Dmitrys-MacBook-Air:/ DumpAnalysis$
/Users/DumpAnalysis/Library/Developer/Xcode/DerivedData/Test-
adsepuwnmyotiyfiajcuyqrwjzmy/Build/Products/Debug/Test
Segmentation fault: 11 (core dumped)
Dmitrys-MacBook-Air:/ DumpAnalysis$ ls /cores
core.5494
Dmitrys-MacBook-Air:/ DumpAnalysis$
/Applications/Xcode.app/Contents/Developer/usr/bin/gdb
/Users/DumpAnalysis/Library/Developer/Xcode/DerivedData/Test-
adsepuwnmyotiyfiajcuyqrwjzmy/Build/Products/Debug/Test /cores/core.5494
Terminal and GDB
© 2012 DumpAnalysis.org + TraceAnalysis.org
Debugger Output
© 2012 DumpAnalysis.org + TraceAnalysis.org
GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .......................... done
#0 0x000000010eb07eb0 in bar ()
at /Users/DumpAnalysis/Documents/MacOSX-Debugging/Test/Test/Test/main.c:15
15 *p = 1;
(gdb) where
#0 0x000000010eb07eb0 in bar ()
at /Users/DumpAnalysis/Documents/MacOSX-Debugging/Test/Test/Test/main.c:15
#1 0x000000010eb07ec9 in foo ()
at /Users/DumpAnalysis/Documents/MacOSX-Debugging/Test/Test/Test/main.c:20
#2 0x000000010eb07eeb in main (argc=1,
argv=0x7fff6e706ad0)
at /Users/DumpAnalysis/Documents/MacOSX-Debugging/Test/Test/Test/main.c:25
Current language: auto; currently minimal
(gdb) q
!Ad Hardcore Technical Support Training
© 2012 DumpAnalysis.org + TraceAnalysis.org
Advanced Windows Memory Dump Analysis
Accelerated Windows Memory Dump AnalysisApril 11-16, 2012:
April 20-23, 2012:
Training Schedule
Accelerated Software Trace AnalysisApril 27-30, 2012:
Accelerated Mac OS X Core Dump Analysis
Forthcoming: Linux Core Dump Analysis
Introduction to Software Narratology (free)April 2, 2012:
Deep Down C++
Debugging.TV

More Related Content

PPTX
Games no Windows (FATEC 2015)
PPTX
Mono + .NET Core = ❤️
PDF
Debugging TV Frame 0x0B
PDF
Debugging TV Frame 0x0C
PDF
Debugging TV Frame 0x0D
PDF
Debugging TV Frame 0x13
PDF
Accelerated Mac OS X Core Dump Analysis training public slides
PDF
Debugging TV Frame 0x05
Games no Windows (FATEC 2015)
Mono + .NET Core = ❤️
Debugging TV Frame 0x0B
Debugging TV Frame 0x0C
Debugging TV Frame 0x0D
Debugging TV Frame 0x13
Accelerated Mac OS X Core Dump Analysis training public slides
Debugging TV Frame 0x05

Similar to Debugging TV Frame 0x0A (15)

PDF
Debugging TV Frame 0x0F
PDF
2013.02.02 지앤선 테크니컬 세미나 - Xcode를 활용한 디버깅 팁(OSXDEV)
PDF
Debugging TV Frame 0x1A
PDF
Debugging TV Frame 0x11
PPT
Security Applications For Emulation
PDF
Advanced debugging
PDF
Let's write a Debugger!
PDF
Accelerated Linux Core Dump Analysis training public slides
PDF
C言語静的解析ツールと Ruby 1.9 trunk
PDF
20140531 serebryany lecture02_find_scary_cpp_bugs
PDF
Debugging TV Frame 0x12
PDF
Session - Debugging memory stomps and other atrocities - Stefan Reinalter - T...
PDF
Debugging TV Frame 0x16
PPTX
Session - Debugging memory stomps and other atrocities - Stefan Reinalter - T...
PDF
Symbolic Debugging with DWARF
Debugging TV Frame 0x0F
2013.02.02 지앤선 테크니컬 세미나 - Xcode를 활용한 디버깅 팁(OSXDEV)
Debugging TV Frame 0x1A
Debugging TV Frame 0x11
Security Applications For Emulation
Advanced debugging
Let's write a Debugger!
Accelerated Linux Core Dump Analysis training public slides
C言語静的解析ツールと Ruby 1.9 trunk
20140531 serebryany lecture02_find_scary_cpp_bugs
Debugging TV Frame 0x12
Session - Debugging memory stomps and other atrocities - Stefan Reinalter - T...
Debugging TV Frame 0x16
Session - Debugging memory stomps and other atrocities - Stefan Reinalter - T...
Symbolic Debugging with DWARF
Ad

More from Dmitry Vostokov (20)

PDF
Accelerated Windows Debugging 3 training public slides
PDF
Accelerated .NET Memory Dump Analysis training public slides
PDF
Debugging TV Frame 0x1C
PDF
Debugging TV Frame 0x34
PDF
Debugging TV Frame 0x33
PDF
Debugging TV Frame 0x31
PDF
Debugging TV Frame 0x25
PDF
Debugging TV Frame 0x24
PDF
Debugging TV Frame 0x21
PDF
Debugging TV Frame 0x20
PDF
Debugging TV Frame 0x19
PDF
Debugging TV Frame 0x18
PDF
Debugging TV Frame 0x17
PDF
Debugging TV Frame 0x15
PDF
Debugging TV Frame 0x14
PDF
Debugging TV Frame 0x10
PDF
Debugging TV Frame 0x09
PDF
Debugging TV Frame 0x08
PDF
Debugging TV Frame 0x07
PDF
Debugging TV Frame 0x06
Accelerated Windows Debugging 3 training public slides
Accelerated .NET Memory Dump Analysis training public slides
Debugging TV Frame 0x1C
Debugging TV Frame 0x34
Debugging TV Frame 0x33
Debugging TV Frame 0x31
Debugging TV Frame 0x25
Debugging TV Frame 0x24
Debugging TV Frame 0x21
Debugging TV Frame 0x20
Debugging TV Frame 0x19
Debugging TV Frame 0x18
Debugging TV Frame 0x17
Debugging TV Frame 0x15
Debugging TV Frame 0x14
Debugging TV Frame 0x10
Debugging TV Frame 0x09
Debugging TV Frame 0x08
Debugging TV Frame 0x07
Debugging TV Frame 0x06
Ad

Recently uploaded (20)

PPTX
assetexplorer- product-overview - presentation
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Digital Strategies for Manufacturing Companies
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
System and Network Administraation Chapter 3
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Cost to Outsource Software Development in 2025
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
assetexplorer- product-overview - presentation
Operating system designcfffgfgggggggvggggggggg
Digital Strategies for Manufacturing Companies
Navsoft: AI-Powered Business Solutions & Custom Software Development
System and Network Administraation Chapter 3
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Upgrade and Innovation Strategies for SAP ERP Customers
Odoo Companies in India – Driving Business Transformation.pdf
Reimagine Home Health with the Power of Agentic AI​
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Design an Analysis of Algorithms II-SECS-1021-03
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Computer Software and OS of computer science of grade 11.pptx
Designing Intelligence for the Shop Floor.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Cost to Outsource Software Development in 2025
L1 - Introduction to python Backend.pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Understanding Forklifts - TECH EHS Solution
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf

Debugging TV Frame 0x0A

  • 1. Frame 0x0A Presenter: Dmitry Vostokov Sponsors Debugging.TV
  • 2. • Platform independent memory dump analysis • Platform independent MDA patterns • Exception Thread pattern (on Mac OS X) • WER vs. MER and WinDbg vs. GDB Topics © 2012 DumpAnalysis.org + TraceAnalysis.org
  • 3. void bar() { int *p = NULL; *p = 1; } void foo() { bar(); } int main(int argc, const char * argv[]) { foo(); return 0; } Exception Thread © 2012 DumpAnalysis.org + TraceAnalysis.org
  • 4. Xcode © 2012 DumpAnalysis.org + TraceAnalysis.org
  • 5. Dmitrys-MacBook-Air:/ DumpAnalysis$ ulimit -c unlimited Dmitrys-MacBook-Air:/ DumpAnalysis$ ulimit –a core file size (blocks, -c) unlimited […] Dmitrys-MacBook-Air:/ DumpAnalysis$ /Users/DumpAnalysis/Library/Developer/Xcode/DerivedData/Test- adsepuwnmyotiyfiajcuyqrwjzmy/Build/Products/Debug/Test Segmentation fault: 11 (core dumped) Dmitrys-MacBook-Air:/ DumpAnalysis$ ls /cores core.5494 Dmitrys-MacBook-Air:/ DumpAnalysis$ /Applications/Xcode.app/Contents/Developer/usr/bin/gdb /Users/DumpAnalysis/Library/Developer/Xcode/DerivedData/Test- adsepuwnmyotiyfiajcuyqrwjzmy/Build/Products/Debug/Test /cores/core.5494 Terminal and GDB © 2012 DumpAnalysis.org + TraceAnalysis.org
  • 6. Debugger Output © 2012 DumpAnalysis.org + TraceAnalysis.org GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC 2012) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"... Reading symbols for shared libraries .. done Reading symbols for shared libraries . done Reading symbols for shared libraries .......................... done #0 0x000000010eb07eb0 in bar () at /Users/DumpAnalysis/Documents/MacOSX-Debugging/Test/Test/Test/main.c:15 15 *p = 1; (gdb) where #0 0x000000010eb07eb0 in bar () at /Users/DumpAnalysis/Documents/MacOSX-Debugging/Test/Test/Test/main.c:15 #1 0x000000010eb07ec9 in foo () at /Users/DumpAnalysis/Documents/MacOSX-Debugging/Test/Test/Test/main.c:20 #2 0x000000010eb07eeb in main (argc=1, argv=0x7fff6e706ad0) at /Users/DumpAnalysis/Documents/MacOSX-Debugging/Test/Test/Test/main.c:25 Current language: auto; currently minimal (gdb) q
  • 7. !Ad Hardcore Technical Support Training © 2012 DumpAnalysis.org + TraceAnalysis.org Advanced Windows Memory Dump Analysis Accelerated Windows Memory Dump AnalysisApril 11-16, 2012: April 20-23, 2012: Training Schedule Accelerated Software Trace AnalysisApril 27-30, 2012: Accelerated Mac OS X Core Dump Analysis Forthcoming: Linux Core Dump Analysis Introduction to Software Narratology (free)April 2, 2012: Deep Down C++