[dev] [surf] Surf crashes (soup problem?)

From: Sandra Snan <sandra.snan_AT_handgranat.org>
Date: Mon, 7 Dec 2009 19:45:45 +0100

Hi, I’ve found a bug, but I don’t know if it’s in libsoup or if it’s
in suckless’ surf, which uses libsoup, or if it’s in some other
library in between (webkit?).

The situation is that I go to http://identi.ca/main/openid
enter my openID uri (to a server that runs phpMyID version 0.9),
hit RET,
the dialog box from the openID server comes up, I enter correct name and pass,
surf crashes.

I first ran into this with surf release 0.3, and the debian unstable
amd64 package of libsoup2.4-1 version 2.4.1-2,
but I recompiled surf with libsoup from git (december seventh), and
then I tried it with surf from hg tip, too. Same problem with all
three tries. (Stable surf + stable soup, stable surf + git soup, hg
surf + git soup.)

ellen% ldd ./surf|grep soup
        libsoup-2.4.so.1 => /usr/lib/libsoup-2.4.so.1 (0x00007f8676e1c000)

Here is the error message:

**
libsoup:ERROR:soup-auth-digest.c:378:soup_auth_digest_compute_response:
code should not be reached
zsh: abort ./surf

The snippet in soup-auth-digest looks like this:
                if (qop != SOUP_AUTH_DIGEST_QOP_AUTH)
                        g_assert_not_reached ();

And here is the stack trace from gdb:

(gdb) bt
#0 0x00007ffff7abef55 in raise ()
   from /lib/libc.so.6
#1 0x00007ffff7ac1d90 in abort ()
   from /lib/libc.so.6
#2 0x00007ffff3f24ad0 in g_assertion_message ()
   from /lib/libglib-2.0.so.0
#3 0x00007ffff5fb4887 in soup_auth_digest_compute_response () from
/usr/lib/libsoup-2.4.so.1
#4 0x00007ffff5fb4e3b in ?? ()
   from /usr/lib/libsoup-2.4.so.1
#5 0x00007ffff5fc578e in soup_message_set_auth ()
   from /usr/lib/libsoup-2.4.so.1
#6 0x00007ffff5fb7df3 in ?? ()
   from /usr/lib/libsoup-2.4.so.1
#7 0x00007ffff43994bd in g_closure_invoke ()
   from /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff43acc8b in ?? ()
   from /usr/lib/libgobject-2.0.so.0
#9 0x00007ffff43ae032 in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff43ae503 in g_signal_emit ()
   from /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff5fd0e26 in soup_session_send_queue_item () from
/usr/lib/libsoup-2.4.so.1
#12 0x00007ffff5fd25ce in ?? ()
   from /usr/lib/libsoup-2.4.so.1
#13 0x00007ffff5fd2663 in ?? ()
   from /usr/lib/libsoup-2.4.so.1
#14 0x00007ffff3eff12a in g_main_context_dispatch ()
---Type <return> to continue, or q <return> to quit---
   from /lib/libglib-2.0.so.0
#15 0x00007ffff3f02988 in ?? ()
   from /lib/libglib-2.0.so.0
#16 0x00007ffff3f02e5d in g_main_loop_run ()
   from /lib/libglib-2.0.so.0
#17 0x00007ffff6329af7 in gtk_main ()
   from /usr/lib/libgtk-x11-2.0.so.0
#18 0x000000000040618f in ?? ()
#19 0x00007ffff7aababd in __libc_start_main ()
   from /lib/libc.so.6
#20 0x0000000000403bd9 in ?? ()
#21 0x00007fffffffea08 in ?? ()
#22 0x000000000000001c in ?? ()
#23 0x0000000000000001 in ?? ()
#24 0x00007fffffffec58 in ?? ()
#25 0x0000000000000000 in ?? ()
Received on Mon Dec 07 2009 - 18:45:45 UTC

This archive was generated by hypermail 2.2.0 : Mon Dec 07 2009 - 18:48:01 UTC