Bug 400386 - Sometimes Drkonqi does not install debug packages of KDE software on neon unstable edition
Summary: Sometimes Drkonqi does not install debug packages of KDE software on neon uns...
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Unstable Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
: 427782 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-27 23:51 UTC by Patrick Silva
Modified: 2021-09-01 12:57 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
"install debug symbols" button (78.72 KB, image/png)
2018-10-27 23:51 UTC, Patrick Silva
Details
drkonqi failed to install debug packages after System Settings crash (112.40 KB, image/png)
2020-11-22 12:48 UTC, Patrick Silva
Details
screenshot (282.55 KB, image/png)
2021-01-15 17:26 UTC, Patrick Silva
Details
degug symbols of Discover (117.80 KB, image/png)
2021-03-08 11:01 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2018-10-27 23:51:54 UTC
Created attachment 115930 [details]
"install debug symbols" button

On neon dev unstable drkonqi has a button named "install debug symbols" (see my screenshot).
However such feature never works, drkonqi never installs debug packages.
Drkonqi fails to install debug packages and shows an error message or fails
without any feedback.
End users need this feature working correctly to generate good backtraces to help devs to solve crashes in kde software.

KDE neon Developer Edition
KDE Plasma: 5.14.80
Qt: 5.11.2
KDE Frameworks: 5.52.0
Comment 1 Patrick Silva 2019-08-06 21:19:22 UTC
humm, a few days ago drkonqi successfully installed debug packages for gwenview on my Neon unstable. But it is still failing to install packages to debug Plasma crashes, for example.

Operating System: Ubuntu 18.04.3 LTS (Bionic Beaver)
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.3
Comment 2 Patrick Silva 2020-05-10 11:36:04 UTC
It happened again on neon unstable.
Kmail crashed, I clicked on "Install debug symbols" button,
drkonqi asked for my password but it was unable to install the needed debug packages. Drkonqi was still saying "The generated crash information is not useful".

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Comment 3 Patrick Silva 2020-11-17 11:15:14 UTC
*** Bug 427782 has been marked as a duplicate of this bug. ***
Comment 4 Harald Sitter 2020-11-17 14:01:06 UTC
Since we are now using journald to capture qdebugs. Maybe there's some useful output in

`journalctl _EXE=/usr/bin/drkonqi-pk-debug-installer`
Comment 5 Patrick Silva 2020-11-22 12:48:11 UTC
Created attachment 133561 [details]
drkonqi failed to install debug packages after System Settings crash

drkonqi have just failed to install debug packages after System Settings crash on neon unstable, see the attached screenshot. Here is the output of your command:

journalctl _EXE=/usr/bin/drkonqi-pk-debug-installer
-- Logs begin at Sun 2020-11-22 07:20:22 -03, end at Sun 2020-11-22 09:43:38 -03. --
-- No entries --


Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.1
Comment 6 Harald Sitter 2021-01-07 11:56:46 UTC
I've revised the installer a whole lot so it should be more reliably able to install debug symbols and make context available for when it isn't able to. Let me know how that goes.

On a general note: the crashing software needs to be the (near) latest version. Neon archives only keep a very limited number of previous builds available and that limit is particularly impactful for unstable because builds can rotate a lot even on the same day, plus currently there's a bug that requires it to be the latest version because of https://github.com/hughsie/PackageKit/issues/441
Comment 7 Patrick Silva 2021-01-15 17:26:56 UTC
Created attachment 134901 [details]
screenshot

As we can see in the attached screenshot, drkonqi have just failed to install debug packages for Discover on my neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 8 Harald Sitter 2021-01-18 11:31:45 UTC
Mhhhhhh. I guess I forgot to actually enable the correct debug output :S

I'll push an improvement to the installer in a bit
Comment 9 Patrick Silva 2021-03-08 11:01:06 UTC
Created attachment 136485 [details]
degug symbols of Discover

drkonqi failed to install debug symbols of Discover again.


Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 10 Patrick Silva 2021-03-08 11:06:55 UTC
Humm, drkonqi asks for more debug packages but apparently the generated backtrace is good.

