Bug 226 - SC hangs when clicking on "send email"
: SC hangs when clicking on "send email"
Status: RESOLVED FIXED
: Sylpheed-Claws (GTK1)
Other
: 0.9.3
: PC Linux
: P2 major
Assigned To:
:
:
:
  Show dependency treegraph
 
Reported: 2003-07-14 12:17 by
Modified: 2003-12-04 12:24 (History)


Attachments
output of ps ax (4.21 KB, text/plain)
2003-07-15 15:26, JG
no flags Details
strace output (2.57 KB, text/plain)
2003-07-15 15:52, JG
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-07-14 12:17:11
steps to reproduce:
start SC, click on new mail. in the "To:-field" i enter two characters and then
hit TAB to access the address book, then i choose a name, write a test subject
and body and click on send. SC will hang then.
i waited more than 5 minutes, but SC didn't recover.

steps to NOT reproduce (=workaround):
1) write email and don't use the "adress book TAB-feature", but type the
recipient's mail adress directly.

2) i have "auto-sign" message enabled, if i disable it, i can't reproduce this
bug either.
i'm using PGP/MIME and i'm specifying the key manually.
$ gpgme-config --version
0.3.15
$ gpg --version
gpg (GnuPG) 1.2.2
[...]
$ gtk-config --version
1.2.10
$ sylpheed-claws --version
Sylpheed version 0.9.3claws
---
here are the last lines of "sylpheed-claws --debug":
====================================================
[...]
main.c:528:done.
main.c:521:Processing (top level folder)...
main.c:528:done.
addressbook.c:2999:Reading address index...
addressbook.c:3001:address book already read!!!
inc.c:1210:added timer = 219
prefs.c:277:Found [Plugins_GTK]
prefs_gtk.c:63:Reading configuration...
prefs_gtk.c:83:Found [GhostscriptViewer]
prefs_gtk.c:97:Finished reading configuration.
plugin.c:137:Plugin Ghostscript Viewer (from file
/usr/lib/sylpheed-claws/plugins/ghostscript_viewer.
so) loaded
prefs_gtk.c:63:Reading configuration...
prefs_gtk.c:83:Found [ImageViewer]
prefs_gtk.c:97:Finished reading configuration.
plugin.c:137:Plugin Image Viewer (from file
/usr/lib/sylpheed-claws/plugins/image_viewer.so) loaded
spamassassin_gtk.c:289:SpamAssassin GTK plugin loaded
plugin.c:137:Plugin SpamAssassin GTK (from file
/usr/lib/sylpheed-claws/plugins/spamassassin_gtk.so)
loaded
prefs_gtk.c:63:Reading configuration...
prefs_gtk.c:83:Found [Dillo]
prefs_gtk.c:97:Finished reading configuration.
plugin.c:137:Plugin Dillo HTML Viewer (from file
/usr/lib/sylpheed-claws/plugins/dillo_viewer.so) loa                           
                            ded
clamav_plugin_gtk.c:237:ClamAV GTK plugin loaded
plugin.c:137:Plugin Clam AntiVirus GTK (from file
/usr/lib/sylpheed-claws/plugins/clamav_plugin_gtk.s                            
                           o) loaded
compose.c:4782:Creating compose window...
toolbar.c:556:read Toolbar Configuration from toolbar_compose.xml
addr_compl.c:264:start_address_completion ref count 1
template.c:123:template.c:124 reading templates dir /home/joe/.sylpheed/templates
undo.c:306:undo_add(1)*t*
compose.c:6031:Set_undo.  UNDO:2  REDO:1
undo.c:185:g_list_length(undostruct->undo): 0
undo.c:333:New: t Action: 0 Paste: 0
compose.c:6031:Set_undo.  UNDO:0  REDO:2
compose.c:6038:Set_undo - Testpoint
undo.c:306:undo_add(1)*e*
compose.c:6031:Set_undo.  UNDO:2  REDO:1
undo.c:283:Merged: e
undo.c:306:undo_add(1)*s*
compose.c:6031:Set_undo.  UNDO:2  REDO:1
undo.c:283:Merged: s
undo.c:306:undo_add(1)*t*
compose.c:6031:Set_undo.  UNDO:2  REDO:1
undo.c:283:Merged: t
compose.c:3668:queueing message...
codeconv.c:1349:current locale: C
compose.c:3997:Writing To-header
compose.c:3997:Writing Newsgroups-header
compose.c:3997:Writing Cc-header
compose.c:3997:Writing Bcc-header
compose.c:3997:Writing Followup-To-header
compose.c:3997:Writing Reply-To-header

