SlideShare une entreprise Scribd logo
1  sur  8
Télécharger pour lire hors ligne
Frame 0x12
Presenter: Dmitry Vostokov
Sponsors
Debugging.TV
• Software Diagnostics Pattern Language
for Mac OS
• Core Dump Analysis Pattern Interaction
Example
• Partial Stack Trace Reconstruction
Topics
© 2012 Software Diagnostics Institute
Patterns for Mac OS X
© 2012 Software Diagnostics Institute
ISBN: 978-1908043405
Truncated Stack Trace
© 2012 Software Diagnostics Institute
DumpAnalysis$ ls -l /cores
total 2357440
-r-------- 1 root admin 301752320 1 Aug 02:35 core.103
-r-------- 1 root admin 301752320 1 Aug 02:45 core.107
-r-------- 1 root admin 301752320 1 Aug 02:23 core.148
-r-------- 1 DumpAnalysis admin 0 1 Aug 02:46 core.413
-r-------- 1 root admin 301752320 1 Aug 02:30 core.78
DumpAnalysis$ sudo gdb -c /cores/core.103
(gdb) bt
#0 0x00045d6c in l2_packet_receive ()
#1 0x8fea1c9c in ?? ()
Previous frame inner to this frame (gdb could not unwind past this frame)
Execution Residue
© 2012 Software Diagnostics Institute
(gdb) x/1000a $esp-1000
[…]
0xbffffa48: 0x0 0x9a5664c4 <vsnprintf+12> 0x91796 <pcap_read_bpf+17> 0x99
0xbffffa58: 0xbffffa78 0x9a566502 <vsnprintf+74> 0xbffffaf8 0x100
[…]
0xbffffa68: 0xacda7524 <__global_locale> 0x9a81c 0x91796 <pcap_read_bpf+17> 0xbffffc28
0xbffffa78: 0xbffffa98 0x920b1 <pcap_oneshot+35> 0xbffffc58 0xbffffae8
[…]
0xbffffa88: 0x110 0xbffffab4 0xbffffab4 0x300000
0xbffffa98: 0xbffffc08 0x91b1c <pcap_read_bpf+919> 0xbffffc28 0xbffffae8
[…]
0xbffffbf8: 0x0 0x45d2d <l2_packet_receive> 0x8a9800 0x8ba0 <eloop_run+12>
0xbffffc08: 0xbffffc38 0x91feb <pcap_next+58> 0x8a9800 0x1
[…]
0xbffffc28: 0xbffffc58 0xbffffc24 0x8a9800 0x0
0xbffffc38: 0xbffffc88 0x45d52 <l2_packet_receive+37> 0x8a9800 0xbffffc58
[…]
0xbffffc78: 0x37323335 0x30373833 0x76732037 0x45422063
0xbffffc88: 0x8fe9e100 0x8fea1c9c 0x0 0x1a3500
[…]
0xbffffd58: 0x0 0x0 0xff0000 0xffffff
0xbffffd68: 0xbffffdd8 0x43c04 <main+1143> 0x2084a0 0x208200
[…]
0xbffffdc8: 0x0 0x2084a0 0xbffffe28 0x0
0xbffffdd8: 0xbffffdf0 0x2356 <start+54> 0x5 0xbffffdf8
Regular Buffer
© 2012 Software Diagnostics Institute
0xbffffc38: 0xbffffc88 0x45d52 <l2_packet_receive+37> 0x8a9800 0xbffffc58
0xbffffc48: 0xbffffc58 0x9a4e5ca4 <__commpage_gettimeofday+20>0x0 0xbffffca4
0xbffffc58: 0x50185dbe 0x7a161 0x99 0x99
0xbffffc68: 0x20646970 0x72f240e8 0x300012 0x300012
0xbffffc78: 0x37323335 0x30373833 0x76732037 0x45422063
0xbffffc88: 0x8fe9e100 0x8fea1c9c 0x0 0x1a3500
0xbffffc98: 0xbffffba8 0x91fb1 <pcap_next> 0x5e35c <dyld_stub_pcap_lookupnet+2> 0x364
0xbffffca8: 0x4d00030c 0x7863c 0x33c4de9 0x41d7e900
0xbffffcb8: 0xacdac044 <__is_threaded>0x1464 0x8fea1c9c 0x5e35f <dyld_stub_pcap_next>
0xbffffcc8: 0xbffffba8 0x8fe824c8 0x8fea1c9c 0x5e35f <dyld_stub_pcap_next>
0xbffffcd8: 0x1464 0x786bc 0x91fb1 <pcap_next> 0x8fea27cc
0xbffffce8: 0x8fe9e140 0x1000002 0x8fe8234e 0x11
0xbffffcf8: 0x4 0x13e8 0x71354 0x786bc
0xbffffd08: 0x8fea27cc 0x5e364 <dyld_stub_pcap_open_live> 0x8fe6eefb 0x8ba0 <eloop_run+12>
0xbffffd18: 0xbffffbc8 0x8fe6ef6f 0x8fea1c9c 0x5e364 <dyld_stub_pcap_open_live>
0xbffffd28: 0x8fe9e140 0x9a513557 <malloc_zone_malloc+75> 0x45d2d <l2_packet_receive> 0x8a9800
0xbffffd38: 0xbffffc38 0x8fe7fdbe 0x0 0x5e364 <dyld_stub_pcap_open_live>
0xbffffd48: 0xbffffc08 0x1a0000 0x0 0x0
0xbffffd58: 0x0 0x0 0xff0000 0xffffff
0xbffffd68: 0xbffffdd8 0x43c04 <main+1143> 0x2084a0 0x208200
0xbffffd78: 0x59ec0 <base64_table+12068> 0xbffffdf8 0xbffffe10 0xbffffe28
(gdb) x/s 0xbffffc78
0xbffffc78: "532738707 svc BE"
!Ad Hardcore Technical Support Training
Sept 3, 2012 Systemic Software Diagnostics (FREE Webinar)
October 12-15, 2012 Accelerated Windows Software Trace Analysis
November 16-26, 2012 Accelerated Windows Memory Dump Analysis
November 2-5, 2012 Accelerated Mac OS X Core Dump Analysis
December 7-10, 2012 Accelerated Windows Malware Analysis
© 2012 Software Diagnostics Institute
Forthcoming in December, 2012
Debugging.TV