Application: Discover (plasma-discover), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f425443fe40 (LWP 9483))]
[New LWP 9484]
[New LWP 9485]
[New LWP 9486]
[New LWP 9487]
[New LWP 9488]
[New LWP 9489]
[New LWP 9494]
[New LWP 9495]
[New LWP 9496]
[New LWP 9497]
[New LWP 9502]
[New LWP 9503]
[New LWP 9527]
[New LWP 10083]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f4258a09aff in __GI___poll (fds=fds@entry=0x7ffdc2565968, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29

Thread 15 (Thread 0x7f4218977700 (LWP 10083)):
#0  0x00007f4258a09aff in __GI___poll (fds=0x7f422403a2b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f425737d18e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f422403a2b0, timeout=<optimized out>, context=0x7f422402a000) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f422402a000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f425737d2c3 in g_main_context_iteration (context=0x7f422402a000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4258fd4fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4224030a90, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4258f791ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4218976be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4258d93a12 in QThread::exec() (this=this@entry=0x56421be9c530) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f425aaf038a in QQuickPixmapReader::run() (this=0x56421be9c530) at util/qquickpixmapcache.cpp:1024
#8  0x00007f4258d94bac in QThreadPrivate::start(void*) (arg=0x56421be9c530) at thread/qthread_unix.cpp:329
#9  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f4217971700 (LWP 9527)):
#0  0x00007f425737b11c in g_source_iter_next (iter=iter@entry=0x7f4217970bb0, source=source@entry=0x7f4217970ba8) at ../../../glib/gmain.c:1023
#1  0x00007f425737cadf in g_main_context_check (context=context@entry=0x7f41ce25fe70, max_priority=2147483647, fds=fds@entry=0x7f41cca156a0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3860
#2  0x00007f425737d132 in g_main_context_iterate (context=context@entry=0x7f41ce25fe70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#3  0x00007f425737d2c3 in g_main_context_iteration (context=context@entry=0x7f41ce25fe70, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f421711199d in dconf_gdbus_worker_thread (user_data=0x7f41ce25fe70) at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007f42573a6911 in g_thread_proxy (data=0x7f41b8002360) at ../../../glib/gthread.c:807
#6  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f41d3fff700 (LWP 9503)):
#0  0x00007f4258a09aff in __GI___poll (fds=0x7f41c8072600, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f425737d18e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f41c8072600, timeout=<optimized out>, context=0x7f41c8000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f41c8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f425737d2c3 in g_main_context_iteration (context=0x7f41c8000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4258fd4fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f41c8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4258f791ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f41d3ffec20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4258d93a12 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4258d94bac in QThreadPrivate::start(void*) (arg=0x564215d62150) at thread/qthread_unix.cpp:329
#8  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f421636e700 (LWP 9502)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564215caa730) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564215caa6e0, cond=0x564215caa708) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564215caa708, mutex=0x564215caa6e0) at pthread_cond_wait.c:638
#3  0x00007f4258d9ad1b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x564215caa6e0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x5642171c4e88, mutex=mutex@entry=0x5642171c4e80, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f425abb5814 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x5642171c4e78) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x5642171c4de0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f425abb5c89 in QSGRenderThread::run() (this=0x5642171c4de0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f4258d94bac in QThreadPrivate::start(void*) (arg=0x5642171c4de0) at thread/qthread_unix.cpp:329
#9  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f421affd700 (LWP 9497)):
#0  0x00007f4258a09aff in __GI___poll (fds=0x7f41e4061780, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f425737d18e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f41e4061780, timeout=<optimized out>, context=0x7f41e4000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f41e4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f425737d2c3 in g_main_context_iteration (context=0x7f41e4000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4258fd4fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f41e4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4258f791ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f421affcc20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4258d93a12 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4258d94bac in QThreadPrivate::start(void*) (arg=0x56421744fa10) at thread/qthread_unix.cpp:329
#8  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f421b7fe700 (LWP 9496)):
#0  0x00007f4258a09aff in __GI___poll (fds=0x564217426990, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f425737d18e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x564217426990, timeout=<optimized out>, context=0x5642174241c0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=0x5642174241c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f425737d513 in g_main_loop_run (loop=0x5642173f7740) at ../../../glib/gmain.c:4241
#4  0x00007f4256f3aeda in gdbus_shared_thread_func (user_data=0x564217424190) at ../../../gio/gdbusprivate.c:279
#5  0x00007f42573a6911 in g_thread_proxy (data=0x5642173f6800) at ../../../glib/gthread.c:807
#6  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f421bfff700 (LWP 9495)):
#0  __GI___libc_read (nbytes=16, buf=0x7f421bffeb60, fd=37) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=37, buf=buf@entry=0x7f421bffeb60, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f42573c589f in read (__nbytes=16, __buf=0x7f421bffeb60, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f422402e390) at ../../../glib/gwakeup.c:210
#4  0x00007f425737ccde in g_main_context_check (context=context@entry=0x5642173f0590, max_priority=2147483647, fds=fds@entry=0x5642156f2320, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f425737d132 in g_main_context_iterate (context=context@entry=0x5642173f0590, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f425737d2c3 in g_main_context_iteration (context=0x5642173f0590, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f425737d311 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#8  0x00007f42573a6911 in g_thread_proxy (data=0x5642172c2b00) at ../../../glib/gthread.c:807
#9  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f4238d9b700 (LWP 9494)):
#0  __GI___libc_read (nbytes=16, buf=0x7f4238d9aa10, fd=35) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=35, buf=buf@entry=0x7f4238d9aa10, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f42573c589f in read (__nbytes=16, __buf=0x7f4238d9aa10, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f421c002470) at ../../../glib/gwakeup.c:210
#4  0x00007f425737ccde in g_main_context_check (context=context@entry=0x7f4220000c20, max_priority=2147483647, fds=fds@entry=0x7f4220003550, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f425737d132 in g_main_context_iterate (context=context@entry=0x7f4220000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f425737d2c3 in g_main_context_iteration (context=0x7f4220000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f4258fd4fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4220000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f4258f791ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4238d9ac20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#9  0x00007f4258d93a12 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#10 0x00007f4258d94bac in QThreadPrivate::start(void*) (arg=0x5642173df290) at thread/qthread_unix.cpp:329
#11 0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f42437fe700 (LWP 9489)):
#0  0x00007f4258d9407a in get_thread_data () at thread/qthread_unix.cpp:207
#1  QThreadData::current(bool) (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:207
#2  0x00007f4258fd4e8e in postEventSourcePrepare(GSource*, gint*) (s=0x7f422c004bb0, timeout=timeout@entry=0x7f42437fda34) at kernel/qeventdispatcher_glib.cpp:253
#3  0x00007f425737c70f in g_main_context_prepare (context=context@entry=0x7f422c000c20, priority=priority@entry=0x7f42437fdac0) at ../../../glib/gmain.c:3619
#4  0x00007f425737d0bb in g_main_context_iterate (context=context@entry=0x7f422c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4027
#5  0x00007f425737d2c3 in g_main_context_iteration (context=0x7f422c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#6  0x00007f4258fd4fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f422c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f4258f791ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f42437fdc00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f4258d93a12 in QThread::exec() (this=this@entry=0x5642158bec40) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f4259c44fa9 in QQmlThreadPrivate::run() (this=0x5642158bec40) at qml/ftw/qqmlthread.cpp:155
#10 0x00007f4258d94bac in QThreadPrivate::start(void*) (arg=0x5642158bec40) at thread/qthread_unix.cpp:329
#11 0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f423b7fe700 (LWP 9488)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5642158b1cac) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5642158b1c58, cond=0x5642158b1c80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5642158b1c80, mutex=0x5642158b1c58) at pthread_cond_wait.c:638
#3  0x00007f42519a2e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f42519a2a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f4243fff700 (LWP 9487)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5642158b1cac) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5642158b1c58, cond=0x5642158b1c80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5642158b1c80, mutex=0x5642158b1c58) at pthread_cond_wait.c:638
#3  0x00007f42519a2e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f42519a2a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4250a81700 (LWP 9486)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5642158b1cac) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5642158b1c58, cond=0x5642158b1c80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5642158b1c80, mutex=0x5642158b1c58) at pthread_cond_wait.c:638
#3  0x00007f42519a2e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f42519a2a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f4251282700 (LWP 9485)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5642158b1cac) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5642158b1c58, cond=0x5642158b1c80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5642158b1c80, mutex=0x5642158b1c58) at pthread_cond_wait.c:638
#3  0x00007f42519a2e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f42519a2a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f42537d1700 (LWP 9484)):
#0  __GI___libc_read (nbytes=16, buf=0x7f42537d09e0, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=buf@entry=0x7f42537d09e0, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f42573c589f in read (__nbytes=16, __buf=0x7f42537d09e0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x56421569fec0) at ../../../glib/gwakeup.c:210
#4  0x00007f425737ccde in g_main_context_check (context=context@entry=0x7f424c000c20, max_priority=2147483647, fds=fds@entry=0x7f424c005240, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f425737d132 in g_main_context_iterate (context=context@entry=0x7f424c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f425737d2c3 in g_main_context_iteration (context=0x7f424c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f4258fd4fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f424c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f4258f791ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f42537d0bf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#9  0x00007f4258d93a12 in QThread::exec() (this=this@entry=0x7f425a5fdd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#10 0x00007f425a579f4b in QDBusConnectionManager::run() (this=0x7f425a5fdd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#11 0x00007f4258d94bac in QThreadPrivate::start(void*) (arg=0x7f425a5fdd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#12 0x00007f4257d2a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007f4258a16293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f425443fe40 (LWP 9483)):
[KCrash Handler]
#6  0x00007f42407671bd in QSnapdRequest::handleProgress(void*) () at /lib/x86_64-linux-gnu/libsnapd-qt.so.1
#7  0x00007f42406dd5e3 in  () at /lib/x86_64-linux-gnu/libsnapd-glib.so.1
#8  0x00007f42406dd9e5 in  () at /lib/x86_64-linux-gnu/libsnapd-glib.so.1
#9  0x00007f42406de08f in  () at /lib/x86_64-linux-gnu/libsnapd-glib.so.1
#10 0x00007f4256ec070b in socket_source_dispatch (source=0x564217130920, callback=0x7f42406ddbd0, user_data=0x56421726f0a0) at ../../../gio/gsocket.c:4009
#11 0x00007f425737ce6e in g_main_dispatch (context=0x5642156d6ca0) at ../../../glib/gmain.c:3309
#12 g_main_context_dispatch (context=context@entry=0x5642156d6ca0) at ../../../glib/gmain.c:3974
#13 0x00007f425737d220 in g_main_context_iterate (context=context@entry=0x5642156d6ca0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#14 0x00007f425737d2c3 in g_main_context_iteration (context=0x5642156d6ca0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#15 0x00007f4258fd4fa2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5642156c7240, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#16 0x00007f4258f791ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdc2566490, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#17 0x00007f4258f81354 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#18 0x0000564214e1463d in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:184
[Inferior 1 (process 9483) detached]
Comment 11 Harald Sitter 2021-03-08 11:07:22 UTC
What's the output of `apt-cache policy plasma-discover plasma-discover-dbgsym`
Comment 12 Harald Sitter 2021-03-08 11:09:23 UTC
And please also the output of `dpkg -S /lib/x86_64-linux-gnu/libsnapd-glib.so.1`
Comment 13 Patrick Silva 2021-03-08 11:11:06 UTC
output of your first command:

plasma-discover:
  Installed: 5.21.2+p20.04+git20210308.0223-0
  Candidate: 5.21.2+p20.04+git20210308.0223-0
  Version table:
 *** 5.21.2+p20.04+git20210308.0223-0 500
        500 http://archive.neon.kde.org/unstable focal/main amd64 Packages
        100 /var/lib/dpkg/status
     5.21.2+p20.04+git20210306.0222-0 500
        500 http://archive.neon.kde.org/unstable focal/main amd64 Packages
     5.18.5-0ubuntu0.1 500
        500 http://ubuntu.c3sl.ufpr.br/ubuntu focal-updates/universe amd64 Packages
     5.18.4.1-0ubuntu1 500
        500 http://ubuntu.c3sl.ufpr.br/ubuntu focal/universe amd64 Packages
plasma-discover-dbgsym:
  Installed: 5.21.2+p20.04+git20210308.0223-0
  Candidate: 5.21.2+p20.04+git20210308.0223-0
  Version table:
 *** 5.21.2+p20.04+git20210308.0223-0 500
        500 http://archive.neon.kde.org/unstable focal/main amd64 Packages
        100 /var/lib/dpkg/status
     5.21.2+p20.04+git20210306.0222-0 500
        500 http://archive.neon.kde.org/unstable focal/main amd64 Packages
     5.18.5-0ubuntu0.1 500
        500 http://ddebs.ubuntu.com focal-updates/universe amd64 Packages
     5.18.4.1-0ubuntu1 500
        500 http://ddebs.ubuntu.com focal/universe amd64 Packages
Comment 14 Patrick Silva 2021-03-08 11:12:12 UTC
output of "dpkg -S /lib/x86_64-linux-gnu/libsnapd-glib.so.1":

dpkg-query: no path found matching pattern /lib/x86_64-linux-gnu/libsnapd-glib.so.1
Comment 15 Harald Sitter 2021-03-08 11:46:15 UTC
Right. So. What's going on there is that you somehow have foreign stuff installed in the form of /lib/x86_64-linux-gnu/libsnapd-glib.so.1 and snapd-glib.so.1, but they aren't coming from a deb, much less from a deb that is neon's or ubuntu's (which are the only ones that would generally have debug symbols). Consequently the tool can't resolve packages to install to improve the backtrace. There's nothing we can do there, in fact, I don't think we can even detect this any better.

This is kind of going off on a tangent but that backtrace isn't of very good quality actually ;). When scoring a trace, drkonqi looks at the quality of each line in the crashing thread (the one at the bottom in your paste) and then additionally weights them how close they are to the origin of the crash. That is because in the frames closest to the crash is where things usually have gone wrong

e.g. in your trace frame #6 is of poor quality (it lacks source file reference and line reference) and has a weight of 13, frame 7-9 are of the worst quality and contain no useful information whatsoever with a weight of 12-10. To put that into perspective the weight of these 4 frames is 46, the weight of the remaining frames is only 45: even though the other frames are of excellent quality they are less than half as impactful on the overall score. All in all the trace is probably at 1 star quality and very close to two stars (the fact that the first frame is somewhat useful pulls the score up quite a bit). 

And to get back to the original problem. The reason the top most frames score so poorly is because they are from the library that isn't from us or ubuntu so there are no debug symbols.

I'll leave the bug open in case you find another example where resolution fails. This one at least wasn't our fault :)
Comment 16 Patrick Silva 2021-03-08 12:26:13 UTC
Thanks for your detailed explanation Harald.

