[Psi-devel] [BUG] Unusable Psi
textshell-I1QKlO at neutronstar.dyndns.org
textshell-I1QKlO at neutronstar.dyndns.org
Mon Mar 5 17:01:10 PST 2007
On Mon, Mar 05, 2007 at 06:33:13AM +0100, Michał Jazłowiecki wrote:
> textshell wrote:
>
> > what exactly do you mean by gdb froze? If you type continue psi will
> > not take any input, until your programm is halted again, either by
> > pressing ctrl-c in the gdb window or by some crash/breakpoint.
>
> Let's suppose that Psi's PID is 3856:
>
> (gdb) attach 3856
> Attaching to process 3856
> [Switching to thread 3856.0x60c]
> (gdb) continue
> Continuing.
>
> My question is: Should gdb return to its (gdb) prompt now, or it will
> wait for something to break into debugger? Ctrl-C doesn't seem to work
> (no response) and Ctrl-Break terminates gdb.
>
it should return to the prompt on Ctrl-C. Maybe you did something unusual
with the terminals on windows. Windows is quite flakey with those
commandline/console based apps, esp. if some kind of unix programms
are involved (any cygwin <-> windows is really messed up)
> > the other way is to start psi from gdb: (approx like this)
> > $ gdb psi
> > (gdb) start
> > [now get psi to the hang]
> > <ctrl>-C
> > (gdb) bt
> > [stack trace follows]
>
> This one works for me, although it's not "start" but "run". And Ctrl-C
> still doesn't work. Maybe this has something to do that my gdb is
> version 5.2.1 and the newest available for Unices is 6.6 :/
yes, i should have written "run", start is something different.
>
>
> Anyway, something has changed over the time as Psi does not freeze
> anymore while connecting to chrome.pl. And I didn't change anything in
> Psi options nor did I recompile Psi. I will retry the procedure once Psi
> starts freezing again.
>
i still think this is the gnupg bug. It seems to depend on who is online
while testing.
can you please apply the attached information gathering patch and if psi
freezes again post the last page of console output to the list?
And please try to find out if you have a gdb process around if psi freezes.
I can't reproduce the bug here, so need a bit more of information...
>
> Thanks for the info about gdb,
>
np.
- Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-threading-gather2.diff
Type: text/x-diff
Size: 2536 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070306/ca9a0201/attachment.bin
More information about the psi-devel
mailing list