Contenu connexe

Similaire à Debugging TV Frame 0x12

Linux kernel debugging(ODP format)
Linux kernel debugging(ODP format)Linux kernel debugging(ODP format)
Linux kernel debugging(ODP format)yang firo
 
Kernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering OopsiesKernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering OopsiesAnne Nicolas
 
Linux Kernel Crashdump
Linux Kernel CrashdumpLinux Kernel Crashdump
Linux Kernel CrashdumpMarian Marinov
 
How to debug ocfs2 hang problem
How to debug ocfs2 hang problemHow to debug ocfs2 hang problem
How to debug ocfs2 hang problemGang He
 
OSDC 2017 - Werner Fischer - Linux performance profiling and monitoring
OSDC 2017 - Werner Fischer - Linux performance profiling and monitoringOSDC 2017 - Werner Fischer - Linux performance profiling and monitoring
OSDC 2017 - Werner Fischer - Linux performance profiling and monitoringNETWAYS
 
LISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceLISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceBrendan Gregg
 
SANS Forensics 2009 - Memory Forensics and Registry Analysis
SANS Forensics 2009 - Memory Forensics and Registry AnalysisSANS Forensics 2009 - Memory Forensics and Registry Analysis
SANS Forensics 2009 - Memory Forensics and Registry Analysismooyix
 
HKG18-TR14 - Postmortem Debugging with Coresight
HKG18-TR14 - Postmortem Debugging with CoresightHKG18-TR14 - Postmortem Debugging with Coresight
HKG18-TR14 - Postmortem Debugging with CoresightLinaro
 
Windbg랑 친해지기
Windbg랑 친해지기Windbg랑 친해지기
Windbg랑 친해지기Ji Hun Kim
 
OSMC 2015 | Linux Performance Profiling and Monitoring by Werner Fischer
OSMC 2015 | Linux Performance Profiling and Monitoring by Werner FischerOSMC 2015 | Linux Performance Profiling and Monitoring by Werner Fischer
OSMC 2015 | Linux Performance Profiling and Monitoring by Werner FischerNETWAYS
 
OSDC 2015: Georg Schönberger | Linux Performance Profiling and Monitoring
OSDC 2015: Georg Schönberger | Linux Performance Profiling and MonitoringOSDC 2015: Georg Schönberger | Linux Performance Profiling and Monitoring
OSDC 2015: Georg Schönberger | Linux Performance Profiling and MonitoringNETWAYS
 
metadatacoreProperties.xmlModel2015-07-13T030104Zthua3267th.docx
metadatacoreProperties.xmlModel2015-07-13T030104Zthua3267th.docxmetadatacoreProperties.xmlModel2015-07-13T030104Zthua3267th.docx
metadatacoreProperties.xmlModel2015-07-13T030104Zthua3267th.docxARIV4
 
