Libpurple disconnecting issue

Benjamin Arnaud bunjeee at free.fr
Wed Mar 26 11:45:45 EDT 2008


Hi there,

Once again I need help from a libpurple's guru.

I'm developping a threaded Qt windows client. I have a full thread to run Libpurple in its own GLIB loop environment.


It's running on windows I have this line in my event input add:
#ifdef _WIN32

channel = wpurple_g_io_channel_win32_new_socket(fd);



Unfortunately it appears that when calling "purple_account_disconnect" I get random crashes :

the only output I have is :

(client.exe:352): GLib-CRITICAL ** : g_hash_table_destroy: assertion `hash_table->ref_count > 0' failed.

(I get this line FOUR times).

When calling "g_io_channel_unix_new" instead of "wpurple_g_io_channel_win32_new_socket" the error disappears.



Has anyone encountered the same thing ? Can it be an issue with threading ? Could I contribute to solve this ?

Thanks.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20080326/630170cf/attachment.html>


More information about the Devel mailing list