Re: Strange dead lock with g_threads_enter

2011-03-05 Thread Wei-Ning Huang
that this didn't happen on ubuntu) Thanks, Wei-Ning Huang 2011/3/5 Chris Vine ch...@cvine.freeserve.co.uk On Sat, 5 Mar 2011 11:58:23 +0800 Wei-Ning Huang aitjc...@gmail.com wrote: [snip] From what I can see, the program is stuck because the main thread locked a mutex in #3. But from

Re: Strange dead lock with g_threads_enter

2011-03-06 Thread Wei-Ning Huang
(gtk_events_pending()) gtk_main_iteration()'. That is the reason why the deadlock occurs!!! I remove the line and the deadlock is gone! Big thanks for your help, learned a lot from your reply :) Best regards, Wei-Ning Huang 2011/3/7 Chris Vine ch...@cvine.freeserve.co.uk On Sun, 6 Mar 2011 16:03:43

Re: Strange dead lock with g_threads_enter

2011-03-10 Thread Wei-Ning Huang
I attached a full trace off the the program running, can anyone check it out for me? 2011/3/5 Chris Vine ch...@cvine.freeserve.co.uk On Sat, 5 Mar 2011 11:58:23 +0800 Wei-Ning Huang aitjc...@gmail.com wrote: [snip] From what I can see, the program is stuck because the main thread locked