Bug 466699 - Dolphin crashes at start after failed offline-update
Summary: Dolphin crashes at start after failed offline-update
Status: RESOLVED NOT A BUG
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.27.2
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-03-02 09:06 UTC by Olaf Jan Schmidt
Modified: 2023-07-03 18:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.65 KB, text/plain)
2023-06-02 20:57 UTC, ylan8
Details
New crash information added by DrKonqi (2.65 KB, text/plain)
2023-06-02 23:49 UTC, ylan8
Details
New crash information added by DrKonqi (45.41 KB, text/plain)
2023-07-03 18:52 UTC, Amir Hossein Niknezhad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Jan Schmidt 2023-03-02 09:06:25 UTC
Application: plasma-discover (5.27.2)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 5.19.0-35-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
Discover crashes during launch after installing an offline-update was interrupted because of an empty battery.
The system was installing a kernel update, which I could complete by calling `sudo dpkg --configure -a`.

The crash might be related to a broken pkcon status.

> pkcon repair
                              [=========================]         
Testing changes               [=========================]         
Finished                      [=========================]         
                              [=========================]         
Waiting for authentication    [=========================]         
Loading cache                 [=========================]         
Running                       [=========================]         
Finished                      [=========================]

> pkcon offline-status
Status: Failed
ErrorCode:failed-initialization
ErrorDetails:The transaction did not complete

> sudo pkcon offline-trigger
Command failed: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code1: Prepared update not found: /var/lib/PackageKit/prepared-update

> pkcon refresh
Refreshing cache              [=========================]         
Loading cache                 [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Finished                      [=========================] 

> pkcon get-updates
Getting updates               [=========================]         
Loading cache                 [=========================]         
Finished                      [=========================]         
There are no updates available at this time.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f21e4073ddc in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
#5  0x00007f21e4074390 in PackageKitBackend::resolvePackages(QStringList const&) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
#6  0x00007f21e4077d3f in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
#7  0x00007f21e407c11d in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
#8  0x00007f22006e9ade in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f220216c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f22006bc07a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f22006bf167 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f2200716487 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f21ff051d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f21ff0a66c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f21ff04f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f2200715ad8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f22006ba99b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f22006c2f34 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x000055d03c6d5c63 in ?? ()
#20 0x00007f21ffc29d90 in __libc_start_call_main (main=main@entry=0x55d03c6d5340, argc=argc@entry=1, argv=argv@entry=0x7ffce96c0418) at ../sysdeps/nptl/libc_start_call_main.h:58
#21 0x00007f21ffc29e40 in __libc_start_main_impl (main=0x55d03c6d5340, argc=1, argv=0x7ffce96c0418, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffce96c0408) at ../csu/libc-start.c:392
#22 0x000055d03c6d66a5 in ?? ()
[Inferior 1 (process 5037) detached]

The reporter indicates this bug may be a duplicate of or related to bug 463768.

Reported using DrKonqi
Comment 1 Paul Worrall 2023-03-02 10:32:17 UTC
Closing this because it is reported again at bug #466702 with a corrected title
Comment 2 ylan8 2023-06-02 20:57:33 UTC
Created attachment 159417 [details]
New crash information added by DrKonqi

plasma-discover (5.27.5) using Qt 5.15.9

I understood that this problem came from a ssl certificate and I had this problem on several applications.

-- Backtrace (Reduced):
#5  0x00007f0e7847bc50 in PackageKitBackend::resolvePackages(QStringList const&) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
[...]
#8  0x00007f0eb96e9bee in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f0ebb36c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f0eb96bc18a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f0eb96bf277 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 3 ylan8 2023-06-02 23:49:22 UTC
Created attachment 159420 [details]
New crash information added by DrKonqi

plasma-discover (5.27.5) using Qt 5.15.9

I understood that this problem came from a ssl certificate and I had this problem on several applications.

-- Backtrace (Reduced):
#5  0x00007ff20052bc50 in PackageKitBackend::resolvePackages(QStringList const&) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
[...]
#8  0x00007ff22aae9bee in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff22c56c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ff22aabc18a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff22aabf277 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 4 Amir Hossein Niknezhad 2023-07-03 18:52:03 UTC
Created attachment 160065 [details]
New crash information added by DrKonqi

plasma-discover (5.27.6) using Qt 5.15.10

I have no idea why this happens but Discover crashes less than 15 seconds after launch most of the time. This has happened to me on many distors. Fedora, Ubuntu based ones like Kubuntu and Neon, Debian, and arch (I think). I'd love to find out what's causing this. Is is something I'm doing on all these systems? I can't think of anything  in particular... Is it my network? (I do live in a country where access to the internet is restricted). I love Plasma and I'd never use any other DE, but this is really annoying.

-- Backtrace (Reduced):
#5  0x00007f92355779dc in PackageKitBackend::resolvePackages(QStringList const&) () from /usr/lib64/qt5/plugins/discover/packagekit-backend.so
[...]
#8  0x00007f9293b192b0 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#9  0x00007f92955a519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#10 0x00007f9293aed4f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#11 0x00007f9293af0af1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5