Hi, I have a test which spawns multiple threads, one for a server and then many clients, and makes requests from the clients to the server on localhost. If I run this with libsoup 2.26.2 without GNOME integrate it works fine, but if I enable GNOME integration it occasionally crashes: *** glibc detected *** /home/ross/Programming/cvs/librest/tests/.libs/lt-threaded: double free or corruption (out): 0xb6704398 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7d1caf4] /lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7d1ea96] /usr/lib/libglib-2.0.so.0(g_free+0x36)[0xb7e73cc6] /usr/lib/libORBit-2.so.0(giop_recv_buffer_unuse+0x49)[0xb78b9149] /usr/lib/libORBit-2.so.0(giop_connection_handle_input+0xe0)[0xb78b9660] /usr/lib/libORBit-2.so.0[0xb78d8d23] /usr/lib/libORBit-2.so.0[0xb78db4f6] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1e8)[0xb7e6b848] /usr/lib/libglib-2.0.so.0[0xb7e6ed73] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1ca)[0xb7e6f24a] /usr/lib/libsoup-2.4.so.1(soup_server_run+0x9a)[0xb7fc3fda] /usr/lib/libglib-2.0.so.0[0xb7e95f4f] /lib/i686/cmov/libpthread.so.0[0xb7e13495] /lib/i686/cmov/libc.so.6(clone+0x5e)[0xb7d8fa4e] libORBit appearing says that this is the libproxy GNOME plugin causing problems. I see that there was a fix for this in 2.26.1, but I'm using 2.26.2. Any ideas? If anyone wants to replicate this, then the code is in git://git.moblin.org/librest. You'll need the ross/threaded branch, and the test case is tests/threaded. Cheers, Ross -- Ross Burton mail: ross burtonini com jabber: ross burtonini com www: http://burtonini.com
Attachment:
signature.asc
Description: This is a digitally signed message part