Created attachment 954 [details] Example mail that causes the crash when the instructions are followed Attachments with umlauts can trigger the following crash in gtk's completion_match_func() when using tab completion in the "Save as" menu: (gdb) run Starting program: /usr/local/bin/claws-mail [New LWP 100717] [New Thread 807c07400 (LWP 100717/initial thread)] (claws-mail:50725): GLib-GObject-WARNING **: gsignal.c:1107: no emission of signal "key-press-event" to stop for instance `0x807f806b0' [New Thread 808285000 (LWP 100973/claws-mail)] [New Thread 808285400 (LWP 100974/claws-mail)] (claws-mail:50725): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (claws-mail:50725): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() [Thread 808285000 (LWP 100973/claws-mail) exited] [New Thread 808285000 (LWP 100973/claws-mail)] (claws-mail:50725): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 807c07400 (LWP 100717/initial thread)] 0x00000008072f9788 in strlen () from /lib/libc.so.7 #0 0x00000008072f9788 in strlen () from /lib/libc.so.7 #1 0x0000000800be24e9 in completion_match_func (comp=0x808122ab0, key_unused=0x807c3dbc0 "df", iter=0x7fffffffa820, data=0x8081dd430) at gtkfilechooserentry.c:426 #2 0x0000000800bbad19 in gtk_entry_completion_visible_func (model=0x808121710, iter=0x7fffffffa820, data=0x808122ab0) at gtkentrycompletion.c:817 #3 0x0000000800d8801b in gtk_tree_model_filter_visible (filter=0x80a80b6e0, child_iter=0x7fffffffa820) at gtktreemodelfilter.c:764 #4 0x0000000800d89004 in gtk_tree_model_filter_row_changed (c_model=0x808121710, c_path=0x8083db510, c_iter=0x7fffffffa990, data=0x80a80b6e0) at gtktreemodelfilter.c:1253 #5 0x0000000800d8e67d in gtk_tree_model_filter_refilter_helper (model=0x808121710, path=0x8083db510, iter=0x7fffffffa990, data=0x80a80b6e0) at gtktreemodelfilter.c:3452 #6 0x0000000800d85ac2 in gtk_tree_model_foreach_helper (model=0x808121710, iter=0x7fffffffa990, path=0x8083db510, func=0x800d8e650 <gtk_tree_model_filter_refilter_helper>, user_data=0x80a80b6e0) at gtktreemodel.c:1610 #7 0x0000000800d85c45 in IA__gtk_tree_model_foreach (model=0x808121710, func=0x800d8e650 <gtk_tree_model_filter_refilter_helper>, user_data=0x80a80b6e0) at gtktreemodel.c:1656 #8 0x0000000800d8e731 in IA__gtk_tree_model_filter_refilter (filter=0x80a80b6e0) at gtktreemodelfilter.c:3472 #9 0x0000000800bbb9c0 in IA__gtk_entry_completion_complete (completion=0x808122ab0) at gtkentrycompletion.c:1181 #10 0x0000000800bb5c7d in gtk_entry_completion_timeout (data=0x808122ab0) at gtkentry.c:9313 #11 0x000000080121ad58 in gdk_threads_dispatch (data=0x8082f9ac0) at gdk.c:512 #12 0x00000008057fe9a3 in g_timeout_dispatch (source=0x808345c80, callback=0x80121ad00 <gdk_threads_dispatch>, user_data=0x8082f9ac0) at gmain.c:3585 #13 0x00000008057fad9d in g_main_dispatch (context=0x807c8aa40) at gmain.c:2149 #14 0x00000008057fc5d5 in g_main_context_dispatch (context=0x807c8aa40) at gmain.c:2702 #15 0x00000008057fcba6 in g_main_context_iterate (context=0x807c8aa40, block=1, dispatch=1, self=0x807c17580) at gmain.c:2780 #16 0x00000008057fd443 in g_main_loop_run (loop=0x808319cf0) at gmain.c:2988 #17 0x0000000800ba1f67 in IA__gtk_dialog_run (dialog=0x8081f4050) at gtkdialog.c:1094 #18 0x000000000063df1f in filesel_create (title=0x6c9e2f "Save as", path=0x807c4a8e0 "/home/fk/kram/claws-mail/
Created attachment 955 [details] Patch to fix the problem The attached patch fixes both the rendering issues and the crashes for me.
Changes related to this bug have been committed. Please check latest CVS and update the bug accordingly. You can also get the patch from: http://www.colino.net/claws-mail/ 2011-04-08 [colin] 3.7.8cvs73 * src/gtk/filesel.c Fix bug #2393, "Crashes and rendering problems in the "Save as" menu caused by attachments with extended chars in the file name". Patch derived from a patch bt Fabien Keil
3.7.8cvs73 works for me, too. Thanks.