now i had to kill SC.

output of "gdb sylpheed-claws":
===============================
Starting program: /usr/bin/sylpheed-claws
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 31867)]
[New Thread 32769 (LWP 4381)]
[New Thread 16386 (LWP 9019)]

Program received signal SIGINT, Interrupt.
[Switching to Thread 16384 (LWP 31867)]
0x34297cde in select () from /lib/libc.so.6
(gdb) bt full
#0  0x34297cde in select () from /lib/libc.so.6
No symbol table info available.
#1  0x345c561c in __JCR_LIST__ () from /usr/lib/libgpgme.so.6
No symbol table info available.
#2  0x345c043f in _gpgme_io_select () from /usr/lib/libgpgme.so.6
No symbol table info available.
#3  0x345b3be3 in do_select () from /usr/lib/libgpgme.so.6
No symbol table info available.
#4  0x345b38c8 in _gpgme_wait_on_condition () from /usr/lib/libgpgme.so.6
No symbol table info available.
#5  0x345b919e in gpgme_op_keylist_next () from /usr/lib/libgpgme.so.6
No symbol table info available.
#6  0x0813d540 in rfc2015_create_signers_list ()
No symbol table info available.
#7  0x080af3f9 in compose_headerentry_changed_cb ()
No symbol table info available.
#8  0x080b06f9 in compose_headerentry_changed_cb ()
No symbol table info available.
#9  0x080adc91 in compose_create_attach ()
No symbol table info available.
#10 0x080a619e in compose_toolbar_cb ()
No symbol table info available.
#11 0x0815f201 in send_queue_cb ()
No symbol table info available.
#12 0x343a27d6 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#13 0x343d9de1 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#14 0x343d9082 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#15 0x343d6d52 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#16 0x3432c29f in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#17 0x3432d3ba in gtk_real_button_released () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#18 0x343a27d6 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#19 0x343d8f95 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#20 0x343d6d52 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#21 0x3432c1af in gtk_button_released () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#22 0x3432cd71 in gtk_button_button_release () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#23 0x343a2426 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#24 0x343d90c7 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#25 0x343d6d52 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#26 0x34419858 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#27 0x343a20ef in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#28 0x343a1046 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#29 0x3446ee53 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
No symbol table info available.
#30 0x34638d2e in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#31 0x34638aeb in g_main_iterate () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#32 0x34637a94 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#33 0x343a0af7 in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#34 0x0806d703 in main ()
No symbol table info available.
#35 0x341dbdb4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) The program is running.  Exit anyway? (y or n) y

----

if you need the info, i can also provide the output of "strace sylpheed-claws"

JG
------- Comment #1 From 2003-07-15 11:56:08 -------
strace, and a "ps ax" 
------- Comment #2 From 2003-07-15 15:26:09 -------
Created an attachment (id=82) [details]
output of ps ax
------- Comment #3 From 2003-07-15 15:52:16 -------
Created an attachment (id=83) [details]
strace output

don't know if this is enough output, it's as much as in bug report 232, which
describes the same thing i guess.

i killed strace by entering ctrl-c, if i send a SIGTERM (killall
sylpheed-claws) while running SC with strace, SC behaves a bit different.
it then pops up a "notice" window with no text in it, at least i can't see
anything in it ;) SC also writes two draft files of my message i wanted to
send. only a SIGKILL can kill SC now.
------- Comment #4 From 2003-07-15 16:08:10 -------
how good are your debugging skills? 
------- Comment #5 From 2003-07-15 16:09:38 -------
| how good are your debugging skills 
 
what i mean: are you confident enough to hack into the source,  
putting g_print()s in there? 
------- Comment #6 From 2003-07-15 16:44:43 -------
well, if you can point me to the file(s) i have to edit, i guess i can do/try
that (i know some basics in C and java, but not that much in debugging).
i won't be online much the next two days (having 3 exams), but i'll spend some
time for this tomorrow (after)noon (GMT+1).
------- Comment #7 From 2003-12-04 10:33:20 -------
any news on this item anyone? time to close it?