Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Rajanish Calisa" <rcalisa@ozemail.com.au>
Subject: Re: Compaq TRU64 ladebug
Date: Thu, 6 Sep 2001 06:00:36 +1000	[thread overview]
Message-ID: <W9vl7.498$iH4.39058@ozemail.com.au> (raw)
In-Reply-To: evscpt85hb3l65mmk5hkc3raj8i7mkmgq9@4ax.com


"Big H" <haystacks@bigfoot.com> wrote in message
news:evscpt85hb3l65mmk5hkc3raj8i7mkmgq9@4ax.com...
> Hi,
>
> I'm trying to use a core file with the ladebug debugger (4.0-48)
> However, when running it with an executable and its core file I get
> the following error:
>
> Pthread context initialization failed with status 22
> Unable to switch to decthreads.
>
>
> The executable was built with C++6.1-029 compiler on 4.0D.
>

The core file was probably generated on a system, which has a slightly
different version of Digital Unix, for example 4.0F or there could be
differences in the patch kits installed between the machine on which
the core was dumped and the machine on which the core is being
debugged. Depending on DU version and patch kits installed, the
version of pthread_debug on the system can vary. This is what is
failing when the debugger tries to use the core file.

The ladebug manual tells you how to debug such cores. It is simply a matter
of getting the right shared libraries like libpthread.so,
libpthread_debug.so
among others from the system on which core dump occurred and use them with
the
ladebug on the system you are trying to debug on. There are a few env vars
to
set before running ladebug.

If you can't get system libraries from the remote system, then your only
other
option is to use dbx, but with dbx you will not be able to see posix
threads,
only kernel threads. Most of the time, dbx is enough.

The ladebug you are using is very very old. Get the latest one from Compaq
(HP?)
web site (version 65 I think). The compiler is also very old, so you might
consider upgrading that as well.

rajanish...




      reply	other threads:[~2001-09-05 20:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 18:52 Compaq TRU64 ladebug Big H
2001-09-05 20:00 ` Rajanish Calisa [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox