Contacts coredump on text selection
When testing copy/paste in the contacts name text field, got the following coredump. NOTE: This is not easily reproducible from known steps (yet).
purism@l5b:~$ uname -a
Linux l5b 5.3.0-librem5-h1 #1 SMP PREEMPT Sat Jan 25 09:55:23 CET 2020 aarch64 GNU/Linux
purism@l5b:~$ dpkg -s phosh | grep Version
Version: 0.1.7
purism@l5b:~$ dpkg -s phoc | grep Version
Version: 0.1.5pureos1
purism@l5b:~$ dpkg -s gnome-contacts | grep Version
Version: 3.32+3371+gitc22366f-1pureos0
purism@l5b:~$ uptime
10:25:59 up 1:01, 2 users, load average: 0.12, 0.17, 0.21
purism@l5b:~$ date
Sat 01 Feb 2020 10:26:01 AM PST
purism@l5b:~$
purism@l5b:~$ sudo coredumpctl gdb 1483
PID: 1483 (gnome-contacts)
UID: 1000 (purism)
GID: 1000 (purism)
Signal: 11 (SEGV)
Timestamp: Sat 2020-02-01 10:08:54 PST (14min ago)
Command Line: /usr/bin/gnome-contacts --gapplication-service
Executable: /usr/bin/gnome-contacts
Control Group: /user.slice/user-1000.slice/user@1000.service/dbus.service
Unit: user@1000.service
User Unit: dbus.service
Slice: user-1000.slice
Owner UID: 1000 (purism)
Boot ID: 5e52e89ad7194aec87ea058fcfff7702
Machine ID: 3ffd86e60cc84d469124866fb33aecb3
Hostname: l5b
Storage: /var/lib/systemd/coredump/core.gnome-contacts.1000.5e52e89ad7194aec87ea058fcfff7702.1483.1580580534000000.lz4
Message: Process 1483 (gnome-contacts) of user 1000 dumped core.
Stack trace of thread 1483:
#0 0x0000ffffa0eb5118 wl_proxy_get_user_data (libwayland-client.so.0)
#1 0x0000ffffa2602fdc n/a (libgdk-3.so.0)
#2 0x0000ffffa2055dcc ffi_call_SYSV (libffi.so.6)
#3 0x0000ffffa20566f4 ffi_call (libffi.so.6)
#4 0x0000ffffa0eb6ffc n/a (libwayland-client.so.0)
#5 0x0000ffffa0eb3b24 n/a (libwayland-client.so.0)
#6 0x0000ffffa0eb4e90 wl_display_dispatch_queue_pending (libwayland-client.so.0)
#7 0x0000ffffa2609074 n/a (libgdk-3.so.0)
#8 0x0000ffffa25a7248 gdk_display_get_event (libgdk-3.so.0)
#9 0x0000ffffa2608d54 n/a (libgdk-3.so.0)
#10 0x0000ffffa315e674 g_main_context_dispatch (libglib-2.0.so.0)
#11 0x0000ffffa315e8e8 n/a (libglib-2.0.so.0)
#12 0x0000ffffa315e984 g_main_context_iteration (libglib-2.0.so.0)
#13 0x0000ffffa2ed8b84 g_application_run (libgio-2.0.so.0)
#14 0x0000aaaae992fba0 _vala_main (gnome-contacts)
#15 0x0000ffffa20ccd24 __libc_start_main (libc.so.6)
#16 0x0000aaaae99134a4 _start (gnome-contacts)
#17 0x0000aaaae99134a4 _start (gnome-contacts)
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/gnome-contacts...(no debugging symbols found)...done.
[New LWP 1483]
[New LWP 1488]
[New LWP 1486]
[New LWP 1489]
[New LWP 1487]
[New LWP 1484]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/gnome-contacts --gapplication-service'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000ffffa0eb5118 in wl_proxy_get_user_data ()
from /lib/aarch64-linux-gnu/libwayland-client.so.0
[Current thread is 1 (Thread 0xffff984a2010 (LWP 1483))]
(gdb) bt
#0 0x0000ffffa0eb5118 in wl_proxy_get_user_data ()
at /lib/aarch64-linux-gnu/libwayland-client.so.0
#1 0x0000ffffa2602fdc in () at /lib/aarch64-linux-gnu/libgdk-3.so.0
#2 0x0000ffffa2055dcc in ffi_call_SYSV ()
at /lib/aarch64-linux-gnu/libffi.so.6
#3 0x0000ffffa20566f4 in ffi_call () at /lib/aarch64-linux-gnu/libffi.so.6
#4 0x0000ffffa0eb6ffc in () at /lib/aarch64-linux-gnu/libwayland-client.so.0
#5 0x0000ffffa0eb3b24 in () at /lib/aarch64-linux-gnu/libwayland-client.so.0
#6 0x0000ffffa0eb4e90 in wl_display_dispatch_queue_pending ()
at /lib/aarch64-linux-gnu/libwayland-client.so.0
#7 0x0000ffffa2609074 in () at /lib/aarch64-linux-gnu/libgdk-3.so.0
#8 0x0000ffffa25a7248 in gdk_display_get_event ()
at /lib/aarch64-linux-gnu/libgdk-3.so.0
#9 0x0000ffffa2608d54 in () at /lib/aarch64-linux-gnu/libgdk-3.so.0
#10 0x0000ffffa315e674 in g_main_context_dispatch ()
at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#11 0x0000ffffa315e8e8 in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#12 0x0000ffffa315e984 in g_main_context_iteration ()
at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#13 0x0000ffffa2ed8b84 in g_application_run ()
at /lib/aarch64-linux-gnu/libgio-2.0.so.0
#14 0x0000aaaae992fba0 in _vala_main ()
#15 0x0000ffffa20ccd24 in __libc_start_main ()
--Type <RET> for more, q to quit, c to continue without paging--c
at /lib/aarch64-linux-gnu/libc.so.6
#16 0x0000aaaae99134a4 in _start ()
(gdb)