[Users] [Bug 4721] New: Segmentation fault when trying to open a specific message

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Jan 1 20:48:09 UTC 2024


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4721

            Bug ID: 4721
           Summary: Segmentation fault when trying to open a specific
                    message
           Product: Claws Mail
           Version: 4.1.1
          Hardware: Other
                OS: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: UI/Message View
          Assignee: users at lists.claws-mail.org
          Reporter: steve at fatula.us

This is Raspberry PI OS on a Pi5 5 running Wayland, so, arm64. Kernel is
6.1.0-rpi7-rpi-2712, debian 12 based. Been running claws for years on arm
without issue.

So, 1 message in my inbox, it's bolded (unread) so I click on it and app goes
away (crashes). Installed the debug symbols. This is what I got. I am saving
the raw message off to filesystem in case it might be useful. Unloading the
litehtml plugin does allow claws to not cancel and sort of read the mail
message. But it's the only viewer working for me on the Pi, dillo is a disaster
and doesn't work at all, nor does fancy. So, if that means it's not a claws
mail issue would be happy to report it somewhere else if I knew where. I have
to have a working html email viewer. Likely picked wrong component. 

folderview.c:2401:TIMING folderview_selected : 0s257ms
folderview.c:2277:newly selected 0xa7e140, opened 0xa7e140
folderview.c:2281:TIMING folderview_selected : 0s000ms
[New Thread 0x7fffe1ab2880 (LWP 102310)]
[New Thread 0x7fffe37ee880 (LWP 102311)]
[Thread 0x7fffe1ab2880 (LWP 102310) exited]
[Thread 0x7fffe37ee880 (LWP 102311) exited]
[Thread 0x7ffff1362880 (LWP 102242) exited]
imap.c:1610:trying to fetch cached
/home/sfatula/.claws-mail/imapcache/tuesday.mxrouting.net/steve at fatula.us/INBOX/22745
imap.c:1620:message 22745 has been already fully cached.
procheader.c:170:generic_get_one_field: empty line
procheader.c:170:generic_get_one_field: empty line
procheader.c:170:generic_get_one_field: empty line
    message/rfc822 (offset:0 length:51072 encoding: 6)
        multipart/alternative (offset:4478 length:46594 encoding: 6)
            text/plain (offset:4619 length:2949 encoding: 1)
            text/html (offset:7663 length:43386 encoding: 1)
procheader.c:170:generic_get_one_field: empty line
messageview.c:1297:found part 6/alternative
mimeview.c:853:text/html
lh_viewer.c:137:LH: viewer_create
lh_viewer.c:41:LH: get_widget
lh_viewer.c:41:LH: get_widget
lh_viewer.c:49:LH: show_mimepart
lh_widget.cpp:184:LH: cleared 0 images from image cache
lh_widget.cpp:428:Font set to 'Sans', size 16
lh_widget.cpp:145:lh_widget set_base_url '(null)'

Thread 1 "claws-mail" received signal SIGSEGV, Segmentation fault.
__GI___strlen_asimd () at ../sysdeps/aarch64/multiarch/strlen_asimd.S:96
96      ../sysdeps/aarch64/multiarch/strlen_asimd.S: No such file or directory.
(gdb) thread apply all bt

Thread 21 (Thread 0x7fffe2fde880 (LWP 102264) "claws-mail"):
#0  0x00007ffff5efb694 in __futex_abstimed_wait_common64 (private=0,
cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x85c448) at
./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0,
clockid=0, expected=0, futex_word=0x85c448) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word at entry=0x85c448, expected=expected at entry=0,
clockid=clockid at entry=0, abstime=abstime at entry=0x0, private=private at entry=0) at
./nptl/futex-internal.c:139
#3  0x00007ffff5efe1d0 in __pthread_cond_wait_common (abstime=0x0, clockid=0,
mutex=0x85c3f0, cond=0x85c420) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x85c420, mutex=0x85c3f0) at
./nptl/pthread_cond_wait.c:618
#5  0x00007ffff62c60c0 in mailsem_internal_wait () from
/lib/aarch64-linux-gnu/libetpan.so.20
#6  0x00000000006210c8 in thread_run (data=0x139eec0) at
./src/etpan/etpan-thread-manager.c:320
#7  0x00007ffff5efee18 in start_thread (arg=0x7fffffffc737) at
./nptl/pthread_create.c:442
#8  0x00007ffff5f67e9c in thread_start () at
../sysdeps/unix/sysv/linux/aarch64/clone.S:79

