$ gdb
(gdb) file /vob/signalware/Master/pm/pm |
Reading symbols from /vob/signalware/Master/pm/pm...done.
(gdb) attach 26427
Attaching to program `/vob/signalware/Master/pm/pm', process 26427
Reading symbols from /usr/lib/sparcv9/omni/libdgms.so...done.
Loaded symbols for /usr/lib/sparcv9/omni/libdgms.so
...
sol-thread active.
Retry #1:
Retry #2:
Retry #3:
Retry #4:
[New LWP 1 ]
[New Thread 1 (LWP 1)]
Symbols already loaded for /usr/lib/sparcv9/omni/libdgms.so
...
[Switching to Thread 1 (LWP 1)]
0xffffffff7d7a677c in _poll () from /usr/lib/64/libc.so.1
(gdb) handle SIGSEGV stop print
Signal Stop Print Pass to program Description
SIGSEGV Yes Yes Yes Segmentation fault
(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0xffffffff7d73d28c in strlen () from /usr/lib/64/libc.so.1
(gdb) bt
#0 0xffffffff7d73d28c in strlen () from /usr/lib/64/libc.so.1
#1 0xffffffff7d790308 in _doprnt () from /usr/lib/64/libc.so.1
#2 0xffffffff7d792538 in vsprintf () from /usr/lib/64/libc.so.1
#3 0xffffffff7e71b624 in FtFormatInternationalMsg (catd=0x10075fa50, set_number=45, message_number=109,
defaultString=0xffffffff7c321a0f "M DENY\n %s\n %s\n",
destMsgBuf=0x100186380 "M DENY\n +------+\n| INFO | Acquiring lock on addDelNode.lock.6981\n+------+\n/export/home/omni/bin/DFcat addDelNode.lock.6981 2>&1\n/export/home/omni/bin/DFconvert /tmp/addDelNode.lock.6981\n\n+------+\n|"..., sizeDestMsgBuf=4096)
at ../lib_util.c:1740
#4 0x0000000100010a14 in DoCreateNode (pcmd=0x100624a10) at pm.c:5333
#5 0x0000000100034980 in yyparse () at parse.y:1026
#6 0x000000010003acf4 in parseMML () at nlex.l:1024
#7 0x0000000100037620 in process_mml_cmd () at parse.y:2399
#8 0x000000010000a760 in main (argc=7672264, argv=0x100624e18) at pm.c:1555
(gdb) quit
Monday, July 18, 2011
PM sig_segv
Labels:
debug,
gdb,
signalware