This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Insight freezes when trying to debug Mozilla
Fernando Nasser wrote:
> ...
> > > .... Unfortunately the STOP button
> > > is dead because the Linux thread code fails to keep the GUI alive (a bug in that code,
> > > at least for Insight purposes -- I will tell people on the gdb list about this).
Could you tell me the name of the "gdb list"?
> >
> > This is the part I care about. Thanks.
> >
>
> You're welcome.
If I send a SIGSTOP to mozilla when the insight GUI freezes then
mozilla stops and Insight unfreezes and reports a SIGSTP.
It appears I can debug after this.
This appears to be a work around. Thanks.
> OK, so the "not keeping the GUI alive" is the problem.
>
> > > > > Use the second gdb "up" command and see
> > > > > what is being done at lin-lwp.c:766 I would guess it is a waitpid() call.
> > > > > You could see what the pid is, maybe trying sending it a SIGINT...
> > > >
> > > > Line 766 of lin-lwp.c is calling sigsuspend().
> >