FS#10404 - [enchant] sylpheed crashes on compose

Attached to Project: Arch Linux
Opened by Niel Drummond (cyanescent) - Tuesday, 13 May 2008, 06:27 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 12 June 2009, 23:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Alexander Fehr (pizzapunk)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: sylpheed crashes when gtkspell is invoked - it seems to be caused by libenchant, which is patched into the arch version (normally sylpheed uses aspell). a workaround is to add "--disable-gtkspell" to configure.

Additional info:
* sylpheed 2.4.8-1; enchant 1.4.1-1
* gdb backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2af84e16dbb0 (LWP 32492)]
0x00002af848cb845c in enchant_broker_list_dicts () from /usr/lib/libenchant.so.1
(gdb) backtrace
#0 0x00002af848cb845c in enchant_broker_list_dicts () from /usr/lib/libenchant.so.1
#1 0x00000000004522b9 in compose_create ()
#2 0x00000000004555c5 in compose_new ()
#3 0x00002af84a22807d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4 0x00002af84a23ac98 in signal_emit_unlocked_R ()
from /usr/lib/libgobject-2.0.so.0
#5 0x00002af84a23c110 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#6 0x00002af84a23c46a in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#7 0x00002af84a22807d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8 0x00002af84a23ac98 in signal_emit_unlocked_R ()
from /usr/lib/libgobject-2.0.so.0
#9 0x00002af84a23c110 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0x00002af84a23c603 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0x00002af848f4781d in gtk_real_button_released ()
from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00002af84a22807d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0x00002af84a23a5cb in signal_emit_unlocked_R ()
from /usr/lib/libgobject-2.0.so.0
#14 0x00002af84a23c110 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#15 0x00002af84a23c603 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#16 0x00002af848f469bd in gtk_button_button_release ()
from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00002af849014488 in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00002af84a22807d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0x00002af84a23a98f in signal_emit_unlocked_R ()
from /usr/lib/libgobject-2.0.so.0
#20 0x00002af84a23bf8f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0x00002af84a23c603 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0x00002af849128b0e in gtk_widget_event_internal ()
from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00002af84900d003 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00002af84900e04b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00002af8494d2f5c in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0
#26 0x00002af84a89f6fa in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00002af84a8a2df0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#28 0x00002af84a8a32bd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#29 0x00002af84900e467 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x000000000041b6e4 in main ()
(gdb)

Steps to reproduce:
1. start sylpheed
2. click on compose
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Friday, 12 June 2009, 23:01 GMT
Reason for closing:  None
Additional comments about closing:  No responses in +1 month. Please reopen if necessary.
Comment by Jan de Groot (JGC) - Tuesday, 13 May 2008, 06:49 GMT
what version of enchant do you have? This is supposed to be fixed in 1.4.1-2.
Comment by Niel Drummond (cyanescent) - Tuesday, 13 May 2008, 18:25 GMT
yes update fixed it... sorry for the duplicate.

funny, I'm also not able to do searches on closed bugs with this flyspray version.

please close bug.
Comment by Niel Drummond (cyanescent) - Thursday, 07 August 2008, 12:13 GMT
  • Field changed: Percent Complete (100% → 0%)
This bug still re-occurs on my arch64
Comment by Jan de Groot (JGC) - Thursday, 07 August 2008, 12:22 GMT
Please provide version number of enchant and a backtrace of your crash.
Comment by Niel Drummond (cyanescent) - Thursday, 07 August 2008, 18:02 GMT
enchant version 1.4.2-1

===
#0 0x00007f405a2a882b in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1 0x00007f405a2a8c9a in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2 0x00007f405a2a94cd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0x00007f405ba59d27 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#4 0x000000000041b5ec in main (argc=1, argv=0x7fff6597f088) at main.c:328
===

The workaround (disabling gtkspell) still works. The crash now happens after sending the email. The email seems to send successfuly, despite the crash.

Why are we using enchant, if I may ask?
Comment by Jan de Groot (JGC) - Sunday, 10 May 2009, 15:50 GMT
Is this still an issue? I can't reproduce it with current versions of enchant.

Loading...