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