Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: bsh20858@challenger.fhda.edu (Brian S Hiles )
Subject: Re: dbx weirdness with fork(2)
Date: 1995/11/21	[thread overview]
Message-ID: <48rti4$kcb@tiptoe.fhda.edu> (raw)
In-Reply-To: 48hvig$ea@solaris.cc.vt.edu

Roger D. Gough (rgough@bev.net) wrote:
: I've just experienced a bizarre problem with dbx on a DEC Alpha
: (OSF/1).  Usually, upon stepping over a fork(2), dbx kindly tells me
: that a new child has been created, complete with PID, whereupon I can
: do all kinds of mean and nasty things.  Now, however, after working
: once with the same program (honest!), dbx hangs in the fork.  If I
: step through the machine code, I get SIGTRAP at the call_pal
: instruction.  After this, I cannot even kill dbx: ps says it's an
: 'uninterruptable sleeping process'.  Any ideas, folks?

SIGTRAP is the mechanism used internally to do process tracing. The
"uninterruptability" is derived from the fact the it is being blocked
in a high-level system call. Are you using "sproc"? (I am unfamiliar 
with OSF.alpha -- sorry). On some systems, a program called "dbxhang"
is provided for just this contigency. This is probably not enough info;
but perhaps some dbx guru "out there" with deign to reply?

-Brian



  reply	other threads:[~1995-11-21  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-17  5:00 dbx weirdness with fork(2) Roger D. Gough
1995-11-21  5:00 ` Brian S Hiles  [this message]
1995-11-21  5:00   ` Peter Thompson
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