]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/crash_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / crash_example.txt
1 The following is an example of the crashed application script, crash.d
2 This demonstration is for version 0.80 of crash.d, newer versions may 
3 produce enhanced output.
4
5 Here is the report generated as crash.d catches a crashing procmail process,
6
7 # ./crash.d
8 Waiting for crashing applications...
9
10 -----------------------------------------------------
11 CRASH DETECTED at 2005 May 30 19:41:34
12 -----------------------------------------------------
13 Type:    SIGSEGV
14 Program: procmail
15 Args:    procmail -m\0
16 PID:     2877
17 TID:     1
18 LWPs:    1
19 PPID:    1778
20 UID:     100
21 GID:     1
22 TaskID:  76
23 ProjID:  3
24 PoolID:  0
25 ZoneID:  0
26 zone:    global
27 CWD:     /usr/include/sys
28 errno:   0
29
30 User Stack Backtrace,
31               procmail`sendcomsat+0x24
32               procmail`Terminate+0x76
33               procmail`0x805a2b0
34               procmail`0x805a40f
35               libc.so.1`__sighndlr+0xf
36               libc.so.1`call_user_handler+0x22b
37               libc.so.1`sigacthandler+0xbb
38               0xffffffff
39               procmail`rread+0x1d
40               procmail`0x805bcb4
41               procmail`read2blk+0x6b
42               procmail`readdyn+0x1f
43               procmail`readmail+0x181
44               procmail`main+0x532
45               procmail`_start+0x5d
46
47 Kernel Stack Backtrace,
48               genunix`sigaddqa+0x3f
49               genunix`trapsig+0xdb
50               unix`trap+0xc2b
51               unix`_cmntrap+0x83
52
53 Ansestors,
54     2877 procmail -m\0
55       1778 bash\0
56         1777 xterm -bg black -fg grey70 -sl 500 -vb\0
57           1 /sbin/init\0
58             0 sched\0
59
60 Times,
61     User:    0 ticks
62     Sys:     1 ticks
63     Elapsed: 3307 ms
64
65 Sizes,
66     Heap:   16388 bytes
67     Stack:  8192 bytes
68