paragui-users
[Top][All Lists]
Advanced

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

Re: [paragui-users] Puzzled newbie question


From: Alexander Pipelka
Subject: Re: [paragui-users] Puzzled newbie question
Date: 29 Apr 2002 10:35:19 +0200

Am Mon, 2002-04-29 um 09.23 schrieb Guillaume Schmid:
<snip>
> Well, it does still Segfault.
> From what i anderstand from the sources and the stack trace (not that
> mutch, I'm affraid, for the moment :), it is the same problem as the
> update thing, but with some mutex. I guess that a mutex is acquired by a
> widget witch is destroyed when I update the content of the listbox. Then
> afted event handling, the mutex should be released but the widget does
> not exist anymore, so is the pointer to the mutex (am I right ?).
> I am sorry to bother you with this, I wish I could solve it myself and
> provide a patch but this library is rather big and dont anderstand it
> fully yet.

Right. Every widget locks it's mutex for processing an event. After
eventprocessing this mutex is unlocked.
If the widget gets deleted while processing the event it will segfault.

Hmm...
How can we solve this ?
Any suggestions, anyone ?

Alex






reply via email to

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