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

            Bug ID: 365471
           Summary: KWin crashes when switching rendering backend with
                    QPainter scene
           Product: kwin
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: fab...@ritter-vogt.de

In a VM with virtio graphics, KWIN_COMPOSE=Q kwin_wayland [...] crashes when
the rendering backend is changed.
The actual backend doesn't seem to matter.

264             Window* w = stacking_order[ i ];                                
265             Toplevel* topw = w->window() <-- w is nullptr
266             WindowPrePaintData data;

Backtrace:

#0  0x00007fcf7c4600f2 in KWin::Scene::paintSimpleScreen
(this=this@entry=0x151f460, orig_mask=orig_mask@entry=0, region=...) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/scene.cpp:264
#1  0x00007fcf7c460f24 in KWin::Scene::finalPaintScreen (this=0x151f460,
mask=mask@entry=0, region=..., data=...) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/scene.cpp:201
#2  0x00007fcf7c489b3f in KWin::EffectsHandlerImpl::paintScreen
(this=0x15d0fe0, mask=0, region=..., data=...) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/effects.cpp:429
#3  0x00007fcf7c460bad in KWin::Scene::paintScreen (this=this@entry=0x151f460,
mask=mask@entry=0x7fffc220eeac, damage=..., repaint=...,
updateRegion=updateRegion@entry=0x7fffc220eec0,
validRegion=validRegion@entry=0x7fffc220eed0, 
    projection=...) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/scene.cpp:151
#4  0x00007fcf7c480e77 in KWin::SceneQPainter::paint (this=0x151f460,
damage=..., toplevels=...) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/scene_qpainter.cpp:159
#5  0x00007fcf7c45399a in KWin::Compositor::performCompositing
(this=this@entry=0x12e3140) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/composite.cpp:713
#6  0x00007fcf7c454039 in KWin::Compositor::startupWithWorkspace
(this=0x12e3140) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/composite.cpp:334
#7  0x00007fcf7c4549e3 in KWin::Compositor::slotCompositingOptionsInitialized
(this=this@entry=0x12e3140) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/composite.cpp:269
#8  0x00007fcf7c454f12 in KWin::Compositor::setup (this=0x12e3140) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/composite.cpp:180
#9  0x00007fcf7c45627c in KWin::Compositor::slotReinitialize (this=0x12e3140)
at /usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/composite.cpp:479
#10 0x00007fcf7c525b15 in KWin::Compositor::qt_metacall (this=0x12e3140,
_c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffc220f3c0) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/build/kwin_automoc.dir/moc_composite.cpp:332
#11 0x00007fcf7395ec90 in ?? () from /usr/lib64/libQt5DBus.so.5
#12 0x00007fcf7a862f99 in QObject::event(QEvent*) () from
/usr/lib64/libQt5Core.so.5
#13 0x00007fcf7ade49ac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#14 0x00007fcf7adec151 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#15 0x00007fcf7a836018 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#16 0x00007fcf7a8387f0 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#17 0x00007fcf7a88786a in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#18 0x00007fcf637fe8dd in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...) at
eventdispatchers/qunixeventdispatcher.cpp:68
#19 0x00007fcf7a833fca in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#20 0x00007fcf7a83c8bc in QCoreApplication::exec() () from
/usr/lib64/libQt5Core.so.5
#21 0x0000000000408d25 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/main_wayland.cpp:736




Reproducible: Always

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

Reply via email to