[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] strace weirdness
|
- From: "Greg Lopp" <lopp@pobox.com>
- To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
- Subject: Re: [PLUG] strace weirdness
- Date: Tue, 3 Jul 2007 12:40:23 -0500
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=lfnbPklH4o7mDMOS7LMH5ny3oBPZnDzfMioe6gS2u2WX+tslxdKwIe5axuM1ZZOnqzIVn0Is/gDCxs4X+5Bg0Kjmq1DSWkHqyxS8YBzozNuaT3XJMEONRZeP+AU4q+uPHGBI8e002JJfuNEq9LiNkEPEeILY6goE0+fbInsKtNc=
- Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
- Sender: plug-bounces@lists.phillylinux.org
Sounds like it was a lockup, not a failure. When he tried to debug the problem with strace, the problem did not manifest. I do so love the Heisenbugs[1].
Is it acceptable to run it via "strace -o /dev/null <program> &" or some such?
1] http://en.wikipedia.org/wiki/Heisenbug#Heisenbugs
On 7/3/07, Mag Gam
<magawake@gmail.com> wrote:Is there a 'core' dump? or segment fault? What libraries is the application using (ldd)?
On 7/3/07, Jon Nelson <lists@linuxnotes.net
> wrote:
On Tue, 2007-07-03 at 08:53 -0500, Greg Lopp wrote: > Is this your program (that you are still debugging) or a more
> established package? > > Sounds like a race condition. The processing time consumed by strace > overhead may be the element which prevents the hang. Can you tell us > more about the program or "certain keys"?
> > > On 7/3/07, Jon Nelson <lists@linuxnotes.net> wrote: > Hi all,
> > I have a program that starts up, but after certain keys are
> pressed it > hangs. I used strace to run the program and it runs fine. I > am > baffled. Is there any obvious reason this happening? > > Jon
I knew I would get that question. I can't talk about the specifics of the program, but let's say that it is a UI with many options to choose from on the main screen. You can arrow to the different options, but as
soon as you try to execute one of the options (Enter) it will freeze. It also freezes when you try to exit normally (Esc).
Thanks for the help.
Jon
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements -
http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________ Philadelphia Linux Users Group --
http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|