After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 687099 - GLib-CRITICAL **: g_hash_table_lookup_extended: assertion `hash_table != NULL' failed
GLib-CRITICAL **: g_hash_table_lookup_extended: assertion `hash_table != NULL...
Status: RESOLVED DUPLICATE of bug 683433
Product: libsoup
Classification: Core
Component: Misc
2.38.x
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2012-10-29 11:03 UTC by Paul Menzel
Modified: 2012-10-29 12:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2012-10-29 11:03:12 UTC
Running Debian Sid/unstable with self built Midori from Git (0.4.7+), starting Midori the following is printed to the command line.

    (midori4:7666): GLib-CRITICAL **: g_hash_table_lookup_extended: assertion `hash_table != NULL' failed

    (midori4:7666): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

    (midori4:7666): libsoup-CRITICAL **: soup_header_free_param_list: assertion `param_list != NULL' failed

Starting it with GDB and option `--g-fatal-warnings`, I was able to get the following backtrace and looking at it I think the problem lies within LibSoup and not Midori. But please correct me if I am wrong.

Thread 1 (Thread 0xb38a2890 (LWP 18250))

  • #0 g_logv
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmessages.c line 765
  • #1 g_log
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmessages.c line 792
  • #2 g_return_if_fail_warning
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmessages.c line 801
  • #3 g_hash_table_lookup_extended
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/ghash.c line 1108
  • #4 soup_cache_entry_set_freshness
    at soup-cache.c line 358
  • #5 soup_cache_entry_new
    at soup-cache.c line 482
  • #6 msg_got_headers_cb
    at soup-cache.c line 980
  • #7 g_cclosure_marshal_VOID__VOID
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./gobject/gmarshal.c line 85
  • #8 g_closure_invoke
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./gobject/gclosure.c line 777
  • #9 signal_emit_unlocked_R
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c line 3551
  • #10 g_signal_emit_valist
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c line 3300
  • #11 g_signal_emit
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c line 3356
  • #12 soup_message_got_headers
    at soup-message.c line 1068
  • #13 io_read
    at soup-message-io.c line 975
  • #14 g_cclosure_marshal_VOID__VOIDv
  • #15 _g_closure_invoke_va
  • #16 g_signal_emit_valist
  • #17 g_signal_emit
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c line 3356
  • #18 socket_read_watch
    at soup-socket.c line 1332
  • #19 pollable_source_dispatch
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./gio/gpollableinputstream.c line 232
  • #20 g_main_dispatch
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmain.c line 2539
  • #21 g_main_context_dispatch
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmain.c line 3075
  • #22 g_main_context_iterate
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmain.c line 3146
  • #23 g_main_loop_run
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmain.c line 3340
  • #24 IA__gtk_main
    at /build/buildd-gtk+2.0_2.24.10-2-i386-Tg7Q_2/gtk+2.0-2.24.10/gtk/gtkmain.c line 1256
  • #25 main
    at ../midori/main.c line 2479

Program received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0xb7eec78e "GLib", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, 
    format=format@entry=0xb7ef52a2 "%s: assertion `%s' failed", 
    args1=args1@entry=0xbfffe94c "9\f\357\267@\n\357\267\070\303]\200h.[\200w\301^\267\330\340]\200f\211\356\267\364\257\365\267X\177鷎\307\356\267\071\f\357\267@\n\357\267<\003^\267\370j_\200")
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmessages.c:765
765	in /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmessages.c
Continuing.
[Thread 0xb115cb70 (LWP 18274) exited]

Program received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0xb76105c7 "libsoup", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, 
    format=format@entry=0xb7ef52a2 "%s: assertion `%s' failed", args1=args1@entry=0xbfffe97c "\002Oa\267\334Ma\267\300Y\377\267")
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmessages.c:765
765	in /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gmessages.c
Continuing.
Comment 1 Dan Winship 2012-10-29 12:01:25 UTC

*** This bug has been marked as a duplicate of bug 683433 ***