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

            Bug ID: 523294
           Summary: plasmashell crashes when quickly dragging a taskbar
                    icon while something's playing video/audio
    Classification: Plasma
           Product: plasmashell
      Version First 6.7.3
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager widgets
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

If I quickly drag a taskbar icon to reposition it (not click, actually drag it
fast) while I've got something playing media in the background (had Chrome open
with a video), plasmashell has a chance to just crash. Screen goes black for a
second, desktop icons snap back to default positions, taskbar freezes up...
then it recovers on its own after 1-2 seconds as plasmashell restarts itself.

Might be related to bug 509192 / QTBUG-140018 (a Qt 6.9.2 regression with
Loaders nulling the QML engine while unloading, but something still trying to
use it), but the crash happens in a different spot than that one did, so I
don't think the existing fix covers this case.

STEPS TO REPRODUCE
1. Have something playing media (video/audio) in a window
2. Fast-drag a taskbar icon to move it somewhere else on the panel
3. Not 100% consistent, but it'll crash sometimes

OBSERVED RESULT
plasmashell segfaults. Wallpaper goes black, desktop icons reset, taskbar
freezes, then it self-recovers in about 1-2 seconds.

EXPECTED RESULT
Taskbar icon just moves, no crash.

SOFTWARE/OS VERSIONS
- Plasma: 6.7.3
- KWin: 6.7.3
- Wayland
- CachyOS

BACKTRACE
```
#0  QSortFilterProxyModel::canFetchMore(QModelIndex const&) const
#1  QQmlDelegateModel::setRootIndex(QVariant const&)
#2  [incubation chain, QQmlComponent::create]
#3  QQuickLoader::setActive(bool)
#4  [QQmlBinding::update chain]
#5  QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**)
#6  QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**)
#7  QQmlPropertyPrivate::write(...)
#8  QV4::QObjectWrapper::setQmlProperty(...)
#9  QV4::Lookup::setterFallback(...)
#10 [JIT'd QML binding, no symbol available]
```

ADDITIONAL INFO

Looks similar in nature to bug 509192 and QTBUG-140018
(https://bugreports.qt.io/browse/QTBUG-140018) - same "Loader tears down the
engine mid-flight" kind of race — but this is hitting the taskbar's delegate
model instead of the media controller applet, so I don't think the fix for
509192 touches this path.

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

Reply via email to