YOW2020 Linux Systems Performance
YOW2020 Linux Systems PerformanceYOW2020 Linux Systems Performance
YOW2020 Linux Systems PerformanceBrendan Gregg
 
BPF: Tracing and more
BPF: Tracing and moreBPF: Tracing and more
BPF: Tracing and moreBrendan Gregg
 

Similaire à Debugging TV Frame 0x12 (20)

Linux kernel debugging(ODP format)
Linux kernel debugging(ODP format)Linux kernel debugging(ODP format)
Linux kernel debugging(ODP format)
 
Debugging linux
Debugging linuxDebugging linux
Debugging linux
 
Debugging TV Frame 0x34
Debugging TV Frame 0x34Debugging TV Frame 0x34
Debugging TV Frame 0x34
 
Kernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering OopsiesKernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering Oopsies
 
Linux Kernel Crashdump
Linux Kernel CrashdumpLinux Kernel Crashdump
Linux Kernel Crashdump
 
How to debug ocfs2 hang problem
How to debug ocfs2 hang problemHow to debug ocfs2 hang problem
How to debug ocfs2 hang problem
 
OSDC 2017 - Werner Fischer - Linux performance profiling and monitoring
OSDC 2017 - Werner Fischer - Linux performance profiling and monitoringOSDC 2017 - Werner Fischer - Linux performance profiling and monitoring
OSDC 2017 - Werner Fischer - Linux performance profiling and monitoring
 
test
testtest
test
 
LISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceLISA2019 Linux Systems Performance
LISA2019 Linux Systems Performance
 
SANS Forensics 2009 - Memory Forensics and Registry Analysis
SANS Forensics 2009 - Memory Forensics and Registry AnalysisSANS Forensics 2009 - Memory Forensics and Registry Analysis
SANS Forensics 2009 - Memory Forensics and Registry Analysis
 
HKG18-TR14 - Postmortem Debugging with Coresight
HKG18-TR14 - Postmortem Debugging with CoresightHKG18-TR14 - Postmortem Debugging with Coresight
HKG18-TR14 - Postmortem Debugging with Coresight
 
Debugging TV Frame 0x0C
Debugging TV Frame 0x0CDebugging TV Frame 0x0C
Debugging TV Frame 0x0C
 
Windbg랑 친해지기
Windbg랑 친해지기Windbg랑 친해지기
Windbg랑 친해지기
 
Dx diag
Dx diagDx diag
Dx diag
 
OSMC 2015 | Linux Performance Profiling and Monitoring by Werner Fischer
OSMC 2015 | Linux Performance Profiling and Monitoring by Werner FischerOSMC 2015 | Linux Performance Profiling and Monitoring by Werner Fischer
OSMC 2015 | Linux Performance Profiling and Monitoring by Werner Fischer
 
OSDC 2015: Georg Schönberger | Linux Performance Profiling and Monitoring
OSDC 2015: Georg Schönberger | Linux Performance Profiling and MonitoringOSDC 2015: Georg Schönberger | Linux Performance Profiling and Monitoring
OSDC 2015: Georg Schönberger | Linux Performance Profiling and Monitoring
 
metadatacoreProperties.xmlModel2015-07-13T030104Zthua3267th.docx
metadatacoreProperties.xmlModel2015-07-13T030104Zthua3267th.docxmetadatacoreProperties.xmlModel2015-07-13T030104Zthua3267th.docx
metadatacoreProperties.xmlModel2015-07-13T030104Zthua3267th.docx
 
Debugging TV Frame 0x02
Debugging TV Frame 0x02Debugging TV Frame 0x02
Debugging TV Frame 0x02
 
YOW2020 Linux Systems Performance
YOW2020 Linux Systems PerformanceYOW2020 Linux Systems Performance
YOW2020 Linux Systems Performance
 
BPF: Tracing and more
BPF: Tracing and moreBPF: Tracing and more
BPF: Tracing and more
 

Plus de Dmitry Vostokov

Accelerated Windows Debugging 3 training public slides
Accelerated Windows Debugging 3 training public slidesAccelerated Windows Debugging 3 training public slides
Accelerated Windows Debugging 3 training public slidesDmitry Vostokov
 
Accelerated .NET Memory Dump Analysis training public slides
Accelerated .NET Memory Dump Analysis training public slidesAccelerated .NET Memory Dump Analysis training public slides
Accelerated .NET Memory Dump Analysis training public slidesDmitry Vostokov
 

Plus de Dmitry Vostokov (20)

Accelerated Windows Debugging 3 training public slides
Accelerated Windows Debugging 3 training public slidesAccelerated Windows Debugging 3 training public slides
Accelerated Windows Debugging 3 training public slides
 
