Crash in sysprof_process_model_item_equal
- Fedora 32
- Sysprof 3.36.0
Sysprof just crashed for me while searching for the process I wanted to capture. Here is the backtrace:
PID: 12456 (sysprof)
UID: 1000 (bjoern)
GID: 1000 (bjoern)
Signal: 6 (ABRT)
Timestamp: Mon 2020-03-16 16:25:37 CET (1 day 2h ago)
Command Line: sysprof
Executable: /usr/bin/sysprof
Control Group: /user.slice/user-1000.slice/user@1000.service/gnome-launched-org.gnome.Sysprof3.desktop-12456.scope
Unit: user@1000.service
User Unit: gnome-launched-org.gnome.Sysprof3.desktop-12456.scope
Slice: user-1000.slice
Owner UID: 1000 (bjoern)
Boot ID: fbc505e1da654227a64e5c6a67786fb8
Machine ID: 995443f1f6d243e787e3f4243cd8d44b
Hostname: xps-9370
Storage: /var/lib/systemd/coredump/core.sysprof.1000.fbc505e1da654227a64e5c6a67786fb8.12456.1584372337000000000000.lz4
Message: Process 12456 (sysprof) of user 1000 dumped core.
Stack trace of thread 12456:
#0 0x00007f4054d33a35 raise (libc.so.6 + 0x3ca35)
#1 0x00007f4054d1c895 abort (libc.so.6 + 0x25895)
#2 0x00007f4055ba7b8c g_assertion_message.cold (libglib-2.0.so.0 + 0x1db8c)
#3 0x00007f4055c0584f g_assertion_message_expr (libglib-2.0.so.0 + 0x7b84f)
#4 0x00007f4054cb9116 sysprof_process_model_item_equal (libsysprof-3.so + 0x25116)
#5 0x00007f4055bc9fbb g_hash_table_contains (libglib-2.0.so.0 + 0x3ffbb)
#6 0x00007f4054cb834d sysprof_process_model_merge_cb (libsysprof-3.so + 0x2434d)
#7 0x00007f4055a5ce9a g_task_return_now (libgio-2.0.so.0 + 0xb6e9a)
#8 0x00007f4055a5cedd complete_in_idle_cb (libgio-2.0.so.0 + 0xb6edd)
#9 0x00007f4055bd844b g_idle_dispatch (libglib-2.0.so.0 + 0x4e44b)
#10 0x00007f4055bdc76f g_main_context_dispatch (libglib-2.0.so.0 + 0x5276f)
#11 0x00007f4055bdcaf8 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0x52af8)
#12 0x00007f4055bdcbc3 g_main_context_iteration (libglib-2.0.so.0 + 0x52bc3)
#13 0x00007f4055a8b86d g_application_run (libgio-2.0.so.0 + 0xe586d)
#14 0x0000563554358d5b main (sysprof + 0x8d5b)
#15 0x00007f4054d1e042 __libc_start_main (libc.so.6 + 0x27042)
#16 0x0000563554358dae _start (sysprof + 0x8dae)
Stack trace of thread 12461:
#0 0x00007f4054ded9cf __poll (libc.so.6 + 0xf69cf)
#1 0x00007f4055bdca8d g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0x52a8d)
#2 0x00007f4055bdcbc3 g_main_context_iteration (libglib-2.0.so.0 + 0x52bc3)
#3 0x00007f4055d60fbd dconf_gdbus_worker_thread (libdconfsettings.so + 0xafbd)
#4 0x00007f4055c06652 g_thread_proxy (libglib-2.0.so.0 + 0x7c652)
#5 0x00007f4054a77432 start_thread (libpthread.so.0 + 0x9432)
#6 0x00007f4054df8833 __clone (libc.so.6 + 0x101833)
Stack trace of thread 12458:
#0 0x00007f4054ded9cf __poll (libc.so.6 + 0xf69cf)
#1 0x00007f4055bdca8d g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0x52a8d)
#2 0x00007f4055bdcbc3 g_main_context_iteration (libglib-2.0.so.0 + 0x52bc3)
#3 0x00007f4055bdcc11 glib_worker_main (libglib-2.0.so.0 + 0x52c11)
#4 0x00007f4055c06652 g_thread_proxy (libglib-2.0.so.0 + 0x7c652)
#5 0x00007f4054a77432 start_thread (libpthread.so.0 + 0x9432)
#6 0x00007f4054df8833 __clone (libc.so.6 + 0x101833)
Stack trace of thread 12460:
#0 0x00007f4054df329d syscall (libc.so.6 + 0xfc29d)
#1 0x00007f4055c2b347 g_cond_wait_until (libglib-2.0.so.0 + 0xa1347)
#2 0x00007f4055bac511 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x22511)
#3 0x00007f4055c070a2 g_thread_pool_thread_proxy (libglib-2.0.so.0 + 0x7d0a2)
#4 0x00007f4055c06652 g_thread_proxy (libglib-2.0.so.0 + 0x7c652)
#5 0x00007f4054a77432 start_thread (libpthread.so.0 + 0x9432)
#6 0x00007f4054df8833 __clone (libc.so.6 + 0x101833)
Stack trace of thread 12459:
#0 0x00007f4054ded9cf __poll (libc.so.6 + 0xf69cf)
#1 0x00007f4055bdca8d g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0x52a8d)
#2 0x00007f4055bdce0b g_main_loop_run (libglib-2.0.so.0 + 0x52e0b)
#3 0x00007f4055ac87ea gdbus_shared_thread_func (libgio-2.0.so.0 + 0x1227ea)
#4 0x00007f4055c06652 g_thread_proxy (libglib-2.0.so.0 + 0x7c652)
#5 0x00007f4054a77432 start_thread (libpthread.so.0 + 0x9432)
#6 0x00007f4054df8833 __clone (libc.so.6 + 0x101833)
GNU gdb (GDB) Fedora 9.1-3.fc32
Copyright (C) 2020 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 "x86_64-redhat-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/sysprof...
Reading symbols from /usr/lib/debug/usr/bin/sysprof-3.36.0-1.fc32.x86_64.debug...
[New LWP 12456]
[New LWP 12461]
[New LWP 12458]
[New LWP 12460]
[New LWP 12459]
Missing separate debuginfo for /lib64/libsysprof-ui-3.so
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/fb/b8ea6d07f03b35865d4009dddb780ba0b2ebc5.debug
Missing separate debuginfo for /lib64/libsysprof-3.so
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/e1/3232d4e47ebaffe2f29c1ba4e29b627b981655.debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `sysprof'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f4054d33a35 in raise () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f4053bf6ec0 (LWP 12456))]
Missing separate debuginfos, use: dnf debuginfo-install at-spi2-atk-2.34.2-1.fc32.x86_64 at-spi2-core-2.36.0-1.fc32.x86_64 atk-2.35.1-2.fc32.x86_64 bzip2-libs-1.0.8-2.fc32.x86_64 cairo-1.16.0-7.fc32.x86_64 cairo-gobject-1.16.0-7.fc32.x86_64 dbus-libs-1.12.16-4.fc32.x86_64 dconf-0.36.0-1.fc32.x86_64 fontconfig-2.13.92-7.fc32.x86_64 freetype-2.10.1-2.fc32.x86_64 fribidi-1.0.9-1.fc32.x86_64 gdk-pixbuf2-2.40.0-2.fc32.x86_64 glibc-2.31-1.fc32.x86_64 graphite2-1.3.13-1.fc32.x86_64 gtk3-3.24.14-1.fc32.x86_64 gvfs-client-1.44.0-1.fc32.x86_64 harfbuzz-2.6.4-3.fc32.x86_64 libX11-1.6.9-3.fc32.x86_64 libXau-1.0.9-3.fc32.x86_64 libXcomposite-0.4.5-2.fc32.x86_64 libXcursor-1.2.0-2.fc32.x86_64 libXdamage-1.1.5-2.fc32.x86_64 libXext-1.3.4-3.fc32.x86_64 libXfixes-5.0.3-11.fc32.x86_64 libXi-1.7.10-3.fc32.x86_64 libXinerama-1.1.4-5.fc32.x86_64 libXrandr-1.5.2-3.fc32.x86_64 libdatrie-0.2.9-11.fc32.x86_64 libdazzle-3.36.0-1.fc32.x86_64 libepoxy-1.5.4-2.fc32.x86_64 libffi-3.1-24.fc32.x86_64 libgcc-10.0.1-0.9.fc32.x86_64 libgcrypt-1.8.5-3.fc32.x86_64 libgpg-error-1.36-3.fc32.x86_64 libmount-2.35.1-5.fc32.x86_64 libpng-1.6.37-3.fc32.x86_64 librsvg2-2.48.0-1.fc32.x86_64 libselinux-3.0-3.fc32.x86_64 libstdc++-10.0.1-0.9.fc32.x86_64 libthai-0.1.28-4.fc32.x86_64 libwayland-cursor-1.18.0-1.fc32.x86_64 libwayland-egl-1.18.0-1.fc32.x86_64 libxcb-1.13.1-4.fc32.x86_64 libxkbcommon-0.10.0-2.fc32.x86_64 libxml2-2.9.10-3.fc32.x86_64 lz4-libs-1.9.1-2.fc32.x86_64 pango-1.44.7-2.fc32.x86_64 pcre-8.44-1.fc32.x86_64 pixman-0.38.4-2.fc32.x86_64 xz-libs-5.2.4-8.fc32.x86_64
(gdb) thread apply all bt full
Thread 5 (Thread 0x7f40463ff700 (LWP 12459)):
#0 0x00007f4054ded9cf in poll () at /lib64/libc.so.6
#1 0x00007f4055bdca8d in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f4038005a30, timeout=<optimized out>, context=0x56355547e4a0) at ../glib/gmain.c:4346
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7f4055bec190 <g_poll>
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 3
allocated_nfds = 3
fds = 0x7f4038005a30
#2 g_main_context_iterate (context=0x56355547e4a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4042
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 3
allocated_nfds = 3
fds = 0x7f4038005a30
#3 0x00007f4055bdce0b in g_main_loop_run (loop=0x56355547e590) at ../glib/gmain.c:4241
__func__ = "g_main_loop_run"
#4 0x00007f4055ac87ea in gdbus_shared_thread_func (user_data=0x56355547e470) at ../gio/gdbusprivate.c:279
data = 0x56355547e470
#5 0x00007f4055c06652 in g_thread_proxy (data=0x563555473580) at ../glib/gthread.c:807
thread = 0x563555473580
__func__ = "g_thread_proxy"
#6 0x00007f4054a77432 in start_thread () at /lib64/libpthread.so.0
#7 0x00007f4054df8833 in clone () at /lib64/libc.so.6
Thread 4 (Thread 0x7f4045bfe700 (LWP 12460)):
#0 0x00007f4054df329d in syscall () at /lib64/libc.so.6
#1 0x00007f4055c2b347 in g_cond_wait_until (cond=cond@entry=0x56355546bb48, mutex=mutex@entry=0x56355546bb40, end_time=end_time@entry=1998710083) at ../glib/gthread-posix.c:1588
now = {tv_sec = 1998, tv_nsec = 210083832}
span = {tv_sec = 0, tv_nsec = 499999168}
sampled = 7
res = <optimized out>
success = <optimized out>
#2 0x00007f4055bac511 in g_async_queue_pop_intern_unlocked (queue=0x56355546bb40, wait=1, end_time=1998710083) at ../glib/gasyncqueue.c:422
retval = <optimized out>
__func__ = "g_async_queue_pop_intern_unlocked"
#3 0x00007f4055c070a2 in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../glib/gthreadpool.c:278
task = <optimized out>
task = <optimized out>
pool = <optimized out>
#4 g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:343
task = <optimized out>
pool = <optimized out>
#5 0x00007f4055c06652 in g_thread_proxy (data=0x563555488060) at ../glib/gthread.c:807
thread = 0x563555488060
__func__ = "g_thread_proxy"
#6 0x00007f4054a77432 in start_thread () at /lib64/libpthread.so.0
#7 0x00007f4054df8833 in clone () at /lib64/libc.so.6
Thread 3 (Thread 0x7f4046c00700 (LWP 12458)):
#0 0x00007f4054ded9cf in poll () at /lib64/libc.so.6
#1 0x00007f4055bdca8d in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x56355546acc0, timeout=<optimized out>, context=0x56355546d4a0) at ../glib/gmain.c:4346
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7f4055bec190 <g_poll>
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x56355546acc0
#2 g_main_context_iterate (context=context@entry=0x56355546d4a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4042
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x56355546acc0
#3 0x00007f4055bdcbc3 in g_main_context_iteration (context=0x56355546d4a0, may_block=may_block@entry=1) at ../glib/gmain.c:4108
retval = <optimized out>
#4 0x00007f4055bdcc11 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:5996
#5 0x00007f4055c06652 in g_thread_proxy (data=0x563555465180) at ../glib/gthread.c:807
thread = 0x563555465180
__func__ = "g_thread_proxy"
#6 0x00007f4054a77432 in start_thread () at /lib64/libpthread.so.0
#7 0x00007f4054df8833 in clone () at /lib64/libc.so.6
Thread 2 (Thread 0x7f40453ca700 (LWP 12461)):
#0 0x00007f4054ded9cf in poll () at /lib64/libc.so.6
#1 0x00007f4055bdca8d in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x56355549ebc0, timeout=<optimized out>, context=0x56355549edb0) at ../glib/gmain.c:4346
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7f4055bec190 <g_poll>
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x56355549ebc0
#2 g_main_context_iterate (context=context@entry=0x56355549edb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4042
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x56355549ebc0
#3 0x00007f4055bdcbc3 in g_main_context_iteration (context=0x56355549edb0, may_block=1) at ../glib/gmain.c:4108
retval = <optimized out>
#4 0x00007f4055d60fbd in dconf_gdbus_worker_thread () at /usr/lib64/gio/modules/libdconfsettings.so
#5 0x00007f4055c06652 in g_thread_proxy (data=0x5635554a35e0) at ../glib/gthread.c:807
thread = 0x5635554a35e0
__func__ = "g_thread_proxy"
#6 0x00007f4054a77432 in start_thread () at /lib64/libpthread.so.0
#7 0x00007f4054df8833 in clone () at /lib64/libc.so.6
Thread 1 (Thread 0x7f4053bf6ec0 (LWP 12456)):
#0 0x00007f4054d33a35 in raise () at /lib64/libc.so.6
#1 0x00007f4054d1c895 in abort () at /lib64/libc.so.6
#2 0x00007f4055ba7b8c in g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=0x7f4054cde080 "sysprof_process_model_item_equal", message=0x563555ade6c0 "assertion failed: (SYSPROF_IS_PROCESS_MODEL_ITEM (self))") at ../glib/gtestutils.c:2914
lstr = "187\000\374\177\000\000\000\271,\032\001\217_w\200\313bU5V\000\000\030\337\315T@\177\000"
s = 0x563555d77d60 "@N\305U5V"
#3 0x00007f4055c0584f in g_assertion_message_expr (domain=0x7f4054cdde85 "sp-process-model-item", file=0x7f4054cddeb0 "../src/libsysprof/sysprof-process-model-item.c", line=187, func=0x7f4054cde080 "sysprof_process_model_item_equal", expr=<optimized out>) at ../glib/gtestutils.c:2940
s = 0x563555ade6c0 "assertion failed: (SYSPROF_IS_PROCESS_MODEL_ITEM (self))"
#4 0x00007f4054cb9116 in sysprof_process_model_item_equal () at /lib64/libsysprof-3.so
#5 0x00007f4055bc9fbb in g_hash_table_lookup_node (hash_return=<synthetic pointer>, key=0x563555ca4c40, hash_table=0x563555ca9000 = {...}) at ../glib/ghash.c:492
node_key = <optimized out>
node_hash = <optimized out>
hash_value = 12088
have_tombstone = 0
step = 0
node_index = 189
first_tombstone = 0
node_hash = 12088
__func__ = "g_hash_table_contains"
#6 g_hash_table_contains (hash_table=0x563555ca9000 = {...}, key=0x563555ca4c40) at ../glib/ghash.c:1712
node_hash = 12088
__func__ = "g_hash_table_contains"
#7 0x00007f4054cb834d in sysprof_process_model_merge_cb () at /lib64/libsysprof-3.so
#8 0x00007f4055a5ce9a in g_task_return_now (task=task@entry=0x563555cb6e00 [GTask]) at ../gio/gtask.c:1214
#9 0x00007f4055a5cedd in complete_in_idle_cb (task=task@entry=0x563555cb6e00) at ../gio/gtask.c:1228
#10 0x00007f4055bd844b in g_idle_dispatch (source=source@entry=0x7f403c01c4b0, callback=0x7f4055a5ced0 <complete_in_idle_cb>, user_data=0x563555cb6e00) at ../glib/gmain.c:5755
again = <optimized out>
#11 0x00007f4055bdc76f in g_main_dispatch (context=0x56355546a360) at ../glib/gmain.c:3309
dispatch = <optimized out>
prev_source = 0x0
was_in_call = <optimized out>
user_data = 0x563555cb6e00
callback = 0x7f4055a5ced0 <complete_in_idle_cb>
cb_funcs = 0x7f4055cb2280 <g_source_callback_funcs>
cb_data = 0x7f403801e720
need_destroy = <optimized out>
source = 0x7f403c01c4b0
current = 0x56355547ec10
i = 0
__func__ = "g_main_dispatch"
#12 g_main_context_dispatch (context=0x56355546a360) at ../glib/gmain.c:3974
#13 0x00007f4055bdcaf8 in g_main_context_iterate (context=context@entry=0x56355546a360, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4047
max_priority = 2147483647
timeout = 1048
some_ready = 1
nfds = 3
allocated_nfds = <optimized out>
fds = 0x563555458340
#14 0x00007f4055bdcbc3 in g_main_context_iteration (context=context@entry=0x56355546a360, may_block=may_block@entry=1) at ../glib/gmain.c:4108
retval = <optimized out>
#15 0x00007f4055a8b86d in g_application_run (application=0x563555460120 [SysprofApplication], argc=<optimized out>, argv=<optimized out>) at ../gio/gapplication.c:2559
arguments = 0x563555458320
status = 0
context = 0x56355546a360
acquired_context = <optimized out>
__func__ = "g_application_run"
#16 0x0000563554358d5b in main (argc=1, argv=0x7ffcd372b5b8) at ../src/sysprof/sysprof.c:44
app = 0x563555460120
ret = <optimized out>