Bug 320829 - KWin Crash
Summary: KWin Crash
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-06 19:09 UTC by Nick
Modified: 2015-04-25 09:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The output of "qdbus org.kde.kwin /KWin supportInformation" (4.69 KB, text/plain)
2013-06-07 00:31 UTC, Nick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2013-06-06 19:09:06 UTC
Application: kwin (4.10.3)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.9.4-200.fc18.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I exited a Java fullscreen application when KWin crashed.
Doing this usually doesn't cause the crash, and I don't know why this time was different.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f6884825880 (LWP 1174))]

Thread 2 (Thread 0x7f6870b80700 (LWP 1181)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003a55b868c7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3a55e94660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003a55b868f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003a36407d15 in start_thread (arg=0x7f6870b80700) at pthread_create.c:308
#4  0x0000003a35cf248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f6884825880 (LWP 1174)):
[KCrash Handler]
#5  0x00007f687299a307 in intel_miptree_map () from /usr/lib64/dri/i915_dri.so
#6  0x00007f68729c8b7d in intel_map_renderbuffer () from /usr/lib64/dri/i915_dri.so
#7  0x00007f68724a2535 in _mesa_readpixels () from /lib64/libdricore9.2.0.so.1
#8  0x00007f687299e9f0 in intelReadPixels () from /usr/lib64/dri/i915_dri.so
#9  0x00007f687257f7a1 in _mesa_meta_CopyTexSubImage () from /lib64/libdricore9.2.0.so.1
#10 0x00007f68724bdb04 in copytexsubimage () from /lib64/libdricore9.2.0.so.1
#11 0x00007f68724c178a in _mesa_CopyTexSubImage2D () from /lib64/libdricore9.2.0.so.1
#12 0x00007f6870bf0c42 in KWin::BlurEffect::doCachedBlur(KWin::EffectWindow*, QRegion const&, float) () from /usr/lib64/kde4/kwin4_effect_builtins.so
#13 0x00007f6870bf1bc3 in KWin::BlurEffect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/kde4/kwin4_effect_builtins.so
#14 0x0000003c294d6dbb in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkdeinit4_kwin.so
#15 0x0000003c294b602a in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkdeinit4_kwin.so
#16 0x0000003c294d7117 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkdeinit4_kwin.so
#17 0x0000003c2b21281a in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkwineffects.so.1
#18 0x0000003c294d70bb in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib64/libkdeinit4_kwin.so
#19 0x0000003c294b8bed in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () from /lib64/libkdeinit4_kwin.so
#20 0x0000003c294b7f1f in KWin::Scene::paintSimpleScreen(int, QRegion) () from /lib64/libkdeinit4_kwin.so
#21 0x0000003c294b5f6e in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkdeinit4_kwin.so
#22 0x0000003c294d6c00 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkdeinit4_kwin.so
#23 0x0000003c2b212887 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkwineffects.so.1
#24 0x0000003c294d6bab in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib64/libkdeinit4_kwin.so
#25 0x0000003c294b7308 in KWin::Scene::paintScreen(int*, QRegion*) () from /lib64/libkdeinit4_kwin.so
#26 0x0000003c294c676e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /lib64/libkdeinit4_kwin.so
#27 0x0000003c294c6916 in KWin::SceneOpenGL1::paint(QRegion, QList<KWin::Toplevel*>) () from /lib64/libkdeinit4_kwin.so
#28 0x0000003c294b16dc in KWin::Compositor::performCompositing() () from /lib64/libkdeinit4_kwin.so
#29 0x0000003a4158c07c in QObject::event (this=0x9530d0, e=<optimized out>) at kernel/qobject.cpp:1156
#30 0x0000003c1ebca5cc in QApplicationPrivate::notify_helper (this=this@entry=0x806280, receiver=receiver@entry=0x9530d0, e=e@entry=0x7ffffd713040) at kernel/qapplication.cpp:4562
#31 0x0000003c1ebcea4a in QApplication::notify (this=0x7ffffd713680, receiver=0x9530d0, e=0x7ffffd713040) at kernel/qapplication.cpp:4423
#32 0x0000003c20646f16 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#33 0x0000003a4157793e in QCoreApplication::notifyInternal (this=0x7ffffd713680, receiver=0x9530d0, event=0x7ffffd713040) at kernel/qcoreapplication.cpp:949
#34 0x0000003a415a87f2 in sendEvent (event=0x7ffffd713040, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#35 QTimerInfoList::activateTimers (this=0x806c78) at kernel/qeventdispatcher_unix.cpp:622
#36 0x0000003a415a8850 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x7b7ba0) at kernel/qeventdispatcher_unix.cpp:879
#37 0x0000003a415a89a8 in QEventDispatcherUNIX::processEvents (this=0x7b7ba0, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#38 0x0000003c1ec6b55f in QEventDispatcherX11::processEvents (this=0x7b7ba0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#39 0x0000003a415765ef in QEventLoop::processEvents (this=this@entry=0x7ffffd713390, flags=...) at kernel/qeventloop.cpp:149
#40 0x0000003a41576878 in QEventLoop::exec (this=0x7ffffd713390, flags=...) at kernel/qeventloop.cpp:204
#41 0x0000003a4157b708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#42 0x0000003c2946822a in kdemain () from /lib64/libkdeinit4_kwin.so
#43 0x0000003a35c21a05 in __libc_start_main (main=0x400960 <main>, argc=1, ubp_av=0x7ffffd7137c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffd7137b8) at libc-start.c:225
#44 0x0000000000400991 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-06-06 19:16:31 UTC
a) what's the output of "qdbus org.kde.kwin /KWin supportInformation"
b) the crash is induced by the (cached) blurring, try to disable the caching ("kcmshell4 kwincompositing", 2nd tab, filter for blur - it's the only checkbox in the config dialog)
c) the bug itself is in mesa/intel_dri - glCopyTexSubImage2D() should create an error but not crash.
This might however be related to the fullscreen condition, thus (a) ;-)
Comment 2 Nick 2013-06-07 00:29:59 UTC
(In reply to comment #1)
> a) what's the output of "qdbus org.kde.kwin /KWin supportInformation"
> b) the crash is induced by the (cached) blurring, try to disable the caching
> ("kcmshell4 kwincompositing", 2nd tab, filter for blur - it's the only
> checkbox in the config dialog)
> c) the bug itself is in mesa/intel_dri - glCopyTexSubImage2D() should create
> an error but not crash.
> This might however be related to the fullscreen condition, thus (a) ;-)

The output of "qdbus org.kde.kwin /KWin supportInformation":
See the new attached text file.
Comment 3 Nick 2013-06-07 00:31:36 UTC
Created attachment 80368 [details]
The output of "qdbus org.kde.kwin /KWin supportInformation"
Comment 4 Thomas Lübking 2013-06-07 12:30:40 UTC
> unredirectFullscreen: true


run "kcmshell4 kwincompositing" and in the third tab uncheck "suspend compositing for fullscreen windows"

Unrelated to this, "Qt Graphics System: native" - several decos and notably those using the aurorae engine (what you get when clicking "get new decoration") prefer the raster graphicssystem (for better performance)