Accelerated .NET Memory Dump Analysis training public slides
Accelerated .NET Memory Dump Analysis training public slidesAccelerated .NET Memory Dump Analysis training public slides
Accelerated .NET Memory Dump Analysis training public slides
 
Debugging TV Frame 0x1C
Debugging TV Frame 0x1CDebugging TV Frame 0x1C
Debugging TV Frame 0x1C
 
Debugging TV Frame 0x1A
Debugging TV Frame 0x1ADebugging TV Frame 0x1A
Debugging TV Frame 0x1A
 
Debugging TV Frame 0x33
Debugging TV Frame 0x33Debugging TV Frame 0x33
Debugging TV Frame 0x33
 
Debugging TV Frame 0x31
Debugging TV Frame 0x31Debugging TV Frame 0x31
Debugging TV Frame 0x31
 
Debugging TV Frame 0x25
Debugging TV Frame 0x25Debugging TV Frame 0x25
Debugging TV Frame 0x25
 
Debugging TV Frame 0x24
Debugging TV Frame 0x24Debugging TV Frame 0x24
Debugging TV Frame 0x24
 
Debugging TV Frame 0x21
Debugging TV Frame 0x21Debugging TV Frame 0x21
Debugging TV Frame 0x21
 
Debugging TV Frame 0x20
Debugging TV Frame 0x20Debugging TV Frame 0x20
Debugging TV Frame 0x20
 
Debugging TV Frame 0x19
Debugging TV Frame 0x19Debugging TV Frame 0x19
Debugging TV Frame 0x19
 
Debugging TV Frame 0x18
Debugging TV Frame 0x18Debugging TV Frame 0x18
Debugging TV Frame 0x18
 
Debugging TV Frame 0x17
Debugging TV Frame 0x17Debugging TV Frame 0x17
Debugging TV Frame 0x17
 
Debugging TV Frame 0x16
Debugging TV Frame 0x16Debugging TV Frame 0x16
Debugging TV Frame 0x16
 
Debugging TV Frame 0x15
Debugging TV Frame 0x15Debugging TV Frame 0x15
Debugging TV Frame 0x15
 
Debugging TV Frame 0x14
Debugging TV Frame 0x14Debugging TV Frame 0x14
Debugging TV Frame 0x14
 
Debugging TV Frame 0x13
Debugging TV Frame 0x13Debugging TV Frame 0x13
Debugging TV Frame 0x13
 
Debugging TV Frame 0x11
Debugging TV Frame 0x11Debugging TV Frame 0x11
Debugging TV Frame 0x11
 
Debugging TV Frame 0x10
Debugging TV Frame 0x10Debugging TV Frame 0x10
Debugging TV Frame 0x10
 
Debugging TV Frame 0x0F
Debugging TV Frame 0x0FDebugging TV Frame 0x0F
Debugging TV Frame 0x0F
 

Dernier

Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxalwaysnagaraju26
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburgmasabamasaba
 

Dernier (20)

Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 

