[kde] [Bug 346857] New: kwin crash when closing an OpenGL window

Laurent Bonnaud L.Bonnaud at laposte.net
Tue Apr 28 18:35:12 BST 2015


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

            Bug ID: 346857
           Summary: kwin crash when closing an OpenGL window
           Product: kde
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: L.Bonnaud at laposte.net

Application: kwin_x11 (5.3.0)

Qt Version: 5.4.1
Operating System: Linux 4.0.0-040000-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:

I was running glxgears and was closing the window.

$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.256 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 1380 requests (1380 known processed) with 0 events remaining.

PS: drkonqi did not let me append this backtrace to a previous similar bug
report of mine.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb5a9c5b800 (LWP 18587))]

Thread 4 (Thread 0x7fb585a35700 (LWP 18599)):
#0  0x00007fb5a9742743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb5a7d34101 in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timespec const*) (nfds=18, fdread=fdread at entry=0x7fb578000a78,
fdwrite=fdwrite at entry=0x7fb578000d08, fdexcept=fdexcept at entry=0x7fb578000f98,
orig_timeout=orig_timeout at entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fb5a7d35cd2 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timespec*) (timeout=0x0, exceptfds=0x7fb578000f98, writefds=0x7fb578000d08,
readfds=0x7fb578000a78, nfds=<optimized out>, this=0x7fb5780008c0) at
kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fb5a7d35cd2 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timespec*) (this=this at entry=0x7fb5780008e0, flags=..., flags at entry=...,
timeout=timeout at entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fb5a7d36275 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fb5780008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fb5a7cdd3e2 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fb585a34da0, flags=..., flags at entry=...) at
kernel/qeventloop.cpp:204
#6  0x00007fb5a7a9cb44 in QThread::exec() (this=this at entry=0xf56250) at
thread/qthread.cpp:503
#7  0x00007fb5a18fff65 in QQmlThreadPrivate::run() (this=0xf56250) at
qml/ftw/qqmlthread.cpp:141
#8  0x00007fb5a7aa1b0e in QThreadPrivate::start(void*) (arg=0xf56250) at
thread/qthread_unix.cpp:337
#9  0x00007fb5a8fc16aa in start_thread (arg=0x7fb585a35700) at
pthread_create.c:333
#10 0x00007fb5a974beed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fb57d9c4700 (LWP 18608)):
#0  0x00007fb5a8fc6da0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb5a68a5644 in QTWTF::TCMalloc_PageHeap::scavengerThread()
(this=0x7fb5a6996f40 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fb5a68a5689 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*)
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fb5a8fc16aa in start_thread (arg=0x7fb57d9c4700) at
pthread_create.c:333
#4  0x00007fb5a974beed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb4f0fc5700 (LWP 18790)):
#0  0x00007fb5a9742743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb5a7d34101 in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timespec const*) (nfds=24, fdread=fdread at entry=0x7fb4ec10e938,
fdwrite=fdwrite at entry=0x7fb4ec10ebc8, fdexcept=fdexcept at entry=0x7fb4ec10ee58,
orig_timeout=orig_timeout at entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fb5a7d35cd2 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timespec*) (timeout=0x0, exceptfds=0x7fb4ec10ee58, writefds=0x7fb4ec10ebc8,
readfds=0x7fb4ec10e938, nfds=<optimized out>, this=0x7fb4ec012dc0) at
kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fb5a7d35cd2 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timespec*) (this=this at entry=0x7fb4ec10e7a0, flags=..., flags at entry=...,
timeout=timeout at entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fb5a7d36275 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fb4ec012dc0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fb5a7cdd3e2 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fb4f0fc4da0, flags=..., flags at entry=...) at
kernel/qeventloop.cpp:204
#6  0x00007fb5a7a9cb44 in QThread::exec() (this=this at entry=0x187e8e0) at
thread/qthread.cpp:503
#7  0x00007fb5a18fff65 in QQmlThreadPrivate::run() (this=0x187e8e0) at
qml/ftw/qqmlthread.cpp:141
#8  0x00007fb5a7aa1b0e in QThreadPrivate::start(void*) (arg=0x187e8e0) at
thread/qthread_unix.cpp:337
#9  0x00007fb5a8fc16aa in start_thread (arg=0x7fb4f0fc5700) at
pthread_create.c:333
#10 0x00007fb5a974beed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb5a9c5b800 (LWP 18587)):
[KCrash Handler]
#6  0x00007fb5a1885960 in QQmlBoundSignalExpression::function() const
(this=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:135
#7  0x00007fb5a1885960 in QQmlBoundSignalExpression::function() const (p=...)
at /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:961
#8  0x00007fb5a1885960 in QQmlBoundSignalExpression::function() const
(this=<optimized out>) at
../../include/QtQml/5.4.1/QtQml/private/../../../../../src/qml/qml/qqmlengine.h:150
#9  0x00007fb5a1885960 in QQmlBoundSignalExpression::function() const
(e=<optimized out>) at
../../include/QtQml/5.4.1/QtQml/private/../../../../../src/qml/qml/qqmlengine_p.h:491
#10 0x00007fb5a1885960 in QQmlBoundSignalExpression::function() const
(this=this at entry=0x2dbb3f0) at qml/qqmlboundsignal.cpp:183
#11 0x00007fb5a1885a00 in QQmlBoundSignalExpression::sourceLocation() const
(this=this at entry=0x2dbb3f0) at qml/qqmlboundsignal.cpp:154
#12 0x00007fb5a1864067 in QQmlData::destroyed(QObject*) (this=0x1684780,
object=0x51b4200) at qml/qqmlengine.cpp:1614
#13 0x00007fb5a7d1949b in QObject::~QObject() (this=0x51b4200,
__in_chrg=<optimized out>) at kernel/qobject.cpp:918
#14 0x00007fb5a6b4f866 in QQuickItem::~QQuickItem() (this=0x51b4200,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2225
#15 0x00007fb5a6b69ad6 in
QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement() (this=0x51b4200,
__in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#16 0x00007fb5a6b69ad6 in
QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement() (this=0x51b4200,
__in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#17 0x00007fb5a7d0f18c in QObjectPrivate::deleteChildren()
(this=this at entry=0x596f150) at kernel/qobject.cpp:1950
#18 0x00007fb5a7d197f3 in QObject::~QObject() (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#19 0x00007fb5a6b4f866 in QQuickItem::~QQuickItem() (this=0x5989e60,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2225
#20 0x00007fb5a6b697c6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement()
(this=0x5989e60, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#21 0x00007fb5a6b697c6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement()
(this=0x5989e60, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#22 0x00007fb5a7d0f18c in QObjectPrivate::deleteChildren()
(this=this at entry=0x4d2deb0) at kernel/qobject.cpp:1950
#23 0x00007fb5a7d197f3 in QObject::~QObject() (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#24 0x00007fb5a6b4f866 in QQuickItem::~QQuickItem() (this=0x4e3bc80,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2225
#25 0x00007fb5a6b69a26 in
QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement() (this=0x4e3bc80,
__in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#26 0x00007fb5a6b69a26 in
QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement() (this=0x4e3bc80,
__in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#27 0x00007fb5a7d0f18c in QObjectPrivate::deleteChildren()
(this=this at entry=0x4ae2a10) at kernel/qobject.cpp:1950
#28 0x00007fb5a7d197f3 in QObject::~QObject() (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#29 0x00007fb5a6b4f866 in QQuickItem::~QQuickItem() (this=0x4b26590,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2225
#30 0x00007fb5a6b72fae in QQmlPrivate::QQmlElement<QQuickRow>::~QQmlElement()
(this=0x4b26590, __in_chrg=<optimized out>) at items/qquickpositioners_p.h:183
#31 0x00007fb5a6b72fae in QQmlPrivate::QQmlElement<QQuickRow>::~QQmlElement()
(this=0x4b26590, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#32 0x00007fb5a6b72fae in QQmlPrivate::QQmlElement<QQuickRow>::~QQmlElement()
(this=0x4b26590, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#33 0x00007fb5a7d0f18c in QObjectPrivate::deleteChildren()
(this=this at entry=0x5dc0470) at kernel/qobject.cpp:1950
#34 0x00007fb5a7d197f3 in QObject::~QObject() (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#35 0x00007fb5a6b4f866 in QQuickItem::~QQuickItem() (this=0x437e070,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2225
#36 0x00007fb5a6b697c6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement()
(this=0x437e070, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#37 0x00007fb5a6b697c6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement()
(this=0x437e070, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#38 0x00007fb5a7d0f18c in QObjectPrivate::deleteChildren()
(this=this at entry=0x5580c60) at kernel/qobject.cpp:1950
#39 0x00007fb5a7d197f3 in QObject::~QObject() (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#40 0x00007fb5a6b4f866 in QQuickItem::~QQuickItem() (this=0x3b57f70,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2225
#41 0x00007fb5a6b697c6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement()
(this=0x3b57f70, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#42 0x00007fb5a6b697c6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement()
(this=0x3b57f70, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#43 0x00007fb5a7d0f18c in QObjectPrivate::deleteChildren()
(this=this at entry=0x60ea260) at kernel/qobject.cpp:1950
#44 0x00007fb5a7d197f3 in QObject::~QObject() (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#45 0x00007fb5a6b4f866 in QQuickItem::~QQuickItem() (this=0x4804870,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2225
#46 0x00007fb5a6b7306e in
QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement() (this=0x4804870,
__in_chrg=<optimized out>) at items/qquickrectangle_p.h:128
#47 0x00007fb5a6b7306e in
QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement() (this=0x4804870,
__in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#48 0x00007fb5a6b7306e in
QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement() (this=0x4804870,
__in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#49 0x00007fb5a7d0f18c in QObjectPrivate::deleteChildren()
(this=this at entry=0x5be1ca0) at kernel/qobject.cpp:1950
#50 0x00007fb5a7d197f3 in QObject::~QObject() (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#51 0x00007fb5a6b4f866 in QQuickItem::~QQuickItem() (this=0x5902640,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2225
#52 0x00007fb5a6b7306e in
QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement() (this=0x5902640,
__in_chrg=<optimized out>) at items/qquickrectangle_p.h:128
#53 0x00007fb5a6b7306e in
QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement() (this=0x5902640,
__in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#54 0x00007fb5a6b7306e in
QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement() (this=0x5902640,
__in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#55 0x00007fb5a7d0f18c in QObjectPrivate::deleteChildren()
(this=this at entry=0x401b9b0) at kernel/qobject.cpp:1950
#56 0x00007fb5a7d197f3 in QObject::~QObject() (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#57 0x00007fb5a6b4f866 in QQuickItem::~QQuickItem() (this=0x4f09720,
__in_chrg=<optimized out>) at items/qquickitem.cpp:2225
#58 0x00007fb5a6b697c6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement()
(this=0x4f09720, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#59 0x00007fb5a6b697c6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement()
(this=0x4f09720, __in_chrg=<optimized out>) at
../../include/QtQml/../../src/qml/qml/qqmlprivate.h:98
#60 0x00007fb585a522df in Aurorae::Decoration::~Decoration() (this=0x437a3e0,
__in_chrg=<optimized out>) at ../../../../clients/aurorae/src/aurorae.cpp:273
#61 0x00007fb585a52419 in Aurorae::Decoration::~Decoration() (this=0x437a3e0,
__in_chrg=<optimized out>) at ../../../../clients/aurorae/src/aurorae.cpp:277
#62 0x00007fb5a9246764 in KWin::Client::destroyDecoration()
(this=this at entry=0x4fe6170) at ../client.cpp:461
#63 0x00007fb5a9250389 in KWin::Client::destroyClient()
(this=this at entry=0x4fe6170) at ../client.cpp:336
#64 0x00007fb5a92505cf in KWin::Client::killWindow() (this=0x4fe6170) at
../client.cpp:1211
#65 0x00007fb5a525b025 in
KDecoration2::Decoration::qt_static_metacall(QObject*, QMetaObject::Call, int,
void**) (_o=_o at entry=0x437a3e0, _c=_c at entry=QMetaObject::InvokeMetaMethod,
_id=_id at entry=6, _a=_a at entry=0x7ffee75acc40) at moc_decoration.cpp:195
#66 0x00007fb5a525b897 in
KDecoration2::Decoration::qt_metacall(QMetaObject::Call, int, void**)
(this=this at entry=0x437a3e0, _c=_c at entry=QMetaObject::InvokeMetaMethod, _id=6,
_a=_a at entry=0x7ffee75acc40) at moc_decoration.cpp:288
#67 0x00007fb585a60227 in Aurorae::Decoration::qt_metacall(QMetaObject::Call,
int, void**) (this=0x437a3e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized
out>, _a=0x7ffee75acc40) at moc_aurorae.cpp:145
#68 0x00007fb5a184236d in CallMethod(QObject*, int, int, int, int*, QV8Engine*,
QV4::CallData*) (object=0x2dbb3f0, index=47952880, returnType=43, argCount=0,
argTypes=0x59c93d0, engine=0x0, callArgs=0x7fb4eb800078) at
jsruntime/qv4qobjectwrapper.cpp:1170
#69 0x00007fb5a1844995 in CallPrecise(QObject*, QQmlPropertyData const&,
QV8Engine*, QV4::CallData*) (object=0x437a3e0, data=..., engine=0x1854300,
callArgs=0x7fb4eb800078) at jsruntime/qv4qobjectwrapper.cpp:1408
#70 0x00007fb5a18450b3 in QV4::QObjectMethod::callInternal(QV4::CallData*)
(this=<optimized out>, callData=0x7fb4eb800078) at
jsruntime/qv4qobjectwrapper.cpp:1889
#71 0x00007fb5a1850b18 in QV4::Runtime::callProperty(QV4::ExecutionContext*,
QV4::String*, QV4::CallData*) (d=0x7fb4eb800078, this=<optimized out>) at
jsruntime/qv4object_p.h:278
#72 0x00007fb5a1850b18 in QV4::Runtime::callProperty(QV4::ExecutionContext*,
QV4::String*, QV4::CallData*) (context=0x7ffee75ad250, name=0x7fb4f3b989a0,
callData=0x7fb4eb800078) at jsruntime/qv4runtime.cpp:934
#73 0x00007fb5840009ab in  ()
#74 0x0000000000000000 in  ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list