[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sylpheed
Subject:    [sylpheed:24477] Re: Segfault on signed messages?
From:       Dennis Carr <ke6isf () chez-vrolet ! net>
Date:       2005-03-29 17:37:17
Message-ID: 20050329093717.091cc24c.ke6isf () chez-vrolet ! net
[Download RAW message or body]

On Wed, 30 Mar 2005 00:08:18 +0900
Daichi Kawahata <daichi.k@aioros.ocn.ne.jp> wrote:

> On Mon, 28 Mar 2005 11:58:51 -0800
> Dennis Carr wrote:
>  
> > Unfortunately, I don't know how to use gdb... a few pointers on
> > this?
> 
> You can simply type
> 
>     $ gdb sylpheed core 

(snipped for brevity)

Wow, fully detailed instructions.  Thank you, Daichi. =^_^=

> then post attached your stuck trace
> log to this ML or someone concerned with this coding.

Here 'tis.  Might be semi-appropriate for the ml, as it's probably of
interest for dev in general.

Results of bt full:

#0  0x08118ce6 in pgp_sign (plain=0x8280890, key_list=0x827f560,
#clearsign=0, 
    micalg=0xbffed624) at rfc2015.c:1013
        p = (GSList *) 0x8283190
        ctx = 0x827f560
        err = 0
        sig = 0x8281cc8
        result = 0x8283190
        info = {c = 0x827f560, did_it = 0}
#1  0x081191c0 in rfc2015_sign (
    file=0xbfffb7d0 "/home/ke6isf/.sylpheed/tmp/tmpmsg.0x8243f10", 
    key_list=0x0) at rfc2015.c:1127
        fp = (FILE *) 0x827f700
        buf = "\r\n\000tent-Transfer-Encoding: quoted-printable\r\n\000
i686-pc-linux-gnu)\r\n", '\0' <repeats 6225 times>, "d\034N@", '\0'
<repeats 16 times>,
"\030òY@DÕX@Lõþ¿,ïþ¿ÁjM@Lõþ¿DÕX@\a\000\000\000\a\000\000\000d\034N@¤>M@
È\v\032\b¡ÁK@\000\000\000\000\030òY@Ï\004\024\b\000\000\000\0000õþ¿ÉÔK@
Lõþ¿Ï\004\024\b", '\0' <repeats 40 times>,
"\034õþ¿ìðþ¿\000\000\000\000\000\000\000"...        i = -1073818048
        clineidx = 3
        saved_last = 0
        clines = {0x827f4f0 "Content-Type: text/plain;
charset=US-ASCII\r\n",   0x824d170 "Content-Disposition: inline\r\n", 
  0x827f528 "Content-Transfer-Encoding: quoted-printable\r\n"}
        err = 0
        header = 0x827f868
        plain = 0x8280890
        sigdata = 0x0
        bytesRW = 3
        mime_version_seen = 1
        boundary = 0x827f688
"Signature=_Tue__29_Mar_2005_09_28_02_-0800_XUaOZ24f5kzcNz3b"       
micalg = 0x0
#2  0x08092993 in compose_write_to_file (compose=0x8243f10, 
    file=0xbfffb7d0 "/home/ke6isf/.sylpheed/tmp/tmpmsg.0x8243f10",
is_draft=0)    at compose.c:2818
        key_list = (GSList *) 0x0
        fp = (FILE *) 0x827f520
        chars = (gchar *) 0x0
        buf = (gchar *) 0x81d58c0 "\230í'\b¨Ô'\b\020"
        canon_buf = (gchar *) 0x0
        out_codeset = (const gchar *) 0x81265d7 "US-ASCII"
        encoding = ENC_QUOTED_PRINTABLE
#3  0x08098562 in compose_send_cb (data=0x8243f10, action=0, widget=0x0)
    at compose.c:2478
No locals.
#4  0x0809a89c in compose_send_control_enter (compose=0x8243f10)
    at compose.c:5950
        ev = (GdkEvent *) 0x8247a58
        ifactory = (GtkItemFactory *) 0x0
        accel = (GtkAccelEntry *) 0xbffed500
        send_menu = (GtkWidget *) 0x0
        list = (GSList *) 0xbffed500