Debugging TV Frame 0x12

  • 1. Frame 0x12 Presenter: Dmitry Vostokov Sponsors Debugging.TV
  • 2. • Software Diagnostics Pattern Language for Mac OS • Core Dump Analysis Pattern Interaction Example • Partial Stack Trace Reconstruction Topics © 2012 Software Diagnostics Institute
  • 3. Patterns for Mac OS X © 2012 Software Diagnostics Institute ISBN: 978-1908043405
  • 4. Truncated Stack Trace © 2012 Software Diagnostics Institute DumpAnalysis$ ls -l /cores total 2357440 -r-------- 1 root admin 301752320 1 Aug 02:35 core.103 -r-------- 1 root admin 301752320 1 Aug 02:45 core.107 -r-------- 1 root admin 301752320 1 Aug 02:23 core.148 -r-------- 1 DumpAnalysis admin 0 1 Aug 02:46 core.413 -r-------- 1 root admin 301752320 1 Aug 02:30 core.78 DumpAnalysis$ sudo gdb -c /cores/core.103 (gdb) bt #0 0x00045d6c in l2_packet_receive () #1 0x8fea1c9c in ?? () Previous frame inner to this frame (gdb could not unwind past this frame)
  • 5. Execution Residue © 2012 Software Diagnostics Institute (gdb) x/1000a $esp-1000 […] 0xbffffa48: 0x0 0x9a5664c4 <vsnprintf+12> 0x91796 <pcap_read_bpf+17> 0x99 0xbffffa58: 0xbffffa78 0x9a566502 <vsnprintf+74> 0xbffffaf8 0x100 […] 0xbffffa68: 0xacda7524 <__global_locale> 0x9a81c 0x91796 <pcap_read_bpf+17> 0xbffffc28 0xbffffa78: 0xbffffa98 0x920b1 <pcap_oneshot+35> 0xbffffc58 0xbffffae8 […] 0xbffffa88: 0x110 0xbffffab4 0xbffffab4 0x300000 0xbffffa98: 0xbffffc08 0x91b1c <pcap_read_bpf+919> 0xbffffc28 0xbffffae8 […] 0xbffffbf8: 0x0 0x45d2d <l2_packet_receive> 0x8a9800 0x8ba0 <eloop_run+12> 0xbffffc08: 0xbffffc38 0x91feb <pcap_next+58> 0x8a9800 0x1 […] 0xbffffc28: 0xbffffc58 0xbffffc24 0x8a9800 0x0 0xbffffc38: 0xbffffc88 0x45d52 <l2_packet_receive+37> 0x8a9800 0xbffffc58 […] 0xbffffc78: 0x37323335 0x30373833 0x76732037 0x45422063 0xbffffc88: 0x8fe9e100 0x8fea1c9c 0x0 0x1a3500 […] 0xbffffd58: 0x0 0x0 0xff0000 0xffffff 0xbffffd68: 0xbffffdd8 0x43c04 <main+1143> 0x2084a0 0x208200 […] 0xbffffdc8: 0x0 0x2084a0 0xbffffe28 0x0 0xbffffdd8: 0xbffffdf0 0x2356 <start+54> 0x5 0xbffffdf8
  • 6. Regular Buffer © 2012 Software Diagnostics Institute 0xbffffc38: 0xbffffc88 0x45d52 <l2_packet_receive+37> 0x8a9800 0xbffffc58 0xbffffc48: 0xbffffc58 0x9a4e5ca4 <__commpage_gettimeofday+20>0x0 0xbffffca4 0xbffffc58: 0x50185dbe 0x7a161 0x99 0x99 0xbffffc68: 0x20646970 0x72f240e8 0x300012 0x300012 0xbffffc78: 0x37323335 0x30373833 0x76732037 0x45422063 0xbffffc88: 0x8fe9e100 0x8fea1c9c 0x0 0x1a3500 0xbffffc98: 0xbffffba8 0x91fb1 <pcap_next> 0x5e35c <dyld_stub_pcap_lookupnet+2> 0x364 0xbffffca8: 0x4d00030c 0x7863c 0x33c4de9 0x41d7e900 0xbffffcb8: 0xacdac044 <__is_threaded>0x1464 0x8fea1c9c 0x5e35f <dyld_stub_pcap_next> 0xbffffcc8: 0xbffffba8 0x8fe824c8 0x8fea1c9c 0x5e35f <dyld_stub_pcap_next> 0xbffffcd8: 0x1464 0x786bc 0x91fb1 <pcap_next> 0x8fea27cc 0xbffffce8: 0x8fe9e140 0x1000002 0x8fe8234e 0x11 0xbffffcf8: 0x4 0x13e8 0x71354 0x786bc 0xbffffd08: 0x8fea27cc 0x5e364 <dyld_stub_pcap_open_live> 0x8fe6eefb 0x8ba0 <eloop_run+12> 0xbffffd18: 0xbffffbc8 0x8fe6ef6f 0x8fea1c9c 0x5e364 <dyld_stub_pcap_open_live> 0xbffffd28: 0x8fe9e140 0x9a513557 <malloc_zone_malloc+75> 0x45d2d <l2_packet_receive> 0x8a9800 0xbffffd38: 0xbffffc38 0x8fe7fdbe 0x0 0x5e364 <dyld_stub_pcap_open_live> 0xbffffd48: 0xbffffc08 0x1a0000 0x0 0x0 0xbffffd58: 0x0 0x0 0xff0000 0xffffff 0xbffffd68: 0xbffffdd8 0x43c04 <main+1143> 0x2084a0 0x208200 0xbffffd78: 0x59ec0 <base64_table+12068> 0xbffffdf8 0xbffffe10 0xbffffe28 (gdb) x/s 0xbffffc78 0xbffffc78: "532738707 svc BE"
  • 7. !Ad Hardcore Technical Support Training Sept 3, 2012 Systemic Software Diagnostics (FREE Webinar) October 12-15, 2012 Accelerated Windows Software Trace Analysis November 16-26, 2012 Accelerated Windows Memory Dump Analysis November 2-5, 2012 Accelerated Mac OS X Core Dump Analysis December 7-10, 2012 Accelerated Windows Malware Analysis © 2012 Software Diagnostics Institute Forthcoming in December, 2012