Yes I think so. Even though the sleep() didn't work in 100% of the cases
like I've written before, the app always crashes at this point if it
crashes. I'll try it with a thread-check now (I just was looking at the
same part of code when you wrote your answer).

Am Freitag, den 09.03.2007, 12:04 +0100 schrieb Philippe BERNERY:
> Le 9 mars 07 à 11:47, Pirmin Walthert a écrit :
> 
> > It seems like the GaimIMFactory was not ready on linux before it is
> > passed to the MultiIMFactory if I have several accounts. At least I  
> > had
> > no crash at all (started the application for 20 times) after adding a
> > sleep(2) (did not test other values) to main.cpp. This is not a fix,
> > this is only for reproducing and workaround this issue => Perhaps  
> > there
> > should be a function that checks if GaimIMFactory was ready?
> 
> I have a look in GaimIMFactory::GaimIMInit code (where Gaim is  
> initialized). Add the end of the method there is a g_thread_create.  
> Maybe we should check that the thread is started and that  
> GaimMainEventLoop is ready before going further.
> 
> --
> Philippe BERNERY <[EMAIL PROTECTED]>
> http://dev.openwengo.org
> 
> 
> 

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to