libsnapd-glib1 package owns /lib/x86_64-linux-gnu/libsnapd-glib.so.1.

$ sudo apt-file search /lib/x86_64-linux-gnu/libsnapd-glib.so.1
libsnapd-glib1: /usr/lib/x86_64-linux-gnu/libsnapd-glib.so.1
libsnapd-glib1: /usr/lib/x86_64-linux-gnu/libsnapd-glib.so.1.0.0

libsnapd-glib1 package is available in ubuntu repos:

$ apt info libsnapd-glib1
Package: libsnapd-glib1
Version: 1.58-0ubuntu0.20.04.0
Priority: optional
Section: libs
Source: snapd-glib
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Ayatana Packagers <pkg-ayatana-devel@alioth-lists.debian.net>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 373 kB
Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.46), libjson-glib-1.0-0 (>= 1.2.0), libsoup2.4-1 (>= 2.39.2)
Suggests: snapd
Homepage: https://github.com/snapcore/snapd-glib
Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-video, ubuntustudio-audio, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Download-Size: 90,1 kB
APT-Manual-Installed: no
APT-Sources: http://ubuntu.c3sl.ufpr.br/ubuntu focal-updates/main amd64 Packages
Description: GLib snapd library

N: There is 1 additional record. Please use the '-a' switch to see it


