GNOME Bugzilla – Bug 636052
SIGSEGV loading planet gnome
Last modified: 2010-11-29 15:52:48 UTC
webkit and libsoup master: Program received signal SIGSEGV, Segmentation fault. 0x036dbbf4 in gvdb_table_bloom_filter (file=0x311def4, hash_value=1072) at ../gvdb/gvdb-reader.c:209 209 return (file->bloom_words[word] & mask) == mask; (gdb) bt
+ Trace 224894
and glib/glib-networking master? i'm seeing sporadic gcrypt crashes in libsoup when using tls-enabled glib. not reproducible under valgrind of course :-/
I was misremembering: it wasn't that I couldn't reproduce it under valgrind, it was that I couldn't get it to make any sense. Your backtrace was senseless in a more sensible way though. The following fix has been pushed: 187a710 gnutls: Fix a crash caused by loading and unloading the module
Created attachment 175477 [details] [review] gnutls: Fix a crash caused by loading and unloading the module If gio-querymodules isn't run to update the cache then gio will need to load and unload the module at startup time. This was causing crashes in apps that used gcrypt elsewhere, because gcrypt was being initialized to use our module's mutex functions, which then no longer existed after unloading. Fix this in two different ways: first, force the module to remain resident after gtls_gnutls_init() has been called, and second, don't call gtls_gnutls_init() if we're just being called from g_io_modules_scan_all_in_directory().