Crash when opening a signed mail [was Re: Some hints for usability improvements]




În data de Sî, 21 ian 06 la 18:51, Peter Bloomfield a scris:
On 01/21/2006 10:56:28 AM Sat, Mişu Moldovan wrote:
On Thu, 19 Jan 2006 18:50:50 -0500
Peter Bloomfield <peterbloomfield bellsouth net> wrote:
[ snip ]
We had some reports of problems with old glib/gtk installations--what versions were involved?

2.6.4/2.6.4 as included in Debian stable (aka Sarge). Balsa is 2.3.8. Ok, I have just started it again and it doesn't crash anymore. It crashes only when previewing a certain mail which happened to be the last one in my Inbox at that time (and having the preference to automatically open Inbox and automatically open a mail, it crashed Balsa on startup). I've also noticed that this mail doesn't crashes the same version of Balsa on a Gentoo system which has a 2.8.8 gtk and a 2.8.4 glib. The mail in mbox format for the curious may be downloaded from:
http://gnomero.ath.cx/signed_mail_that_crashes_Balsa.mbox.txt
http://gnomero.ath.cx/signed_mail_that_crashes_Balsa.mbox.gz
(just to be sure)

Thanks for making it available! I tried it the same way (last message in an mbox, auto-open, auto-display) on FC4 (gtk-2.2.8, glib-2.8.4), and had no problem.

Sorry, my mistake. That particular mail doesn't have to be the last one in a folder to trigger the crash. It triggers it when previewed/opened every time on my Debian stable box. It just happened to be the last one in my Inbox at some time and crashed Balsa on start-up. Unfortunately that was exactly when I've compiled for the first time 2.3.8 on this box so I assumed it doesn't work at all...

I've attached the backtrace and full backtrace from gbd. Hope that helps a bit. If there's anything else that I can, just let me know.

Thanks,

--
    .
/^)/_/(/
    '
attempted to verify:
----- BEGIN SIGNED PART -----

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 23127)]
0x40f7828f in vfprintf () from /lib/libc.so.6
(gdb) bt
#0  0x40f7828f in vfprintf () from /lib/libc.so.6
#1  0x40f7e992 in printf () from /lib/libc.so.6
#2  0x40043fb7 in g_mime_multipart_signed_verify () from /usr/lib/libgmime-2.0.so.2
#3  0x080f9928 in libbalsa_body_check_signature (body=0x8399180, protocol=4294967295)
    at rfc3156.c:543
#4  0x08080a4d in libbalsa_msg_try_mp_signed (message=0xbffff1f8, body=0x8399180,
    chk_crypto=0xbffff750) at balsa-message.c:2489
#5  0x080810a0 in libbalsa_msg_perform_crypto_real (message=0x84099a8, body=0x8399180,
    chk_crypto=0xbffff750) at balsa-message.c:2661
#6  0x08081142 in balsa_message_perform_crypto (message=0x84099a8, chk_mode=3221221880,
    no_mp_signed=-1073745416, max_ref=3221221880) at balsa-message.c:2721
#7  0x0807d732 in balsa_message_set (bm=0x8288af8, message=0x84099a8) at balsa-message.c:865
#8  0x080a00b2 in balsa_window_idle_cb (window=0x8241268) at main-window.c:4586
#9  0x40d37583 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#10 0x40d34582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#11 0x40d355f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0x40d35930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0x40d35ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#14 0x409f7bb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x080a1dee in main (argc=1, argv=0xbffff9d4) at main.c:658
(gdb) bt full
#0  0x40f7828f in vfprintf () from /lib/libc.so.6
No symbol table info available.
#1  0x40f7e992 in printf () from /lib/libc.so.6
No symbol table info available.
#2  0x40043fb7 in g_mime_multipart_signed_verify () from /usr/lib/libgmime-2.0.so.2
No symbol table info available.
#3  0x080f9928 in libbalsa_body_check_signature (body=0x8399180, protocol=4294967295)
    at rfc3156.c:543
        session = (GMimeSession *) 0x8379c50
        ctx = (GMimeCipherContext *) 0x8381bc0
        valid = (GMimeSignatureValidity *) 0xffffffff
        error = (GError *) 0x0
#4  0x08080a4d in libbalsa_msg_try_mp_signed (message=0xbffff1f8, body=0x8399180,
    chk_crypto=0xbffff750) at balsa-message.c:2489
        err = (GError *) 0x0
        signres = 0
#5  0x080810a0 in libbalsa_msg_perform_crypto_real (message=0x84099a8, body=0x8399180,
    chk_crypto=0xbffff750) at balsa-message.c:2661
        mime_type = (gchar *) 0x8379c60 "multipart/signed"
        chk_body = (LibBalsaMessageBody *) 0xbffff750
#6  0x08081142 in balsa_message_perform_crypto (message=0x84099a8, chk_mode=3221221880,
    no_mp_signed=-1073745416, max_ref=3221221880) at balsa-message.c:2721
        chk_crypto = {chk_mode = LB_MAILBOX_CHK_CRYPT_MAYBE, no_mp_signed = 0, max_ref = 1,
  sender = 0x838a880 "Mugurel Tudor <mugurel tudor avira com>",
  subject = 0x8384070 "sttuza versiune 0.2.2"}
#7  0x0807d732 in balsa_message_set (bm=0x8288af8, message=0x84099a8) at balsa-message.c:865
        is_new = 0
        has_focus = 0
        iter = {stamp = 80, user_data = 0x40d8f100, user_data2 = 0xbffff7b8, user_data3 = 0x80d9d14}
        info = (BalsaPartInfo *) 0xbffff1f8
#8  0x080a00b2 in balsa_window_idle_cb (window=0x8241268) at main-window.c:4586
        set_message_id = 3221221880
        index = (BalsaIndex *) 0x50
#9  0x40d37583 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x40d34582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---q

Attachment: pgpL8q3MeZgpI.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]