I have installed libsnapd-glib1-dbgsym package manually and tried to generate a good backtrace with drkonqi after re-login, but it failed with "debugger quit unexpectedly" or similar error message. Then I rebooted my laptop and drkonqi was finally able to generate a good backtrace.

Application: Discover (plasma-discover), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f4f84075e40 (LWP 1300))]
[New LWP 1302]
[New LWP 1303]
[New LWP 1304]
[New LWP 1305]
[New LWP 1306]
[New LWP 1307]
[New LWP 1308]
[New LWP 1309]
[New LWP 1312]
[New LWP 1313]
[New LWP 1314]
[New LWP 1315]
[New LWP 1321]
[New LWP 1323]
[New LWP 1353]
[New LWP 1419]
[New LWP 1420]
[New LWP 1421]
[New LWP 1422]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f4f8863faff in __GI___poll (fds=fds@entry=0x7ffc65b7e8a8, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29

Thread 20 (Thread 0x7f4ef77fe700 (LWP 1422)):
#0  0x00007f4f86fb1112 in g_source_iter_next (iter=iter@entry=0x7f4ef77fda20, source=source@entry=0x7f4ef77fda18) at ../../../glib/gmain.c:1053
#1  0x00007f4f86fb2adf in g_main_context_check (context=context@entry=0x7f4ef0325800, max_priority=2147483647, fds=fds@entry=0x7f4ef0336fe0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3860
#2  0x00007f4f86fb3132 in g_main_context_iterate (context=context@entry=0x7f4ef0325800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#3  0x00007f4f86fb32c3 in g_main_context_iteration (context=0x7f4ef0325800, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4f88c0afbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4ef002d6c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4f88baf1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4ef77fdbe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4f889c9a12 in QThread::exec() (this=this@entry=0x55904a819480) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4f8a72638a in QQuickPixmapReader::run() (this=0x55904a819480) at util/qquickpixmapcache.cpp:1024
#8  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x55904a819480) at thread/qthread_unix.cpp:329
#9  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 19 (Thread 0x7f4f117fd700 (LWP 1421)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f4f117fcb90, clockid=<optimized out>, expected=0, futex_word=0x55904980fef4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f4f117fcb90, clockid=<optimized out>, mutex=0x55904980fea0, cond=0x55904980fec8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55904980fec8, mutex=0x55904980fea0, abstime=0x7f4f117fcb90) at pthread_cond_wait.c:656
#3  0x00007f4f889d0ca8 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x55904980fea0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55904980fea0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55904a25b2c0, mutex=mutex@entry=0x559045c7e008, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f4f889ce1b1 in QThreadPoolThread::run() (this=0x55904a25b2b0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x55904a25b2b0) at thread/qthread_unix.cpp:329
#8  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7f4f10ffc700 (LWP 1420)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f4f10ffbb90, clockid=<optimized out>, expected=0, futex_word=0x559049fd8190) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f4f10ffbb90, clockid=<optimized out>, mutex=0x559049fd8140, cond=0x559049fd8168) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x559049fd8168, mutex=0x559049fd8140, abstime=0x7f4f10ffbb90) at pthread_cond_wait.c:656
#3  0x00007f4f889d0ca8 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x559049fd8140, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x559049fd8140) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55904a0c4060, mutex=mutex@entry=0x559045c7e008, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f4f889ce1b1 in QThreadPoolThread::run() (this=0x55904a0c4050) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x55904a0c4050) at thread/qthread_unix.cpp:329
#8  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7f4f46874700 (LWP 1419)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f4f46873b90, clockid=<optimized out>, expected=0, futex_word=0x559045bed940) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f4f46873b90, clockid=<optimized out>, mutex=0x559045bed8f0, cond=0x559045bed918) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x559045bed918, mutex=0x559045bed8f0, abstime=0x7f4f46873b90) at pthread_cond_wait.c:656
#3  0x00007f4f889d0ca8 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x559045bed8f0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x559045bed8f0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x559049b2c500, mutex=mutex@entry=0x559045c7e008, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f4f889ce1b1 in QThreadPoolThread::run() (this=0x559049b2c4f0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x559049b2c4f0) at thread/qthread_unix.cpp:329
#8  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f4f11ffe700 (LWP 1353)):
#0  0x00007f4f8863faff in __GI___poll (fds=0x7f4f58fa7fb0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4f86fb318e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f4f58fa7fb0, timeout=<optimized out>, context=0x7f4f1a19d000) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f4f1a19d000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4f86fb32c3 in g_main_context_iteration (context=context@entry=0x7f4f1a19d000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4f47aff99d in dconf_gdbus_worker_thread (user_data=0x7f4f1a19d000) at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007f4f86fdc911 in g_thread_proxy (data=0x7f4f4da75000) at ../../../glib/gthread.c:807
#6  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f4f4837e700 (LWP 1323)):
#0  0x00007f4f8863b171 in __GI___libc_read (nbytes=16, buf=0x7f4f4837da10, fd=87) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=87, buf=buf@entry=0x7f4f4837da10, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f4f86ffb89f in read (__nbytes=16, __buf=0x7f4f4837da10, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f4f59cc54a0) at ../../../glib/gwakeup.c:210
#4  0x00007f4f86fb2cde in g_main_context_check (context=context@entry=0x7f4f08000c20, max_priority=2147483647, fds=fds@entry=0x7f4f0800cf80, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f4f86fb3132 in g_main_context_iterate (context=context@entry=0x7f4f08000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f4f86fb32c3 in g_main_context_iteration (context=0x7f4f08000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f4f88c0afbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4f08000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f4f88baf1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4f4837dc20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#9  0x00007f4f889c9a12 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#10 0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x5590496fe1d0) at thread/qthread_unix.cpp:329
#11 0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f4f45ebe700 (LWP 1321)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559044a87bc4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559044a87b70, cond=0x559044a87b98) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559044a87b98, mutex=0x559044a87b70) at pthread_cond_wait.c:638
#3  0x00007f4f889d0d1b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x559044a87b70) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x5590449929c8, mutex=mutex@entry=0x5590449929c0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f4f8a7eb814 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x5590449929b8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x559044992920) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f4f8a7ebc89 in QSGRenderThread::run() (this=0x559044992920) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x559044992920) at thread/qthread_unix.cpp:329
#9  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f4f4ad27700 (LWP 1315)):
#0  0x00007f4f86faf70f in g_source_unref_internal (source=0x7f4f240038c0, context=0x7f4f24000c20, have_lock=1) at ../../../glib/gmain.c:2184
#1  0x00007f4f86fb1165 in g_source_iter_next (iter=iter@entry=0x7f4f4ad26a60, source=source@entry=0x7f4f4ad26a58) at ../../../glib/gmain.c:1049
#2  0x00007f4f86fb264b in g_main_context_prepare (context=context@entry=0x7f4f24000c20, priority=priority@entry=0x7f4f4ad26ae0) at ../../../glib/gmain.c:3597
#3  0x00007f4f86fb30bb in g_main_context_iterate (context=context@entry=0x7f4f24000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4027
#4  0x00007f4f86fb32c3 in g_main_context_iteration (context=0x7f4f24000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#5  0x00007f4f88c0afbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4f24000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f4f88baf1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4f4ad26c20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f4f889c9a12 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x559045e450e0) at thread/qthread_unix.cpp:329
#9  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f4f4b7fe700 (LWP 1314)):
#0  __GI___libc_read (nbytes=16, buf=0x7f4f4b7fdb50, fd=38) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=38, buf=buf@entry=0x7f4f4b7fdb50, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f4f86ffb89f in read (__nbytes=16, __buf=0x7f4f4b7fdb50, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x559045cbe910) at ../../../glib/gwakeup.c:210
#4  0x00007f4f86fb2cde in g_main_context_check (context=context@entry=0x559045dedec0, max_priority=2147483647, fds=fds@entry=0x7f4f30004b30, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f4f86fb3132 in g_main_context_iterate (context=0x559045dedec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f4f86fb3513 in g_main_loop_run (loop=0x55904484e760) at ../../../glib/gmain.c:4241
#7  0x00007f4f86b70eda in gdbus_shared_thread_func (user_data=0x559045def810) at ../../../gio/gdbusprivate.c:279
#8  0x00007f4f86fdc911 in g_thread_proxy (data=0x559045deb9e0) at ../../../glib/gthread.c:807
#9  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f4f4bfff700 (LWP 1313)):
#0  __GI___libc_read (nbytes=16, buf=0x7f4f4bffeb60, fd=36) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=36, buf=buf@entry=0x7f4f4bffeb60, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f4f86ffb89f in read (__nbytes=16, __buf=0x7f4f4bffeb60, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f4f5402f2c0) at ../../../glib/gwakeup.c:210
#4  0x00007f4f86fb2cde in g_main_context_check (context=context@entry=0x559044193da0, max_priority=2147483647, fds=fds@entry=0x559044894ba0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f4f86fb3132 in g_main_context_iterate (context=context@entry=0x559044193da0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f4f86fb32c3 in g_main_context_iteration (context=0x559044193da0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f4f86fb3311 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#8  0x00007f4f86fdc911 in g_thread_proxy (data=0x559045cbcb00) at ../../../glib/gthread.c:807
#9  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f4f64a23700 (LWP 1312)):
#0  __GI___libc_read (nbytes=16, buf=0x7f4f64a22a10, fd=34) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=34, buf=buf@entry=0x7f4f64a22a10, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f4f86ffb89f in read (__nbytes=16, __buf=0x7f4f64a22a10, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f4f4c002430) at ../../../glib/gwakeup.c:210
#4  0x00007f4f86fb2cde in g_main_context_check (context=context@entry=0x7f4f50000c20, max_priority=2147483647, fds=fds@entry=0x7f4f50003e10, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f4f86fb3132 in g_main_context_iterate (context=context@entry=0x7f4f50000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f4f86fb32c3 in g_main_context_iteration (context=0x7f4f50000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f4f88c0afbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4f50000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f4f88baf1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4f64a22c20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#9  0x00007f4f889c9a12 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#10 0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x5590474b1bb0) at thread/qthread_unix.cpp:329
#11 0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f4f66904700 (LWP 1309)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f4f66903b90, clockid=<optimized out>, expected=0, futex_word=0x559045c7fe84) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f4f66903b90, clockid=<optimized out>, mutex=0x559045c7fe30, cond=0x559045c7fe58) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x559045c7fe58, mutex=0x559045c7fe30, abstime=0x7f4f66903b90) at pthread_cond_wait.c:656
#3  0x00007f4f889d0ca8 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x559045c7fe30, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x559045c7fe30) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x559045c78fd0, mutex=mutex@entry=0x559045c7d898, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f4f889ce1b1 in QThreadPoolThread::run() (this=0x559045c78fc0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x559045c78fc0) at thread/qthread_unix.cpp:329
#8  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f4f67105700 (LWP 1308)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f4f67104b90, clockid=<optimized out>, expected=0, futex_word=0x559045c7e194) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f4f67104b90, clockid=<optimized out>, mutex=0x559045c7e140, cond=0x559045c7e168) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x559045c7e168, mutex=0x559045c7e140, abstime=0x7f4f67104b90) at pthread_cond_wait.c:656
#3  0x00007f4f889d0ca8 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x559045c7e140, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x559045c7e140) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x559045c78d90, mutex=mutex@entry=0x559045c7e008, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f4f889ce1b1 in QThreadPoolThread::run() (this=0x559045c78d80) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x559045c78d80) at thread/qthread_unix.cpp:329
#8  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f4f7a7fc700 (LWP 1307)):
#0  0x00007f4f8863faff in __GI___poll (fds=0x7f4f60004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4f86fb318e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f4f60004e60, timeout=<optimized out>, context=0x7f4f60000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f4f60000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4f86fb32c3 in g_main_context_iteration (context=0x7f4f60000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4f88c0afbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4f60000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4f88baf1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4f7a7fbc00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4f889c9a12 in QThread::exec() (this=this@entry=0x5590443613b0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4f8987afa9 in QQmlThreadPrivate::run() (this=0x5590443613b0) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x5590443613b0) at thread/qthread_unix.cpp:329
#9  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f4f7affd700 (LWP 1306)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55904435421c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5590443541c8, cond=0x5590443541f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5590443541f0, mutex=0x5590443541c8) at pthread_cond_wait.c:638
#3  0x00007f4f815d8e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f4f815d8a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f4f7b7fe700 (LWP 1305)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55904435421c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5590443541c8, cond=0x5590443541f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5590443541f0, mutex=0x5590443541c8) at pthread_cond_wait.c:638
#3  0x00007f4f815d8e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f4f815d8a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4f7bfff700 (LWP 1304)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55904435421c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5590443541c8, cond=0x5590443541f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5590443541f0, mutex=0x5590443541c8) at pthread_cond_wait.c:638
#3  0x00007f4f815d8e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f4f815d8a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f4f80eb8700 (LWP 1303)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55904435421c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5590443541c8, cond=0x5590443541f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5590443541f0, mutex=0x5590443541c8) at pthread_cond_wait.c:638
#3  0x00007f4f815d8e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f4f815d8a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4f83407700 (LWP 1302)):
#0  0x00007f4f8863faff in __GI___poll (fds=0x7f4f7c005240, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4f86fb318e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f4f7c005240, timeout=<optimized out>, context=0x7f4f7c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f4f7c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4f86fb32c3 in g_main_context_iteration (context=0x7f4f7c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4f88c0afbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4f7c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4f88baf1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4f83406bf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4f889c9a12 in QThread::exec() (this=this@entry=0x7f4f8a233d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4f8a1aff4b in QDBusConnectionManager::run() (this=0x7f4f8a233d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f4f889cabac in QThreadPrivate::start(void*) (arg=0x7f4f8a233d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007f4f87960609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4f8864c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4f84075e40 (LWP 1300)):
[KCrash Handler]
#6  0x00007f4f671dd1bd in QSnapdRequest::handleProgress(void*) () at /lib/x86_64-linux-gnu/libsnapd-qt.so.1
#7  0x00007f4f671535e3 in update_changes (self=self@entry=0x559045c7e8a0 [SnapdClient], change=0x7f4f4d963860 [SnapdChange], data=data@entry=0x0) at ../snapd-glib/snapd-client.c:486
#8  0x00007f4f671539e5 in parse_response (self=self@entry=0x559045c7e8a0 [SnapdClient], request=request@entry=0x55904cc29710 [SnapdGetChange], message=message@entry=0x7f4ef0320480 [SoupMessage]) at ../snapd-glib/requests/snapd-get-change.h:20
#9  0x00007f4f6715408f in read_cb (socket=<optimized out>, condition=<optimized out>, self=0x559045c7e8a0 [SnapdClient]) at ../snapd-glib/snapd-client.c:645
#10 0x00007f4f86af670b in socket_source_dispatch (source=0x55904b1a78d0, callback=0x7f4f67153bd0 <read_cb>, user_data=0x559045c7e8a0) at ../../../gio/gsocket.c:4009
#11 0x00007f4f86fb2e6e in g_main_dispatch (context=0x559044178ca0) at ../../../glib/gmain.c:3309
#12 g_main_context_dispatch (context=context@entry=0x559044178ca0) at ../../../glib/gmain.c:3974
#13 0x00007f4f86fb3220 in g_main_context_iterate (context=context@entry=0x559044178ca0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#14 0x00007f4f86fb32c3 in g_main_context_iteration (context=0x559044178ca0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#15 0x00007f4f88c0afa2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x559044169240, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#16 0x00007f4f88baf1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc65b7f3f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#17 0x00007f4f88bb7354 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#18 0x0000559043f6263d in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:184
[Inferior 1 (process 1300) detached]
Comment 17 Harald Sitter 2021-03-08 12:38:47 UTC
(In reply to Patrick Silva from comment #16)
> Thanks for your detailed explanation Harald.
> 
> libsnapd-glib1 package owns /lib/x86_64-linux-gnu/libsnapd-glib.so.1.
> 
> $ sudo apt-file search /lib/x86_64-linux-gnu/libsnapd-glib.so.1
> libsnapd-glib1: /usr/lib/x86_64-linux-gnu/libsnapd-glib.so.1
> libsnapd-glib1: /usr/lib/x86_64-linux-gnu/libsnapd-glib.so.1.0.0

It's cool that this worked but there's still something funny about it

/lib/x86_64-linux-gnu/libsnapd-glib.so.1 (the path you have)

is not

/usr/lib/x86_64-linux-gnu/libsnapd-glib.so.1 (the path the package has)

I have the package installed and the file in /lib doesn't exist for me. Yet they must be the same file otherwise you'd not have managed to generate a trace (gdb resolves symbols by a build-specific debug id set at build time, meaning that since gdb found the symbols it must be the same file from the same build).
Perhaps something copied the file to /lib?

It's very strange but doesn't really change the fact that we can't resolve the debug package for a file path that dpkg doesn't know about ^^

BTW, you need also libsnapd-qt1-dbgsym. The top most frame still is missing source context.
Comment 18 Patrick Silva 2021-03-08 13:00:32 UTC
(In reply to Harald Sitter from comment #17)
> Perhaps something copied the file to /lib?

I don't know. Is there any way to find this out?
Comment 19 Harald Sitter 2021-03-08 14:02:08 UTC
I'm sure there is but I wouldn't know how exactly to set that up. auditd technically should allow you to watch which process is writing to the path. The tool inotifywatch might as well. Both would only help if it is still actively being copied there, if some script once ran 5 months ago and copied it to /lib there may be no way to tell anymore. Conceivably you could rename the files and restart to see if they are re-appear, if not they likely had been put there in the past.

https://linuxhint.com/auditd_linux_tutorial/
Comment 20 Patrick Silva 2021-03-08 14:24:07 UTC
I have renamed /lib/x86_64-linux-gnu/libsnapd-glib.so.1 file, rebooted and this file was not created again. But then Snap support in Discover stopped working.
I have reverted to original file name and Snap support in Discover is working again.

I will report other issues with installation of debug symbols if they happen. Thanks Harald. :)
Comment 21 Harald Sitter 2021-09-01 12:57:44 UTC
https://invent.kde.org/system/drkonqi-pk-debug-installer/-/commit/ef98ff3bec10ca75a4f1ab5bf85f11f95a9e7be8

Turns out the reason the paths were wrong is because of https://wiki.debian.org/UsrMerge which leads to paths sometimes being either /lib or /usr/lib depending on the position of the stars in the night sky or something. In any event it means that we cannot simply pass the paths to packagekit any longer and assume they will resolve when correct. packagekit, or really dpkg, still know the "real" path of the file and so asking for the package of /lib/foo.so when it is meant to be in /usr will yield no results. To deal with this problem the installer now tries both. Shouldn't really have any negative side effects as the entire premise of usr-merging is that the / and /usr are non-overlapping.