https://bugs.kde.org/show_bug.cgi?id=358004
Bug ID: 358004
Summary: Kwin crash on closing matlab figures / closing matlab
Product: kwin
Version: unspecified
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: kwin-bugs-n...@kde.org
Reporter: chrisb2...@gmail.com
Application: kwin_x11 (5.5.90)
(Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.3.0 x86_64
-- Information about the crash:
- What I was doing when the application crashed:
Matlab command line entry
figure();
close(gcf); % This line closes the active figure
reproduces (almost) every time.
Backtraces are available (one probably attached to this report by KCrash)
additionally at
https://paste.kde.org/pu8niuxq5 (figure closing)
https://paste.kde.org/pxwcosz7a (exit of matlab)
Using Nouveau drivers, output of kwin_x11 --replace is:
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1584, resource id: 81788933,
major code: 42 (SetInputFocus), minor code: 0
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVC3
OpenGL version string: 4.1 (Core Profile) Mesa 11.2.0-devel
(git-86fa484)
OpenGL shading language version string: 4.10
Driver: Nouveau
GPU class: Unknown
OpenGL version: 4.1
GLSL version: 4.10
Mesa version: 11.2
X server version: 1.18.99
Linux kernel version: 4.3
Requires strict binding:yes
GLSL shaders: yes
Texture NPOT support: yes
Virtual Machine:no
QMetaProperty::read: Unable to handle unregistered datatype
'KWayland::Server::SurfaceInterface*' for property 'KWin::Toplevel::surface'
The crash can be reproduced every time.
-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f22ec51c800 (LWP 1978))]
Thread 4 (Thread 0x7f22d1c9a700 (LWP 1982)):
#0 0x7f22e11f86cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x7f22e2253ef2 in _xcb_conn_wait (c=c@entry=0x21ec0d0,
cond=cond@entry=0x21ec110, vector=vector@entry=0x0, count=count@entry=0x0) at
xcb_conn.c:479
#2 0x7f22e2255c07 in xcb_wait_for_event (c=0x21ec0d0) at xcb_in.c:693
#3 0x7f22d2c825b9 in ?? () from /opt/qt5/lib64/libQt5XcbQpa.so.5
#4 0x7f22e250e09f in ?? () from /opt/qt5/lib64/libQt5Core.so.5
#5 0x7f22e4ae32c4 in start_thread (arg=0x7f22d1c9a700) at
pthread_create.c:310
#6 0x7f22e1200ebd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 3 (Thread 0x7f22ca792700 (LWP 1987)):
#0 0x7f22e11f9e03 in select () at ../sysdeps/unix/syscall-template.S:81
#1 0x7f22e272d72f in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timespec const*) () from /opt/qt5/lib64/libQt5Core.so.5
#2 0x7f22e272f0a4 in
QEventDispatcherUNIXPrivate::doSelect(QFlags,
timespec*) () from /opt/qt5/lib64/libQt5Core.so.5
#3 0x7f22e272f576 in
QEventDispatcherUNIX::processEvents(QFlags) ()
from /opt/qt5/lib64/libQt5Core.so.5
#4 0x7f22e26dc09a in
QEventLoop::exec(QFlags) () from
/opt/qt5/lib64/libQt5Core.so.5
#5 0x7f22e250928c in QThread::exec() () from
/opt/qt5/lib64/libQt5Core.so.5
#6 0x7f22ea0db7e5 in ?? () from /opt/qt5/lib64/libQt5Qml.so.5
#7 0x7f22e250e09f in ?? () from /opt/qt5/lib64/libQt5Core.so.5
#8 0x7f22e4ae32c4 in start_thread (arg=0x7f22ca792700) at
pthread_create.c:310
#9 0x7f22e1200ebd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 2 (Thread 0x7f22ba1ed700 (LWP 2003)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x7f22eb275714 in ?? () from /opt/qt5/lib64/libQt5Script.so.5
#2 0x7f22eb275759 in ?? () from /opt/qt5/lib64/libQt5Script.so.5
#3 0x7f22e4ae32c4 in start_thread (arg=0x7f22ba1ed700) at
pthread_create.c:310
#4 0x7f22e1200ebd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 1 (Thread 0x7f22ec51c800 (LWP 1978)):
[KCrash Handler]
#5 0x7f22ebe08698 in KWin::Scene::Window::buildQuads(bool) const [clone
.constprop.113] () from /opt/kde/lib64/libkwin.so.5
#6 0x7f22ebe09ae2 in KWin::Scene::paintSimpleScreen(int, QRegion) () from
/opt/kde/lib64/libkwin.so.5
#7 0x7f22ebe1c4f3 in KWin::SceneOpenGL2::paintSimpleScreen(int, QRegion)
() from /opt/kde/lib64/libkwin.so.5
#8 0x7f22ebe041e4 in KWin::Scene::finalPaintScreen(int, QRegion,
KWin::ScreenPaintData&) () from /opt/kde/lib64/libkwin.so.5
#9 0x7f22ebe32dff in KWin::EffectsHandlerImpl::paintScreen(int, QRegion,
KWin::ScreenPaintData&)