xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Examples/crash_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1The following is an example of the crashed application script, crash.d
2This demonstration is for version 0.80 of crash.d, newer versions may
3produce enhanced output.
4
5Here is the report generated as crash.d catches a crashing procmail process,
6
7# ./crash.d
8Waiting for crashing applications...
9
10-----------------------------------------------------
11CRASH DETECTED at 2005 May 30 19:41:34
12-----------------------------------------------------
13Type:    SIGSEGV
14Program: procmail
15Args:    procmail -m\0
16PID:     2877
17TID:     1
18LWPs:    1
19PPID:    1778
20UID:     100
21GID:     1
22TaskID:  76
23ProjID:  3
24PoolID:  0
25ZoneID:  0
26zone:    global
27CWD:     /usr/include/sys
28errno:   0
29
30User 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
47Kernel Stack Backtrace,
48              genunix`sigaddqa+0x3f
49              genunix`trapsig+0xdb
50              unix`trap+0xc2b
51              unix`_cmntrap+0x83
52
53Ansestors,
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
60Times,
61    User:    0 ticks
62    Sys:     1 ticks
63    Elapsed: 3307 ms
64
65Sizes,
66    Heap:   16388 bytes
67    Stack:  8192 bytes
68
69