|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] strace weirdness
|
Hi
How about trying with ltrace to see whether the problem fanifests in
it?
With regards
Antony
On Tue, 2007-07-03 at 12:40 -0500, Greg Lopp wrote:
> 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
___________________________________________________________________________
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
|
|