Re: dde Debug message

From: Paul Pluzhnikov (ppluzhnikov-nsp_at_charter.net)
Date: 01/22/04


Date: 21 Jan 2004 15:28:09 -0800

jvadn0@uky.edu (Jon Vadney) writes:

> I tried using the dde
> debugger to debug the core file and got the following error msg

The DDE is the absolute worst debugger I have ever used.
Unfortunately, it is the only one that can debug MT apps on hpux 10.20
If at all possible, try moving to hpux 11.23 -- it has *real*
threads (not the DCE garbage), and gdb works quite well on it.

> Target process died because of: SIGSEGV - segmentation violation.
> end.o has not been linked in.

The missing 'end.o' may be the first problem: be sure to compile
*and* link with '-g'

The other thing you can do is run the app under gdb until it SIGSERVs
-- gdb will not be able to switch between threads, but it should
be able to tell you the stack trace for the thread that crashes.

Good luck.

-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


Relevant Pages

  • Re: Firewire blues
    ... I compiled a kernel with exactly the same options that you cited below. ... it entering the debugger and waiting for the remote gdb attach. ... When I try to attach from the debug machine, ...
    (freebsd-hackers)
  • Re: DDD debugger problem
    ... Ioannis Hadjichambis wrote: ... > I am trying to debug my program using the DDD debugger. ... > (gdb) set args ...
    (comp.lang.c)
  • Re: FreeBSD 7.0 Beta, RC, RELEASE (amd64) freezes with dummynet enabled
    ... I have some screenshots from debug console after the ... [GDB will not be able to debug user-mode threads: ... KDB: enter: manual escape to debugger ... I disabled the polling, for my suprise, the server didn`t crashed after some minutes, but after 1 hour, but crushed, maybe only a coincidence, but maybe not. ...
    (freebsd-current)
  • Re: FreeBSD 7.0 Beta, RC, RELEASE (amd64) freezes with dummynet enabled
    ... The original thread and my post with details is ... I have some screenshots from debug console after the ... [GDB will not be able to debug user-mode threads: ... KDB: enter: manual escape to debugger ...
    (freebsd-current)
  • Re: Debugging an execed process
    ... built with full debug info. ... Set debugger response to a program call of fork or vfork. ... In order to understand recursion you must first understand recursion. ...
    (comp.unix.programmer)