File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed
lldb/test/API/functionalities/postmortem/minidump-new Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change @@ -491,3 +491,17 @@ def test_minidump_sysroot(self):
491
491
spec_dir_norm = os .path .normcase (module .GetFileSpec ().GetDirectory ())
492
492
exe_dir_norm = os .path .normcase (exe_dir )
493
493
self .assertEqual (spec_dir_norm , exe_dir_norm )
494
+
495
+ def test_multiple_exceptions_or_signals (self ):
496
+ """Test that lldb can read the exception information from the Minidump."""
497
+ print ("Starting to read multiple-sigsev.yaml" )
498
+ self .process_from_yaml ("multiple-sigsev.yaml" )
499
+ print ("Done reading multiple-sigsev.yaml" )
500
+ self .check_state ()
501
+ # This process crashed due to a segmentation fault in both it's threads.
502
+ self .assertEqual (self .process .GetNumThreads (), 2 )
503
+ for i in range (2 ):
504
+ thread = self .process .GetThreadAtIndex (i )
505
+ self .assertStopReason (thread .GetStopReason (), lldb .eStopReasonSignal )
506
+ stop_description = thread .GetStopDescription (256 )
507
+ self .assertIn ("SIGSEGV" , stop_description )
Original file line number Diff line number Diff line change
1
+ --- !minidump
2
+ Streams :
3
+ - Type : ThreadList
4
+ Threads :
5
+ - Thread Id : 0x1B4F23
6
+ Context: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000B0010000000000033000000000000000000000006020100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000010A234EBFC7F000010A234EBFC7F00000000000000000000F09C34EBFC7F0000C0A91ABCE97F00000000000000000000A0163FBCE97F00004602000000000000921C40000000000030A434EBFC7F000000000000000000000000000000000000C61D4000000000007F0300000000000000000000000000000000000000000000801F0000FFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFF00FFFFFFFFFFFFFF00FFFFFFFF25252525252525252525252525252525000000000000000000000000000000000000000000000000000000000000000000FFFF00FFFFFFFFFFFFFF00FFFFFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
7
+ Stack :
8
+ Start of Memory Range : 0x7FFFFFFFD348
9
+ Content : ' '
10
+ - Thread Id : 0x1B6D22
11
+ Context: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000B0010000000000033000000000000000000000006020100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000010A234EBFC7F000010A234EBFC7F00000000000000000000F09C34EBFC7F0000C0A91ABCE97F00000000000000000000A0163FBCE97F00004602000000000000921C40000000000030A434EBFC7F000000000000000000000000000000000000C61D4000000000007F0300000000000000000000000000000000000000000000801F0000FFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFF00FFFFFFFFFFFFFF00FFFFFFFF25252525252525252525252525252525000000000000000000000000000000000000000000000000000000000000000000FFFF00FFFFFFFFFFFFFF00FFFFFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
12
+ Stack :
13
+ Start of Memory Range : 0x7FFFF75FDE28
14
+ Content : ' '
15
+ - Type : ModuleList
16
+ Modules :
17
+ - Base of Image : 0x0000000000400000
18
+ Size of Image : 0x00017000
19
+ Module Name : ' a.out'
20
+ CodeView Record : ' '
21
+ - Type : SystemInfo
22
+ Processor Arch : AMD64
23
+ Platform ID : Linux
24
+ CSD Version : ' Linux 3.13'
25
+ CPU :
26
+ Vendor ID : GenuineIntel
27
+ Version Info : 0x00000000
28
+ Feature Info : 0x00000000
29
+ - Type : Exception
30
+ Thread ID : 0x1B4F23
31
+ Exception Record :
32
+ Exception Code : 0xB
33
+ Thread Context : 00000000
34
+ - Type : Exception
35
+ Thread ID : 0x1B6D22
36
+ Exception Record :
37
+ Exception Code : 0xB
38
+ Thread Context : 00000000
39
+ ...
You can’t perform that action at this time.
0 commit comments