[Psi-devel] Crash in psi FancyPopup::restartHideTimer
Mircea Bardac
dev.list at mircea.bardac.net
Wed Aug 24 18:00:51 PDT 2005
On Monday 15 August 2005 00:18, textshell-I1QKlO at neutronstar.dyndns.org wrote:
> On Sun, Aug 14, 2005 at 11:22:57PM +0300, Mircea Bardac wrote:
> > On Monday 08 August 2005 13:30, textshell-I1QKlO at neutronstar.dyndns.org
wrote:
> > > Hallo,
> > >
> > > Yesterday I got the following crash:
> >
> > I've also been experiencing some weird crashes lately. I have a vague
> > feeling I've been experiencing the same crash, which can be described
> > simply as: psi receives a message, then crashes and vanishes.
> >
> > It happens very rare for me and I've just configured my Linux to save
> > core files. I hope I'll be able to confirm this bug once I get it again.
>
> But I think I got a fix for the problem i had.
> It hadn't been anything threading related.
> the popup show function just didn't proberbly ignored recently closed
> popups...
>
> I'll attach my patch. Maybe that's enought to fix it.
My strategy for capturing crashes paid off (returned a 30MB core file) and now
I can confirm this exact bug in 0.10-test1.
Initial output of: "bt full" - includes local variables
== start quote ==
(gdb) bt full
#0 0x08150329 in FancyPopup::restartHideTimer (this=0x0)
at ../libpsi/psiwidgets/fancypopup.cpp:339
No locals.
#1 0x0825c75b in PsiPopup::show (this=0xb547aca8) at psipopup.cpp:440
pp = (class PsiPopup *) 0xb56bd270
#2 0x0825b2b2 in PsiPopup::setData (this=0xb547aca8, icon=0x8563388, text=
{static null = {static null = <same as static member of an already seen
type>, d = 0x8481388, static shared_null = 0x8481388}, d = 0xb5734da0, static
shared_null = 0x8481388}) at psipopup.cpp:329
No locals.
== end quote ==
According to this output, at #0 "this=0x0" tells me that #1 might be calling a
function on an object which does not exist - I might be wrong though - this
is my first thought only.
Given this, I think that race should be investigated and, why not, the patch
in the e-mail I've just replied could be given a try (after a review).
I can provide more information from the core file, if needed.
Mircea
/IceRAM
--
Psi Forums Moderator/Bug Tracker Manager
Psi Windows Installer Maintainer/ArchLinux Package Maintainer
http://mircea.bardac.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/psi-devel-affinix.com/attachments/20050825/35558e8a/attachment.pgp
More information about the Psi-devel-affinix.com
mailing list