From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,f2b75e1128a07545 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,f2b75e1128a07545 X-Google-Attributes: gidfee84,public From: bsh20858@challenger.fhda.edu (Brian S Hiles ) Subject: Re: dbx weirdness with fork(2) Date: 1995/11/21 Message-ID: <48rti4$kcb@tiptoe.fhda.edu>#1/1 X-Deja-AN: 119878827 references: <48hvig$ea@solaris.cc.vt.edu> followup-to: comp.unix.osf.osf1,comp.unix.questions organization: Foothill DeAnza College District newsgroups: comp.unix.osf.osf1,comp.unix.questions 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