paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] Bug in event handling?


From: Michael Bartl
Subject: Re: [paragui-users] Bug in event handling?
Date: Wed, 16 Apr 2003 23:57:08 +0200
User-agent: Mutt/1.5.4i

On Wed, Apr 16, 2003 at 04:12:30PM +0200, Alexander Pipelka wrote:
> Sorry,...
> This one was (is?) a really nasty one. I've been investigating into this
> quite a long time. The problem was when an object is deleted the
> iterator of the objectlist gets invalidated. I also found some other
> problems related to STL vectors i haven't solved yet.
> 
> At least this bug (to be precise: the symptom) is fixed now.
> 
> Alex

That's great! I already thought you stopped reading the mailing list.
As said it was easy to circumvent, but fixing the source of the problem
is always the right(tm) way todo it :)

btw: have you been able to compile a _working_ paragui python module?

cu,
    Michael
> 
> Am Die, 2003-04-08 um 23.36 schrieb Michael Bartl:
> > Hi!
> > 
> > I have a small problem with event handling in paragui!
> > It can be easily circumvented, but I'm not sure what's the best/right
> > (tm) way todo it!
> > 
> > Compile the attached source and see for yourself!
> > 
> > When clicking the button the window closes and everything is ok, but
> > when placing the cursor in the PG_LineEdit (doesn't matter if there is
> > text entered or not, just don't press enter) and the button is clicked
> > leads to a sefault, due to the fact that the PG_Window doesn't exists
> > anymore!
> > 
> > Shouldn't messages where the recipient is dead be silently discarded?
> > 
> > btw: beware, the code is not out there for review, just a quick hack to
> > show the problem (result can be seen in FreeLords).
> > 
> > Have fun,
> >     Michael




reply via email to

[Prev in Thread] Current Thread [Next in Thread]