Chatty coredump during typing, and after, on startup
Script started on 2019-07-05 10:42:09-07:00 [TERM="vt220" TTY="/dev/ttyGS0" COLUMNS="80" LINES="24"]
purism@pureos:~$ sudo coredumpctl d[Kgdb 1094
PID: [0;1;39m1094[0m (chatty)
UID: 1000 (purism)
GID: 1000 (purism)
Signal: 11 (SEGV)
Timestamp: Fri 2019-07-05 10:40:55 PDT (1min 26s ago)
Command Line: chatty
Executable: [0;1;39m/usr/bin/chatty[0m
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (purism)
Boot ID: 0570014e26b548d19bb423c02b52f9dc
Machine ID: 07e36b5d1d804ea9ba1cca2bd52e0dd1
Hostname: pureos
Storage: /var/lib/systemd/coredump/core.chatty.1000.0570014e26b548d19bb423c02b52f9dc.1094.1562348455000000.lz4
Message: Process 1094 (chatty) of user 1000 dumped core.
Stack trace of thread 1094:
#0 0x0000ffff9fa4f64c strstr (libc.so.6)
#1 0x0000ffffa081e5fc g_strsplit (libglib-2.0.so.0)
#2 0x0000aaaadf19c00c chatty_conv_parse_message (chatty)
#3 0x0000aaaadf19e5e0 chatty_blist_update_buddy (chatty)
#4 0x0000aaaadf19fb44 chatty_blist_refresh (chatty)
#5 0x0000aaaadf1a0380 cb_chatty_blist_refresh_timer (chatty)
#6 0x0000ffffa07fe0e4 n/a (libglib-2.0.so.0)
#7 0x0000ffffa07fd51c g_main_context_dispatch (libglib-2.0.so.0)
#8 0x0000ffffa07fd8e8 n/a (libglib-2.0.so.0)
#9 0x0000ffffa07fd984 g_main_context_iteration (libglib-2.0.so.0)
#10 0x0000ffffa0a21b84 g_application_run (libgio-2.0.so.0)
#11 0x0000aaaadf192e38 main (chatty)
#12 0x0000ffff9f9f3d24 __libc_start_main (libc.so.6)
#13 0x0000aaaadf192e90 $x (chatty)
#14 0x0000aaaadf192e90 $x (chatty)
GNU gdb (Debian 8.2.1-2) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/chatty...Reading symbols from /usr/lib/debug/.build-id/87/fe68afd29509b73f5f2c48f0077acd290a5a0e.debug...done.
done.
[New LWP 1094]
[New LWP 1098]
[New LWP 1100]
[New LWP 1097]
[New LWP 1101]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `chatty'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000ffff9fa4f64c in strstr () from /lib/aarch64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0xffff9bc73010 (LWP 1094))]
(gdb) bt
#0 0x0000ffff9fa4f64c in strstr () at /lib/aarch64-linux-gnu/libc.so.6
#1 0x0000ffffa081e5fc in g_strsplit ()
at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2 0x0000aaaadf19c00c in chatty_conv_parse_message
(msg=0xffdedbd8ffdedbd9 <error: Cannot access memory at address 0xffdedbd8ffdedbd9>) at ../src/chatty-conversation.c:942
#3 0x0000aaaadf19c00c in chatty_conv_message_get_last_msg
(buddy=buddy@entry=0xaaab132b2c40) at ../src/chatty-conversation.c:1009
#4 0x0000aaaadf19e5e0 in chatty_blist_update_buddy
(node=0xaaab132b2c40, list=0xaaab132b1860)
at ../src/chatty-buddy-list.c:2157
#5 0x0000aaaadf19e5e0 in chatty_blist_update
(list=0xaaab132b1860, node=0xaaab132b2c40)
at ../src/chatty-buddy-list.c:2204
#6 0x0000aaaadf19fb44 in chatty_blist_refresh (list=0xaaab132b1860)
at ../src/chatty-buddy-list.c:981
#7 0x0000aaaadf19fb44 in chatty_blist_refresh (list=0xaaab132b1860)
at ../src/chatty-buddy-list.c:966
#8 0x0000aaaadf1a0380 in cb_chatty_blist_refresh_timer (list=<optimized out>)
at ../src/chatty-buddy-list.c:252
#9 0x0000ffffa07fe0e4 in () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#10 0x0000ffffa07fd51c in g_main_context_dispatch ()
at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#11 0x0000ffffa07fd8e8 in () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#12 0x0000ffffa07fd984 in g_main_context_iteration ()
at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#13 0x0000ffffa0a21b84 in g_application_run ()
at /usr/lib/aarch64-linux-gnu/libgio-2.0.so.0
#14 0x0000aaaadf192e38 in main (argc=1, argv=0xffffc9bc7be8)
at ../src/main.c:28
(gdb) quit
purism@pureos:~$ exit
exit
Script done on 2019-07-05 10:42:31-07:00 [COMMAND_EXIT_CODE="0"]
And immediately after it coredumps now when launching it
Script started on 2019-07-05 10:42:55-07:00 [TERM="vt220" TTY="/dev/ttyGS0" COLUMNS="80" LINES="24"]
purism@pureos:~$ sudo coredumpctl d[Kgdb 1119
PID: [0;1;39m1119[0m (chatty)
UID: 1000 (purism)
GID: 1000 (purism)
Signal: 11 (SEGV)
Timestamp: Fri 2019-07-05 10:41:06 PDT (1min 59s ago)
Command Line: chatty
Executable: [0;1;39m/usr/bin/chatty[0m
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (purism)
Boot ID: 0570014e26b548d19bb423c02b52f9dc
Machine ID: 07e36b5d1d804ea9ba1cca2bd52e0dd1
Hostname: pureos
Storage: /var/lib/systemd/coredump/core.chatty.1000.0570014e26b548d19bb423c02b52f9dc.1119.1562348466000000.lz4
Message: Process 1119 (chatty) of user 1000 dumped core.
Stack trace of thread 1119:
#0 0x0000ffffbc85864c strstr (libc.so.6)
#1 0x0000ffffbd6275fc g_strsplit (libglib-2.0.so.0)
#2 0x0000aaaab569100c chatty_conv_parse_message (chatty)
#3 0x0000aaaab56935e0 chatty_blist_update_buddy (chatty)
#4 0x0000ffffbcb61f30 purple_prpl_got_user_status (libpurple.so.0)
#5 0x0000ffffb599fb90 n/a (mm-sms.so)
#6 0x0000ffffb599fc60 n/a (mm-sms.so)
#7 0x0000ffffb599fd98 n/a (mm-sms.so)
#8 0x0000ffffb599f440 n/a (mm-sms.so)
#9 0x0000ffffb599f668 n/a (mm-sms.so)
#10 0x0000ffffb599f7fc n/a (mm-sms.so)
#11 0x0000ffffbd7fc178 n/a (libgio-2.0.so.0)
#12 0x0000ffffbd7fc1c4 n/a (libgio-2.0.so.0)
#13 0x0000ffffbd60651c g_main_context_dispatch (libglib-2.0.so.0)
#14 0x0000ffffbd6068e8 n/a (libglib-2.0.so.0)
#15 0x0000ffffbd606984 g_main_context_iteration (libglib-2.0.so.0)
#16 0x0000ffffbd82ab84 g_application_run (libgio-2.0.so.0)
#17 0x0000aaaab5687e38 main (chatty)
#18 0x0000ffffbc7fcd24 __libc_start_main (libc.so.6)
#19 0x0000aaaab5687e90 $x (chatty)
#20 0x0000aaaab5687e90 $x (chatty)
GNU gdb (Debian 8.2.1-2) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/chatty...Reading symbols from /usr/lib/debug/.build-id/87/fe68afd29509b73f5f2c48f0077acd290a5a0e.debug...done.
done.
[New LWP 1119]
[New LWP 1124]
[New LWP 1125]
[New LWP 1123]
[New LWP 1122]
[New LWP 1126]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `chatty'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000ffffbc85864c in strstr () from /lib/aarch64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0xffffb8a7c010 (LWP 1119))]
(gdb) bt
#0 0x0000ffffbc85864c in strstr () at /lib/aarch64-linux-gnu/libc.so.6
#1 0x0000ffffbd6275fc in g_strsplit ()
at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2 0x0000aaaab569100c in chatty_conv_parse_message
(msg=0xba6b3dba6b3dba6b <error: Cannot access memory at address 0xba6b3dba6b3dba6b>) at ../src/chatty-conversation.c:942
#3 0x0000aaaab569100c in chatty_conv_message_get_last_msg
(buddy=buddy@entry=0xaaaaf3372b80) at ../src/chatty-conversation.c:1009
#4 0x0000aaaab56935e0 in chatty_blist_update_buddy
(node=0xaaaaf3372b80, list=0xaaaaf3371770)
at ../src/chatty-buddy-list.c:2157
#5 0x0000aaaab56935e0 in chatty_blist_update
(list=0xaaaaf3371770, node=0xaaaaf3372b80)
at ../src/chatty-buddy-list.c:2204
#6 0x0000ffffbcb61f30 in purple_prpl_got_user_status ()
at /usr/lib/libpurple.so.0
#7 0x0000ffffb599fb90 in () at /usr/lib/purple-2/mm-sms.so
#8 0x0000ffffb599fc60 in () at /usr/lib/purple-2/mm-sms.so
#9 0x0000ffffb599fd98 in () at /usr/lib/purple-2/mm-sms.so
#10 0x0000ffffb599f440 in () at /usr/lib/purple-2/mm-sms.so
#11 0x0000ffffb599f668 in () at /usr/lib/purple-2/mm-sms.so
#12 0x0000ffffb599f7fc in () at /usr/lib/purple-2/mm-sms.so
#13 0x0000ffffbd7fc178 in () at /usr/lib/aarch64-linux-gnu/libgio-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#14 0x0000ffffbd7fc1c4 in () at /usr/lib/aarch64-linux-gnu/libgio-2.0.so.0
#15 0x0000ffffbd60651c in g_main_context_dispatch ()
at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#16 0x0000ffffbd6068e8 in () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#17 0x0000ffffbd606984 in g_main_context_iteration ()
at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#18 0x0000ffffbd82ab84 in g_application_run ()
at /usr/lib/aarch64-linux-gnu/libgio-2.0.so.0
#19 0x0000aaaab5687e38 in main (argc=1, argv=0xffffdfa7e788)
at ../src/main.c:28
(gdb) quit
purism@pureos:~$ exit
exit
Script done on 2019-07-05 10:43:15-07:00 [COMMAND_EXIT_CODE="0"]