#5  0x400cbf86 in gtk_marshal_NONE__NONE () from
#/usr/lib/libgtk-1.2.so.0
No symbol table info available.
#6  0x08268ad0 in ?? ()
No symbol table info available.
#7  0x08243f10 in ?? ()
No symbol table info available.
#8  0x4016ff74 in ?? () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#9  0x4010338d in gtk_signal_connect_while_alive ()
   from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#10 0x08268ad0 in ?? ()
No symbol table info available.
#11 0x0809a8b0 in compose_send_control_enter () at compose.c:5951
        quote_color = {pixel = 0, red = 0, green = 0, blue = 49151}
        compose_mime_types = {{target = 0x8123b4e "text/uri-list", flags
= 0,     info = 0}}
        compose_popup_entries = {{path = 0x812604a "/_Add...", 
    accelerator = 0x0, callback = 0x8099390 <compose_attach_cb>, 
    callback_action = 0, item_type = 0x0}, {path = 0x8126053 "/_Remove",
    accelerator = 0x0, callback = 0x80961a0
<compose_attach_remove_selected>,     callback_action = 0, item_type =
0x0}, {path = 0x811fec0 "/---",     accelerator = 0x0, callback = 0,
callback_action = 0,     item_type = 0x811f96b "<Separator>"}, {path =
0x8121da3 "/_Properties...",     accelerator = 0x0, callback = 0x8096200
<compose_attach_property>,     callback_action = 0, item_type = 0x0}}
        compose_list = (GList *) 0x824491c
        attach_prop = {window = 0x0, mimetype_entry = 0x0, 
  encoding_optmenu = 0x0, path_entry = 0x0, filename_entry = 0x0, 
  ok_btn = 0x0, cancel_btn = 0x0}
        compose_entries = {{path = 0x811f90a "/_File", accelerator =
0x0,     callback = 0, callback_action = 0, item_type = 0x811f911
"<Branch>"}, {    path = 0x812605c "/_File/_Send", 
    accelerator = 0x8126069 "<control>Return", 
    callback = 0x8098480 <compose_send_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x8126079 "/_File/Send _later", 
    accelerator = 0x812608c "<shift><control>S", 
    callback = 0x80987a0 <compose_send_later_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x811f977 "/_File/---", accelerator = 0x0,
    callback = 0, callback_action = 0, item_type = 0x811f96b
"<Separator>"}, {    path = 0x812609e "/_File/Save to _draft folder", 
    accelerator = 0x81260bb "<shift><control>D", 
    callback = 0x80990a0 <compose_draft_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x81260cd "/_File/Save and _keep editing",
    accelerator = 0x8126093 "<control>S", 
    callback = 0x80990a0 <compose_draft_cb>, callback_action = 1, 
    item_type = 0x0}, {path = 0x811f977 "/_File/---", accelerator = 0x0,
    callback = 0, callback_action = 0, item_type = 0x811f96b
"<Separator>"}, {    path = 0x81260eb "/_File/_Attach file", 
    accelerator = 0x811fec5 "<control>M", 
    callback = 0x8099390 <compose_attach_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x81260ff "/_File/_Insert file", 
    accelerator = 0x811fe95 "<control>I", 
    callback = 0x8099320 <compose_insert_file_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x8126113 "/_File/Insert si_gnature", 
    accelerator = 0x812612c "<control>G", 
    callback = 0x8099410 <compose_insert_sig_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x811f977 "/_File/---", accelerator = 0x0,
    callback = 0, callback_action = 0, item_type = 0x811f96b
"<Separator>"}, {    path = 0x81233f1 "/_File/_Close", accelerator =
0x8126137 "<control>W",     callback = 0x8099420 <compose_close_cb>,
callback_action = 0,     item_type = 0x0}, {path = 0x813cbcf "/_Edit",
accelerator = 0x0,     callback = 0, callback_action = 0, item_type =
0x811f911 "<Branch>"}, {    path = 0x8126142 "/_Edit/_Undo", accelerator
= 0x812614f "<control>Z",     callback = 0x8099a50 <compose_undo_cb>,
callback_action = 0,     item_type = 0x0}, {path = 0x812615a
"/_Edit/_Redo",     accelerator = 0x8126167 "<control>Y", 
    callback = 0x8099a70 <compose_redo_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x811fa55 "/_Edit/---", accelerator = 0x0,
    callback = 0, callback_action = 0, item_type = 0x811f96b
"<Separator>"}, {    path = 0x8126172 "/_Edit/Cu_t", accelerator =
0x81262da "<control>X",     callback = 0x8099a90 <compose_cut_cb>,
callback_action = 0,     item_type = 0x0}, {path = 0x811fa14
"/_Edit/_Copy",     accelerator = 0x811fa21 "<control>C", 
    callback = 0x8099b00 <compose_copy_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x812617e "/_Edit/_Paste", 
    accelerator = 0x812618c "<control>V", 
    callback = 0x8099b70 <compose_paste_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x8126197 "/_Edit/Paste as _quotation", 
    accelerator = 0x0, callback = 0x8099be0 <compose_paste_as_quote_cb>,
    callback_action = 0, item_type = 0x0}, {
    path = 0x811fa2c "/_Edit/Select _all", 
    accelerator = 0x812008a "<control>A", 
    callback = 0x8099c60 <compose_allsel_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x81261b2 "/_Edit/A_dvanced", accelerator
= 0x0,     callback = 0, callback_action = 0, item_type = 0x811f911
"<Branch>"}, {    path = 0x8126bec "/_Edit/A_dvanced/Move a character
backward",     accelerator = 0x81261c3 "<control>B", 
    callback = 0x8099cd0 <compose_gtk_stext_action_cb>, callback_action
= 2,     item_type = 0x0}, {
    path = 0x8126c18 "/_Edit/A_dvanced/Move a character forward", 
    accelerator = 0x811fa82 "<control>F", 
    callback = 0x8099cd0 <compose_gtk_stext_action_cb>, callback_action
= 1,     item_type = 0x0}, {
    path = 0x8126c44 "/_Edit/A_dvanced/Move a word backward", 
    accelerator = 0x0, callback = 0x8099cd0
<compose_gtk_stext_action_cb>,     callback_action = 4, item_type =
0x0}, {    path = 0x8126c6c "/_Edit/A_dvanced/Move a word forward", 
    accelerator = 0x0, callback = 0x8099cd0
<compose_gtk_stext_action_cb>,     callback_action = 3, item_type =
0x0}, {    path = 0x8126c94 "/_Edit/A_dvanced/Move to beginning of
line",     accelerator = 0x0, callback = 0x8099cd0
<compose_gtk_stext_action_cb>,     callback_action = 0, item_type =
0x0}, {    path = 0x8126cc0 "/_Edit/A_dvanced/Move to end of line", 
    accelerator = 0x81261ce "<control>E", 
    callback = 0x8099cd0 <compose_gtk_stext_action_cb>, callback_action
= 5,     item_type = 0x0}, {
    path = 0x8126ce8 "/_Edit/A_dvanced/Move to previous line", 
    accelerator = 0x81261d9 "<control>P", 
    callback = 0x8099cd0 <compose_gtk_stext_action_cb>, callback_action
= 7,     item_type = 0x0}, {path = 0x8126d10 "/_Edit/A_dvanced/Move to
next line",     accelerator = 0x81261e4 "<control>N", 
    callback = 0x8099cd0 <compose_gtk_stext_action_cb>, callback_action
= 6,     item_type = 0x0}, {
    path = 0x8126d34 "/_Edit/A_dvanced/Delete a character backward", 
    accelerator = 0x811fe3f "<control>H", 
    callback = 0x8099cd0 <compose_gtk_stext_action_cb>, callback_action
= 9,     item_type = 0x0}, {
    path = 0x8126d64 "/_Edit/A_dvanced/Delete a character forward", 
    accelerator = 0x81260c2 "<control>D", 
    callback = 0x8099cd0 <compose_gtk_stext_action_cb>, callback_action
= 8,     item_type = 0x0}, {
    path = 0x8126d90 "/_Edit/A_dvanced/Delete a word backward", 
    accelerator = 0x0, callback = 0x8099cd0
<compose_gtk_stext_action_cb>,     callback_action = 11, item_type =
0x0}, {    path = 0x8126db8 "/_Edit/A_dvanced/Delete a word forward", 
    accelerator = 0x0, callback = 0x8099cd0
<compose_gtk_stext_action_cb>,     callback_action = 10, item_type =
0x0}, {    path = 0x81261ef "/_Edit/A_dvanced/Delete line", 
    accelerator = 0x811fe1c "<control>U", 
    callback = 0x8099cd0 <compose_gtk_stext_action_cb>, callback_action
= 12,     item_type = 0x0}, {
    path = 0x8126de0 "/_Edit/A_dvanced/Delete to end of line", 
    accelerator = 0x812620c "<control>K", 
    callback = 0x8099cd0 <compose_gtk_stext_action_cb>, callback_action
= 14,     item_type = 0x0}, {path = 0x811fa55 "/_Edit/---", accelerator
= 0x0,     callback = 0, callback_action = 0, item_type = 0x811f96b
"<Separator>"}, {    path = 0x8126e08 "/_Edit/_Wrap current paragraph", 
    accelerator = 0x81200fa "<control>L", 
    callback = 0x808f310 <compose_wrap_line>, callback_action = 0, 
    item_type = 0x0}, {path = 0x8126217 "/_Edit/Wrap all long _lines", 
    accelerator = 0x8126233 "<control><alt>L", 
    callback = 0x80908a0 <compose_wrap_line_all>, callback_action = 0, 
    item_type = 0x0}, {path = 0x8126243 "/_Edit/Aut_o wrapping", 
    accelerator = 0x81200f3 "<shift><control>L", 
    callback = 0x8099de0 <compose_toggle_autowrap_cb>, callback_action =
0,     item_type = 0x811f9ef "<ToggleItem>"}, {path = 0x811fa8d
"/_View",     accelerator = 0x0, callback = 0, callback_action = 0, 
    item_type = 0x811f911 "<Branch>"}, {path = 0x8126259 "/_View/_To", 
    accelerator = 0x0, callback = 0x8099e40 <compose_toggle_to_cb>, 
    callback_action = 0, item_type = 0x811f9ef "<ToggleItem>"}, {
    path = 0x8126264 "/_View/_Cc", accelerator = 0x0, 
    callback = 0x8099f30 <compose_toggle_cc_cb>, callback_action = 0, 
    item_type = 0x811f9ef "<ToggleItem>"}, {path = 0x812626f
"/_View/_Bcc",     accelerator = 0x0, callback = 0x809a020
<compose_toggle_bcc_cb>,     callback_action = 0, item_type = 0x811f9ef
"<ToggleItem>"}, {    path = 0x812627b "/_View/_Reply to", accelerator =
0x0,     callback = 0x809a110 <compose_toggle_replyto_cb>,
callback_action = 0,     item_type = 0x811f9ef "<ToggleItem>"}, {path =
0x811fad3 "/_View/---",     accelerator = 0x0, callback = 0,
callback_action = 0,     item_type = 0x811f96b "<Separator>"}, {
    path = 0x812628c "/_View/_Followup to", accelerator = 0x0, 
    callback = 0x809a1e0 <compose_toggle_followupto_cb>, callback_action
= 0,     item_type = 0x811f9ef "<ToggleItem>"}, {path = 0x811fad3
"/_View/---",     accelerator = 0x0, callback = 0, callback_action = 0, 
    item_type = 0x811f96b "<Separator>"}, {path = 0x81262a0
"/_View/R_uler",     accelerator = 0x0, callback = 0x809a4d0
<compose_toggle_ruler_cb>,     callback_action = 0, item_type =
0x811f9ef "<ToggleItem>"}, {    path = 0x811fad3 "/_View/---",
accelerator = 0x0, callback = 0,     callback_action = 0, item_type =
0x811f96b "<Separator>"}, {    path = 0x81262ae "/_View/_Attachment",
accelerator = 0x0,     callback = 0x809a2b0 <compose_toggle_attach_cb>,
callback_action = 0,     item_type = 0x811f9ef "<ToggleItem>"}, {path =
0x8120065 "/_Tools",     accelerator = 0x0, callback = 0,
callback_action = 0,     item_type = 0x811f911 "<Branch>"}, {
    path = 0x812006d "/_Tools/_Address book", 
    accelerator = 0x8120083 "<shift><control>A", 
    callback = 0x80996c0 <compose_address_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x81262c1 "/_Tools/_Template", 
    accelerator = 0x0, callback = 0, callback_action = 0, 
    item_type = 0x811f911 "<Branch>"}, {path = 0x81200bd
"/_Tools/Actio_ns",     accelerator = 0x0, callback = 0, callback_action
= 0,     item_type = 0x811f911 "<Branch>"}, {path = 0x8120095
"/_Tools/---",     accelerator = 0x0, callback = 0, callback_action = 0,
    item_type = 0x811f96b "<Separator>"}, {
    path = 0x8126e28 "/_Tools/Edit with e_xternal editor", 
    accelerator = 0x81262d3 "<shift><control>X", 
    callback = 0x8099850 <compose_ext_editor_cb>, callback_action = 0, 
    item_type = 0x0}, {path = 0x8120095 "/_Tools/---", accelerator =
0x0,     callback = 0, callback_action = 0, item_type = 0x811f96b
"<Separator>"}, {    path = 0x81262e5 "/_Tools/PGP Si_gn", accelerator =
0x0,     callback = 0x809a450 <compose_toggle_sign_cb>, callback_action
= 0,     item_type = 0x811f9ef "<ToggleItem>"}, {
    path = 0x81262f7 "/_Tools/PGP _Encrypt", accelerator = 0x0, 
    callback = 0x809a490 <compose_toggle_encrypt_cb>, callback_action =
0,     item_type = 0x811f9ef "<ToggleItem>"}, {path = 0x8120162
"/_Help",     accelerator = 0x0, callback = 0, callback_action = 0, 
    item_type = 0x811f911 "<Branch>"}, {path = 0x8120227
"/_Help/_About",     accelerator = 0x0, callback = 0x80f0220
<about_show>, callback_action = 0,     item_type = 0x0}}
#12 0x0000c415 in ?? ()
No symbol table info available.
#13 0x081fd0c8 in ?? ()
No symbol table info available.
#14 0x00000128 in ?? ()
No symbol table info available.
#15 0x080624e8 in ?? ()
No symbol table info available.
#16 0x00000001 in ?? ()
No symbol table info available.
#17 0x0000000a in ?? ()
No symbol table info available.
#18 0x00000000 in ?? ()
No symbol table info available.
#19 0x00000000 in ?? ()
No symbol table info available.
#20 0x000000cf in ?? ()
No symbol table info available.
#21 0x00000000 in ?? ()
No symbol table info available.
#22 0xbfffcb78 in ?? ()
No symbol table info available.
#23 0x00000000 in ?? ()
No symbol table info available.
#24 0xbfffc920 in ?? ()
No symbol table info available.
#25 0x00000000 in ?? ()
No symbol table info available.
#26 0x4016ff74 in ?? () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#27 0x08268ad0 in ?? ()
No symbol table info available.
#28 0x00000074 in ?? ()
No symbol table info available.
#29 0x081feaa0 in ?? ()
No symbol table info available.
#30 0x40104ed7 in gtk_signal_emit_by_name () from
#/usr/lib/libgtk-1.2.so.0
No symbol table info available.
#31 0xbfffc920 in ?? ()
No symbol table info available.
#32 0x00000001 in ?? ()
No symbol table info available.
#33 0xbfffcbc8 in ?? ()
No symbol table info available.
#34 0xbfffcba8 in ?? ()
No symbol table info available.
#35 0x0825e6c8 in ?? ()
No symbol table info available.
#36 0x0827f51a in ?? ()
No symbol table info available.
#37 0xbfffcab4 in ?? ()
No symbol table info available.
#38 0x0824e634 in ?? ()
No symbol table info available.
#39 0x00000000 in ?? ()
No symbol table info available.
#40 0x0827f51a in ?? ()
No symbol table info available.
#41 0x00000000 in ?? ()
No symbol table info available.
#42 0xbfffc920 in ?? ()
No symbol table info available.
#43 0x00000001 in ?? ()
No symbol table info available.
#44 0x00000000 in ?? ()
No symbol table info available.
#45 0x00000000 in ?? ()
No symbol table info available.
#46 0x404f2419 in wcsrtombs () from /lib/tls/libc.so.6
No symbol table info available.

...and results of l:

5951    compose.c: No such file or directory.
        in compose.c

-Dennis


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic