Bug 435380 - Crash Reporting Assistant fails to install debugging libraries automatically for Dolphin
Summary: Crash Reporting Assistant fails to install debugging libraries automatically ...
Status: RESOLVED NOT A BUG
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-05 10:57 UTC by Dan Dascalescu
Modified: 2021-04-13 16:41 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Crash Reporting Assistant failign to install debug symbols (606.87 KB, video/webm)
2021-04-05 10:57 UTC, Dan Dascalescu
Details
GNOME Application Platform in Discover (112.93 KB, image/png)
2021-04-13 08:12 UTC, Dan Dascalescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2021-04-05 10:57:39 UTC
Created attachment 137344 [details]
Crash Reporting Assistant failign to install debug symbols

Would it be possible to make the crash handler install the required debug symbols and other crash reporting libraries automatically for Dolphin? I admit I don't fully understand what's going on here, but I've seen this behavior several times: Dolphin crashes, the Crash Reporting Assistant collects some information, which it deems "probably not useful", and Install Debug Symbols fails. I'm reporting what I can - the crash information below, and a screencast of the process I described above.

--

Application: Dolphin (dolphin), signal: Segmentation fault

[New LWP 1601]
[New LWP 1635]
[New LWP 1683]
[New LWP 1684]
[New LWP 1685]
[New LWP 1686]
[New LWP 1694]
[New LWP 910924]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fa56e960aff in __GI___poll (fds=0x7ffc008ec568, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7fa5679ee6c0 (LWP 1553))]

Thread 9 (Thread 0x7fa527b71700 (LWP 910924)):
#0  __GI___libc_read (nbytes=10, buf=0x7fa527b70b1e, fd=33) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=33, buf=0x7fa527b70b1e, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fa569ec1975 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#3  0x00007fa56ad6a416 in pa_mainloop_prepare () from /lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fa56ad6aeb4 in pa_mainloop_iterate () from /lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fa56ad6af70 in pa_mainloop_run () from /lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fa56ad7911d in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007fa569ef072c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#8  0x00007fa56adbd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa56e96d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fa551057700 (LWP 1694)):
#0  __GI___libc_read (nbytes=16, buf=0x7fa551056ad0, fd=23) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=23, buf=0x7fa551056ad0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fa56a387b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa56a33eebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa56a33f312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa56a33f4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fa56c683ffb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa56c6281eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fa56c442a52 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fa56c443bec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fa56adbd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007fa56e96d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fa55cbae700 (LWP 1686)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed56bd8b68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ed56bd8b18, cond=0x55ed56bd8b40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ed56bd8b40, mutex=0x55ed56bd8b18) at pthread_cond_wait.c:638
#3  0x00007fa55ead9b5b in cnd_wait (mtx=0x55ed56bd8b18, cond=0x55ed56bd8b40) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55ed56ea70d0) at ../src/util/u_queue.c:289
#5  0x00007fa55ead975b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fa56adbd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa56e96d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fa55d3af700 (LWP 1685)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed56bd8b68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ed56bd8b18, cond=0x55ed56bd8b40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ed56bd8b40, mutex=0x55ed56bd8b18) at pthread_cond_wait.c:638
#3  0x00007fa55ead9b5b in cnd_wait (mtx=0x55ed56bd8b18, cond=0x55ed56bd8b40) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55ed56ea7090) at ../src/util/u_queue.c:289
#5  0x00007fa55ead975b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fa56adbd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa56e96d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fa55dbb0700 (LWP 1684)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed56bd8b68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ed56bd8b18, cond=0x55ed56bd8b40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ed56bd8b40, mutex=0x55ed56bd8b18) at pthread_cond_wait.c:638
#3  0x00007fa55ead9b5b in cnd_wait (mtx=0x55ed56bd8b18, cond=0x55ed56bd8b40) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55ed56ea6e50) at ../src/util/u_queue.c:289
#5  0x00007fa55ead975b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fa56adbd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa56e96d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fa55e3b1700 (LWP 1683)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed56bd8b68) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ed56bd8b18, cond=0x55ed56bd8b40) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ed56bd8b40, mutex=0x55ed56bd8b18) at pthread_cond_wait.c:638
#3  0x00007fa55ead9b5b in cnd_wait (mtx=0x55ed56bd8b18, cond=0x55ed56bd8b40) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55ed56d83de0) at ../src/util/u_queue.c:289
#5  0x00007fa55ead975b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fa56adbd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa56e96d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa56602c700 (LWP 1635)):
#0  __GI___libc_read (nbytes=16, buf=0x7fa56602baa0, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7fa56602baa0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fa56a387b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa56a33eebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa56a33f312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa56a33f4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fa56c683ffb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa56c6281eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fa56c442a52 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fa56d6d9f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007fa56c443bec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fa56adbd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007fa56e96d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa566e2a700 (LWP 1601)):
#0  0x00007fa56e960aff in __GI___poll (fds=0x7fa566e29be8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa56adf3c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa56adf590a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa567362d58 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa56c443bec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa56adbd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa56e96d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa5679ee6c0 (LWP 1553)):
[KCrash Handler]
#4  0x00007fa56c660232 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa56d870565 in KJob::description(KJob*, QString const&, QPair<QString, QString> const&, QPair<QString, QString> const&) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#6  0x00007fa56e3cb727 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#7  0x00007fa56e3c9f13 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#8  0x00007fa56e3ca300 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#9  0x00007fa56e3ca6e7 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#10 0x00007fa56c6606fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fa56d870410 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#12 0x00007fa56d87113b in KJob::finishJob(bool) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#13 0x00007fa56e16e410 in KIO::FileCopyJob::slotResult(KJob*) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x00007fa56c6606fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fa56d870410 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#16 0x00007fa56d87113b in KJob::finishJob(bool) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#17 0x00007fa56e17ba78 in KIO::SimpleJob::slotFinished() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#18 0x00007fa56c6606fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fa56e14b232 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#20 0x00007fa56e148f2f in KIO::SlaveInterface::dispatch() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#21 0x00007fa56e152132 in KIO::Slave::gotInput() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#22 0x00007fa56c6606fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fa56c657279 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fa56d100dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fa56d109bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fa56c6296da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fa56c62bfe1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fa56c684987 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fa56a33f17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fa56a33f400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fa56a33f4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fa56c683fe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fa56c6281eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fa56c630394 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fa56ea90fa2 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:222
#36 0x00007fa56e8720b3 in __libc_start_main (main=0x55ed562e1060 <main>, argc=3, argv=0x7ffc008ee148, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc008ee138) at ../csu/libc-start.c:308
#37 0x000055ed562e109e in _start ()
[Inferior 1 (process 1553) detached]
Comment 1 Harald Sitter 2021-04-07 10:27:16 UTC
This is not a library built by neon /lib/x86_64-linux-gnu/libQt5Core.so.5 

Your system is tainted leading to foreign libraries getting loaded instead of the ones from neon. You've probably installed some bad third party software. Nothing we can do about that.
Comment 2 Dan Dascalescu 2021-04-08 00:32:14 UTC
I don't know how the internals work here, but shouldn't the CRA ask for debug information only for the relevant libraries? Or are you saying that some of the relevant libraries have been replaced by non-Neon ones?

Asking because with #435490, CRA was able to pull together information (apparently?) but failed to connect to bugs.kde.org.

Any ideas/common culprits as to what software might be tainting the libraries? I did install Gnome (for the calculator, much better ergonomics than the KDE ones) - maybe that's it?
Comment 3 Harald Sitter 2021-04-08 10:22:53 UTC
> Or are you saying that some of the relevant libraries have been replaced by non-Neon ones?

Yep. The actual system files are in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5. In fact the path difference wouldn't even be of any importance if the "wrong" path had an associated package and debug symbol package. It does not have either. So, whatever caused this isn't a deb at all.
Comment 4 Nate Graham 2021-04-08 16:13:30 UTC
FWIW you don't have to install all of GNOME to get just their calculator app, just like how you don't need to install all of Plasma to get just Dolphin (or whatever). These are pretty self-contained apps that won't drag in the whole DE. :)
Comment 5 Dan Dascalescu 2021-04-13 08:12:50 UTC
Created attachment 137553 [details]
GNOME Application Platform in Discover

@Nate: As far as I can remember, I've only installed Gnome Calculator from Discover (and it shows up there), but since then, Discover has been presenting "GNOME Application Platform version 40" for update.
Comment 6 Nate Graham 2021-04-13 16:41:47 UTC
Sounds like you got the Flatpak version, then. That's the GNOME runtime which supports it, and it will now receive periodic updates. Sometimes very frequently. :)