--Type <RET> for more, q to quit, c to continue without paging--c
Thread 5 (Thread 0x7fffe3ffe880 (LWP 102244) "dconf worker"):
#0  0x00007ffff5f5de94 in __GI___poll (fds=0x8c9e50, nfds=1, timeout=<optimized
out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x00007ffff65b7958 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff65b7a84 in g_main_context_iteration () from
/lib/aarch64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff02fb984 in ?? () from
/usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffff65e2854 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff5efee18 in start_thread (arg=0x7fffffffe087) at
./nptl/pthread_create.c:442
#6  0x00007ffff5f67e9c in thread_start () at
../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 4 (Thread 0x7ffff0b2a880 (LWP 102243) "gdbus"):
#0  0x00007ffff5f5de94 in __GI___poll (fds=0x7fffe4016610, nfds=2,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x00007ffff65b7958 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff65b7d04 in g_main_loop_run () from
/lib/aarch64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff68bfa04 in ?? () from /lib/aarch64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff65e2854 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff5efee18 in start_thread (arg=0x7ffff1361cc7) at
./nptl/pthread_create.c:442
#6  0x00007ffff5f67e9c in thread_start () at
../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 2 (Thread 0x7ffff1b72880 (LWP 102241) "gmain"):
#0  0x00007ffff5f5de94 in __GI___poll (fds=0x8b2b70, nfds=1, timeout=<optimized
out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x00007ffff65b7958 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff65b7a84 in g_main_context_iteration () from
/lib/aarch64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff65b7adc in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff65e2854 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff5efee18 in start_thread (arg=0x7fffffffe3a7) at
./nptl/pthread_create.c:442
#6  0x00007ffff5f67e9c in thread_start () at
../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 1 (Thread 0x7ffff7598040 (LWP 102239) "claws-mail"):
#0  __GI___strlen_asimd () at ../sysdeps/aarch64/multiarch/strlen_asimd.S:96
#1  0x00007fffe05cea28 in lh_widget::set_base_url(char const*) () from
/usr/lib/aarch64-linux-gnu/claws-mail/plugins/litehtml_viewer.so
#2  0x00007fffe05e1174 in litehtml::el_base::parse_attributes() () from
/usr/lib/aarch64-linux-gnu/claws-mail/plugins/litehtml_viewer.so
#3  0x00007fffe05ec2e8 in litehtml::html_tag::parse_attributes() () from
/usr/lib/aarch64-linux-gnu/claws-mail/plugins/litehtml_viewer.so
#4  0x00007fffe05ec2e8 in litehtml::html_tag::parse_attributes() () from
/usr/lib/aarch64-linux-gnu/claws-mail/plugins/litehtml_viewer.so
#5  0x00007fffe05ddbbc in litehtml::document::createFromUTF8(char const*,
litehtml::document_container*, litehtml::context*, litehtml::css*) () from
/usr/lib/aarch64-linux-gnu/claws-mail/plugins/litehtml_viewer.so
#6  0x00007fffe05de0c8 in litehtml::document::createFromString(char const*,
litehtml::document_container*, litehtml::context*, litehtml::css*) () from
/usr/lib/aarch64-linux-gnu/claws-mail/plugins/litehtml_viewer.so
#7  0x00007fffe05cf51c in lh_widget::open_html(char const*) () from
/usr/lib/aarch64-linux-gnu/claws-mail/plugins/litehtml_viewer.so
#8  0x00007fffe05ce2b8 in ?? () from
/usr/lib/aarch64-linux-gnu/claws-mail/plugins/litehtml_viewer.so
#9  0x00000000004f0250 in mimeview_show_part
(mimeview=mimeview at entry=0x1221fc0, partinfo=partinfo at entry=0xac5d70) at
./src/mimeview.c:939
#10 0x00000000004f0424 in mimeview_selected (selection=<optimized out>,
mimeview=0x1221fc0) at ./src/mimeview.c:1386
#11 0x00007ffff66d7430 in ?? () from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff66f18ac in g_signal_emit_valist () from
/lib/aarch64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff66f1af0 in g_signal_emit () from
/lib/aarch64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff7a564e8 in gtk_tree_selection_select_path () from
/lib/aarch64-linux-gnu/libgtk-3.so.0
#15 0x00007ffff7a56674 in gtk_tree_selection_select_iter () from
/lib/aarch64-linux-gnu/libgtk-3.so.0
#16 0x00000000004eb89c in icon_selected (mimeview=0x1221fc0,
partinfo=partinfo at entry=0xac5d70, num=-1) at ./src/mimeview.c:2364
#17 0x00000000004f1134 in mimeview_select_mimepart_icon (mimeview=<optimized
out>, partinfo=partinfo at entry=0xac5d70) at ./src/mimeview.c:2376
#18 0x00000000004dd604 in messageview_try_select_mimeinfo
(messageview=messageview at entry=0x1211040, msginfo=msginfo at entry=0x166e7b0,
mimeinfo=mimeinfo at entry=0xac5d70) at ./src/messageview.c:1283
#19 0x00000000004e3000 in messageview_show
(messageview=messageview at entry=0x1211040, msginfo=msginfo at entry=0x166e7b0,
all_headers=all_headers at entry=0) at ./src/messageview.c:1533
#20 0x0000000000583bb0 in summary_display_msg_full (summaryview=0x10c5800,
row=0xa80200, new_window=0, all_headers=0) at ./src/summaryview.c:3789
#21 0x00007ffff66d71f8 in g_closure_invoke () from
/lib/aarch64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff66eb5ac in ?? () from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff66f18dc in g_signal_emit_valist () from
/lib/aarch64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffff66f1cec in g_signal_emit_by_name () from
/lib/aarch64-linux-gnu/libgobject-2.0.so.0
#25 0x0000000000663e74 in select_row (sctree=0xa089f0, row=0, col=9,
state=<optimized out>, _node=<optimized out>) at ./src/gtk/gtksctree.c:404
#26 0x00000000006649dc in gtk_sctree_button_release (widget=0xa089f0,
event=0x139ac60) at ./src/gtk/gtksctree.c:641
#27 0x00007ffff7782804 in ?? () from /lib/aarch64-linux-gnu/libgtk-3.so.0
#28 0x00007ffff66d71f8 in g_closure_invoke () from
/lib/aarch64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff66eb2b4 in ?? () from /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#30 0x00007ffff66f1258 in g_signal_emit_valist () from
/lib/aarch64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff66f1af0 in g_signal_emit () from
/lib/aarch64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff7a86c90 in ?? () from /lib/aarch64-linux-gnu/libgtk-3.so.0
#33 0x00007ffff791080c in ?? () from /lib/aarch64-linux-gnu/libgtk-3.so.0
#34 0x00007ffff7912440 in gtk_main_do_event () from
/lib/aarch64-linux-gnu/libgtk-3.so.0
#35 0x00007ffff760e1c4 in ?? () from /lib/aarch64-linux-gnu/libgdk-3.so.0
#36 0x00007ffff764483c in ?? () from /lib/aarch64-linux-gnu/libgdk-3.so.0
#37 0x00007ffff65b774c in g_main_context_dispatch () from
/lib/aarch64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff65b79e0 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff65b7d04 in g_main_loop_run () from
/lib/aarch64-linux-gnu/libglib-2.0.so.0
#40 0x00007ffff7911540 in gtk_main () from /lib/aarch64-linux-gnu/libgtk-3.so.0
#41 0x000000000044c0fc in main (argc=<optimized out>, argv=<optimized out>) at
./src/main.c:1670
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list