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

            Bug ID: 489411
           Summary: Plasmashell crashes, possibly after closing a window
                    with children windows
    Classification: Plasma
           Product: plasmashell
           Version: 6.1.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Window List
          Assignee: plasma-b...@kde.org
          Reporter: j...@kaidan.im
                CC: uhh...@gmail.com
  Target Milestone: 1.0

Created attachment 171155
  --> https://bugs.kde.org/attachment.cgi?id=171155&action=edit
Backtrace

First of all, I didn't experience this bug myself, I just saw it on someone
elses computer and debugged it somewhat.

SUMMARY
Plasmashell crashes

The backtrace is the same as this sentry report:
https://crash-reports.kde.org/organizations/kde/issues/38215/?project=9&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=9

The backtrace is attached below for reference.


My current theory is this:
A window that still has children windows is being closed.

The function in which this crashes is the lambda connected to
&PlasmaWindow::parentWindowChanged in waylandtasksmodel.cpp:635.

The lambda is only invoked, because QObject::destroyed is connected to
&PlasmaWindow::parentWindowChanged in waylandtasksmodel:320

Qt does a direct connection here, so then parentWindowChanged is invoked as
part of the destructor of PlasmaWindow, which is probably not what's wanted
here. Possibly a QueuedConnection would fix this.

My theory is that the window that is being deleted is accessed by the code
called in the result of the destructor.

I don't have a proper setup to test my theory right now.


STEPS TO REPRODUCE
Currently unknown


SOFTWARE/OS VERSIONS
KDE Plasma Version:  6.1.1

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

Reply via email to