Callbacks from an idle function

2005-04-08 Thread Vivien Malerba
Hi! I would appreciate having a bit of help concerning a strange problem. In an application I'm writing (Mergeant), I have enabled multi-threading (g_thread_init() and gtk_threads_init()), but I'm using it with one thread only. I have an idle function callback from which I create: * one custom

Re: Callbacks from an idle function

2005-04-08 Thread Peter Bloomfield
On 04/08/2005 10:22:59 AM, Vivien Malerba wrote: [ snip ] However, still from the same function, I then destroy the custom widget, and the whole application locks. A backtrace from gdb attached to the locked application gives: (gdb) bt #0 0x00ad37a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2

Re: Callbacks from an idle function

2005-04-08 Thread Vivien Malerba
On Apr 8, 2005 5:26 PM, Peter Bloomfield [EMAIL PROTECTED] wrote: On 04/08/2005 10:22:59 AM, Vivien Malerba wrote: [ snip ] However, still from the same function, I then destroy the custom widget, and the whole application locks. A backtrace from gdb attached to the locked application

Re: Callbacks from an idle function

2005-04-08 Thread Peter Bloomfield
On 04/08/2005 11:41:57 AM, Vivien Malerba wrote: On Apr 8, 2005 5:26 PM, Peter Bloomfield [EMAIL PROTECTED] wrote: [ snip ] Perhaps you're trying to use gdk_threads_enter recursively? Instant lock... I did not use gdk_threads_enter()/gdk_threads_leave() when I posted the message. Oh, well,

Re: Callbacks from an idle function

2005-04-08 Thread Bill Medland
On April 8, 2005 09:20 am, Vivien Malerba wrote: On Apr 8, 2005 6:13 PM, Peter Bloomfield [EMAIL PROTECTED] wrote: On 04/08/2005 11:41:57 AM, Vivien Malerba wrote: On Apr 8, 2005 5:26 PM, Peter Bloomfield [EMAIL PROTECTED] wrote: [ snip ] Perhaps you're trying to use