https://bugs.kde.org/show_bug.cgi?id=466699

            Bug ID: 466699
           Summary: Dolphin crashes at start after failed offline-update
    Classification: Applications
           Product: Discover
           Version: 5.27.2
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: discover
          Assignee: plasma-b...@kde.org
          Reporter: ojschm...@kde.org
                CC: aleix...@kde.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to