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

            Bug ID: 453703
           Summary: Plasmashell keeps crashing while CUPS is running
           Product: plasmashell
           Version: 5.24.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: oss+kde+bugzi...@mayeul.net
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

Application: plasmashell (5.24.5)

Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.17.5-arch1-2 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I started the kde plasma session from sddm

- Unusual behavior I noticed:
Flickering desktop background, no taskbar, no desktop icons. Just the wallpaper
alternating with a flashing black screen.

I noticed mentions of cups in the logs (which I'm attaching), so I stopped the
service. Plasmashell finally started up and displayed the taskbar and
everything. Previously, I had tried renaming multiple kde-related dot files.

- Custom settings of the application:
I have a lot of printers configured with CUPS.
I am pretty sure the CUPS plasmoid crashes, which brings down the whole
plasmashell with it.

It's notable that it's far from the first time I report the ploblem. I had a
very similar issue (CUPS plasmoid-related plasmashell crash) years ago, but it
was fixed. Having any integration or plasmoid crash should not bring down the
whole shell, regardless of where the issue comes from.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  PrinterModel::updateDest(QStandardItem*, KCupsPrinter const&)
(this=this@entry=0x5616fbff3520, destItem=0x0, printer=...) at
/usr/src/debug/print-manager-22.04.1/libkcups/PrinterModel.cpp:249
#7  0x00007f94234c4503 in PrinterModel::getDestsFinished(KCupsRequest*)
(this=0x5616fbff3520, request=0x5616fbfe0fe0) at
/usr/src/debug/print-manager-22.04.1/libkcups/PrinterModel.cpp:137
#8  0x00007f949418b7d6 in QObject::event(QEvent*) (this=<optimized out>,
e=0x5616fc011e70) at kernel/qobject.cpp:1314
#9  0x00007f9494dbd2c6 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x5616fbff3520, e=0x5616fc011e70) at
kernel/qapplication.cpp:3637
#10 0x00007f94941675aa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5616fbff3520, event=0x5616fc011e70) at
kernel/qcoreapplication.cpp:1064
#11 0x00007f94941680a9 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x5616fa0cdf00) at
kernel/qcoreapplication.cpp:1821
#12 0x00007f94941af678 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x5616fa216290) at kernel/qeventdispatcher_glib.cpp:277
#13 0x00007f9492535163 in g_main_dispatch (context=0x7f9488005010) at
../glib/glib/gmain.c:3417
#14 g_main_context_dispatch (context=0x7f9488005010) at
../glib/glib/gmain.c:4135
#15 0x00007f949258b9e9 in g_main_context_iterate.constprop.0
(context=context@entry=0x7f9488005010, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4211
#16 0x00007f94925326c5 in g_main_context_iteration (context=0x7f9488005010,
may_block=1) at ../glib/glib/gmain.c:4276
#17 0x00007f94941b357a in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x5616fa21c470, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007f949415f88b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fff37afd600,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#19 0x00007f949416afd7 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x00007f94945381d2 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1867
#21 0x00007f9494dbb64a in QApplication::exec() () at
kernel/qapplication.cpp:2829
#22 0x00005616f9ed0f81 in main(int, char**) (argc=<optimized out>,
argv=0x7fff37afd7a0) at
/usr/src/debug/plasma-workspace-5.24.5/shell/main.cpp:238
[Inferior 1 (process 213427) detached]

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

Possible duplicates by query: bug 453681, bug 453578, bug 453546, bug 453098,
bug 453097.

Reported using DrKonqi

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

Reply via email to