What does SIGTRAP mean?

  • Follow


I have a program exited with SIGTRAP and a core file dumped:

$ gdb test core
....
Program terminated with signal 5, Trace/Breakpoint Trap.


But there is no one to debug the process at the time.
Why is it core dumped? Does it mean there is a bug caused the core?

-- 
Steven Ding
dwj<at>asia.com
0
Reply Steven 7/16/2004 7:28:29 AM

On Fri, 16 Jul 2004, Steven Ding wrote:

> I have a program exited with SIGTRAP and a core file dumped:
>
> $ gdb test core
> ...
> Program terminated with signal 5, Trace/Breakpoint Trap.

SIGTRAP was originally caused by the PDP TRAP instruction,
but these days its semantics are platform-specific.

General, something has gone wrong in your program.  :-)

> Why is it core dumped? Does it mean there is a bug caused the core?

Yes.

-- 
Rich Teer, SCNA, SCSA

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net
0
Reply Rich 7/16/2004 4:34:05 PM


1 Replies
715 Views

(page loaded in 0.407 seconds)

Similiar Articles:





7/22/2012 3:11:54 PM


Reply: