[Users] Reproducible segfault in search

Kevin Chadwick ma1l1ists at yahoo.co.uk
Wed Apr 30 00:28:13 CEST 2014


When I search a particular large box of messages using edit search
folder I get a reproducible segfault on OpenBSD with claws-mail-3.9.3p1
and claws-mail-pdfviewer-3.9.3p1.

I could perhaps systrace it and track down the particular message?

Also when searching on one box then another I have to click on a message
before it will search the newly selected box even after open and close
of the search.

Sylpheed works fine and has customisable date format, can that be done in
claws and does sylpheed support utf8 out of interest. I'd probably miss
attachment remover which can probably be easily ported but other than 
that I am not sure what I would miss?


(gdb) bt
#0  0x0dd7212e in g_utf8_casefold () from /usr/local/lib/libglib-2.0.so.4000.0
#1  0x1af10ee0 in matcherprop_new () from /usr/local/bin/claws-mail
#2  0x1af111b2 in matcherprop_new () from /usr/local/bin/claws-mail
#3  0x1afa9321 in procmime_scan_text_content () from /usr/local/bin/claws-mail
#4  0x1af12505 in matcherlist_match () from /usr/local/bin/claws-mail
#5  0x1aec7be8 in folder_item_search_msgs_local () from /usr/local/bin/claws-mail
#6  0x1aec7ca8 in folder_item_search_msgs () from /usr/local/bin/claws-mail
#7  0x1ae8ec89 in advsearch_expand_search_string () from /usr/local/bin/claws-mail
#8  0x1ae8ed68 in advsearch_expand_search_string () from /usr/local/bin/claws-mail
#9  0x1afc1766 in summary_search () from /usr/local/bin/claws-mail
#10 0x06615726 in g_cclosure_marshal_VOID__VOIDv () from /usr/local/lib/libgobject-2.0.so.4000.0
#11 0x066146b4 in _g_closure_invoke_va () from /usr/local/lib/libgobject-2.0.so.4000.0
#12 0x0662da0a in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.4000.0
#13 0x0662eaf0 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.4000.0
#14 0x05453eaa in gtk_button_clicked () from /usr/local/lib/libgtk-x11-2.0.so.2400.0
#15 0x05455e0e in gtk_real_button_released () from /usr/local/lib/libgtk-x11-2.0.so.2400.0
#16 0x06615709 in g_cclosure_marshal_VOID__VOIDv () from /usr/local/lib/libgobject-2.0.so.4000.0
#17 0x066121e3 in g_type_class_meta_marshalv () from /usr/local/lib/libgobject-2.0.so.4000.0
#18 0x066146b4 in _g_closure_invoke_va () from /usr/local/lib/libgobject-2.0.so.4000.0
#19 0x0662da0a in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.4000.0
#20 0x0662eaf0 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.4000.0
#21 0x05453f3a in gtk_button_released () from /usr/local/lib/libgtk-x11-2.0.so.2400.0
#22 0x05453f71 in gtk_button_button_release () from /usr/local/lib/libgtk-x11-2.0.so.2400.0
#23 0x05518984 in _gtk_marshal_BOOLEAN__BOXED () from /usr/local/lib/libgtk-x11-2.0.so.2400.0
#24 0x06613497 in g_type_class_meta_marshal () from /usr/local/lib/libgobject-2.0.so.4000.0
#25 0x06614950 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.4000.0
#26 0x0662c082 in signal_emit_unlocked_R () from /usr/local/lib/libgobject-2.0.so.4000.0
#27 0x0662df82 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.4000.0
#28 0x0662eaf0 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.4000.0
#29 0x0564c666 in gtk_widget_event_internal () from /usr/local/lib/libgtk-x11-2.0.so.2400.0
#30 0x0551121e in gtk_propagate_event () from /usr/local/lib/libgtk-x11-2.0.so.2400.0
#31 0x05512868 in gtk_main_do_event () from /usr/local/lib/libgtk-x11-2.0.so.2400.0
#32 0x0bfd0e4a in gdk_event_dispatch () from /usr/local/lib/libgdk-x11-2.0.so.2400.0
#33 0x0dd40556 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.4000.0
#34 0x0dd427cf in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.4000.0
#35 0x0dd43977 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.4000.0
#36 0x05512cf1 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.so.2400.0
#37 0x1aefcd22 in main () from /usr/local/bin/claws-mail



'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)

In Other Words - Don't design like polkit or systemd


I have no idea why RTFM is used so aggressively on LINUX mailing lists
because whilst 'apropos' is traditionally the most powerful command on
Unix-like systems it's 'modern' replacement 'apropos' on Linux is a tool
to help psychopaths learn to control their anger.

(Kevin Chadwick)


More information about the Users mailing list