Bug 318887 - KWin and Wine unstability
Summary: KWin and Wine unstability
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-25 22:58 UTC by Andreas Skoglund
Modified: 2013-04-26 11:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
thomas.luebking: Catalyst+


Attachments
The Xorg log from the event (78.88 KB, text/x-log)
2013-04-26 10:49 UTC, Andreas Skoglund
Details
glxinfo output (21.87 KB, text/plain)
2013-04-26 10:50 UTC, Andreas Skoglund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Skoglund 2013-04-25 22:58:09 UTC
Application: kwin (4.10.2)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
I simply opened Microsoft Office 2010 in Wine. KWin restarted within a milisecound after it crashed, so its not a big issue.

The crash can be reproduced sometimes.

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

Thread 3 (Thread 0x7ff1a6b88700 (LWP 10460)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff1bf50fe77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007ff1bf50fea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007ff1b6898f8e in start_thread (arg=0x7ff1a6b88700) at pthread_create.c:311
#4  0x00007ff1c2c1fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ff193722700 (LWP 11767)):
#0  0x00007ff1c2c18233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff1be0ab4f3 in qt_safe_select (nfds=31, fdread=0x7ff18c000ac8, fdwrite=0x7ff18c000d60, fdexcept=0x7ff18c000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007ff1be0b0499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ff18c000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007ff1be0b0c82 in QEventDispatcherUNIX::processEvents (this=0x7ff18c0008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007ff1be07e38f in QEventLoop::processEvents (this=this@entry=0x7ff193721d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff1be07e618 in QEventLoop::exec (this=this@entry=0x7ff193721d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff1bdf80410 in QThread::exec (this=this@entry=0x27d6b10) at thread/qthread.cpp:542
#7  0x00007ff1be05fedf in QInotifyFileSystemWatcherEngine::run (this=0x27d6b10) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007ff1bdf82bec in QThreadPrivate::start (arg=0x27d6b10) at thread/qthread_unix.cpp:338
#9  0x00007ff1b6898f8e in start_thread (arg=0x7ff193722700) at pthread_create.c:311
#10 0x00007ff1c2c1fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ff1c32e37c0 (LWP 10452)):
[KCrash Handler]
#6  0x00007ff196c001e1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
#7  0x00007ff196c00eb3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
#8  0x00007ff1bed36999 in KWin::GLTexturePrivate::~GLTexturePrivate (this=0x22f5f00, __in_chrg=<optimized out>) at ../../../kwin/libkwineffects/kwingltexture.cpp:141
#9  0x00007ff1bed3787e in operator= (o=0x22f65a0, this=0x2992628) at /usr/include/qt4/QtCore/qshareddata.h:196
#10 KWin::GLTexture::load (this=this@entry=0x2992620, image=..., target=target@entry=3553) at ../../../kwin/libkwineffects/kwingltexture.cpp:173
#11 0x00007ff1c2fb57d5 in load (target=3553, pixmap=..., this=0x2992620) at ../../kwin/scene_opengl.cpp:743
#12 KWin::SceneOpenGL::Texture::load (this=0x2992620, pixmap=..., target=3553) at ../../kwin/scene_opengl.cpp:736
#13 0x00007ff1c2fb378d in KWin::SceneOpenGL::Window::paintDecoration (this=this@entry=0x23640e0, decoration=decoration@entry=0x2980ef8, decorationType=decorationType@entry=KWin::SceneOpenGL::Window::DecorationTop, region=..., rect=..., data=..., quads=..., updateDeco=updateDeco@entry=true, hardwareClipping=hardwareClipping@entry=false) at ../../kwin/scene_opengl.cpp:1075
#14 0x00007ff1c2fb892d in KWin::SceneOpenGL::Window::paintDecorations<KWin::Client> (this=this@entry=0x23640e0, data=..., region=..., hardwareClipping=hardwareClipping@entry=false) at ../../kwin/scene_opengl.cpp:1029
#15 0x00007ff1c2fb3eeb in KWin::SceneOpenGL::Window::performPaint (this=this@entry=0x23640e0, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:959
#16 0x00007ff1c2fb7fbf in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x15e5d50, w=w@entry=0x2282880, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:566
#17 0x00007ff1c2fb815d in KWin::SceneOpenGL2::finalDrawWindow (this=0x15e5d50, w=w@entry=0x2282880, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:551
#18 0x00007ff1c2fc47b5 in KWin::EffectsHandlerImpl::drawWindow (this=0x1fba9c0, w=w@entry=0x2282880, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:318
#19 0x00007ff194ace94d in KWin::BlurEffect::drawWindow (this=<optimized out>, w=0x2282880, mask=9, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:419
#20 0x00007ff1c2fc474b in KWin::EffectsHandlerImpl::drawWindow (this=0x1fba9c0, w=w@entry=0x2282880, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:315
#21 0x00007ff1c13f9a1a in KWin::Effect::drawWindow (this=<optimized out>, w=0x2282880, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:529
#22 0x00007ff1c2fc474b in KWin::EffectsHandlerImpl::drawWindow (this=0x1fba9c0, w=w@entry=0x2282880, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:315
#23 0x00007ff1c2fa3e0a in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x2282880, mask=mask@entry=9, region=..., data=...) at ../../kwin/scene.cpp:449
#24 0x00007ff1c2fc4697 in KWin::EffectsHandlerImpl::paintWindow (this=0x1fba9c0, w=w@entry=0x2282880, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:281
#25 0x00007ff1c13f9b1a in KWin::Effect::paintWindow (this=<optimized out>, w=0x2282880, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:504
#26 0x00007ff1c2fc463b in KWin::EffectsHandlerImpl::paintWindow (this=0x1fba9c0, w=w@entry=0x2282880, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:278
#27 0x00007ff1c140684d in KWin::AnimationEffect::paintWindow (this=<optimized out>, w=0x2282880, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwinanimationeffect.cpp:529
#28 0x00007ff1c2fc463b in KWin::EffectsHandlerImpl::paintWindow (this=0x1fba9c0, w=0x2282880, mask=mask@entry=9, region=..., data=...) at ../../kwin/effects.cpp:278
#29 0x00007ff1c2fa69cd in KWin::Scene::paintWindow (this=<optimized out>, w=0x23640e0, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:356
#30 0x00007ff1c2fa5c7f in KWin::Scene::paintSimpleScreen (this=this@entry=0x15e5d50, orig_mask=orig_mask@entry=8, region=...) at ../../kwin/scene.cpp:342
#31 0x00007ff1c2fa3d4e in KWin::Scene::finalPaintScreen (this=0x15e5d50, mask=mask@entry=8, region=..., data=...) at ../../kwin/scene.cpp:186
#32 0x00007ff1c2fc4a80 in KWin::EffectsHandlerImpl::paintScreen (this=0x1fba9c0, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:254
#33 0x00007ff1c13f9b87 in KWin::Effect::paintScreen (this=this@entry=0x1c97c30, mask=mask@entry=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#34 0x00007ff1c2fc4a2b in KWin::EffectsHandlerImpl::paintScreen (this=0x1fba9c0, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:251
#35 0x00007ff1c13f9b87 in KWin::Effect::paintScreen (this=this@entry=0x15a6010, mask=mask@entry=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#36 0x00007ff1c2fc4a2b in KWin::EffectsHandlerImpl::paintScreen (this=0x1fba9c0, mask=8, region=..., data=...) at ../../kwin/effects.cpp:251
#37 0x00007ff1c2fa5068 in KWin::Scene::paintScreen (this=this@entry=0x15e5d50, mask=mask@entry=0x7fff99776944, region=region@entry=0x7fff997769f0) at ../../kwin/scene.cpp:140
#38 0x00007ff1c2fb217e in KWin::SceneOpenGL::paint (this=0x15e5d50, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:308
#39 0x00007ff1c2f9ea8c in KWin::Compositor::performCompositing (this=0x182d350) at ../../kwin/composite.cpp:610
#40 0x00007ff1be0993ec in QObject::event (this=0x182d350, e=<optimized out>) at kernel/qobject.cpp:1156
#41 0x00007ff1bd4258ec in QApplicationPrivate::notify_helper (this=this@entry=0x155c670, receiver=receiver@entry=0x182d350, e=e@entry=0x7fff99777120) at kernel/qapplication.cpp:4567
#42 0x00007ff1bd42825b in QApplication::notify (this=this@entry=0x7fff99777760, receiver=receiver@entry=0x182d350, e=e@entry=0x7fff99777120) at kernel/qapplication.cpp:4428
#43 0x00007ff1c270aaf6 in KApplication::notify (this=0x7fff99777760, receiver=0x182d350, event=0x7fff99777120) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007ff1be07f63e in QCoreApplication::notifyInternal (this=0x7fff99777760, receiver=0x182d350, event=event@entry=0x7fff99777120) at kernel/qcoreapplication.cpp:946
#45 0x00007ff1be0b0b72 in sendEvent (event=0x7fff99777120, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QTimerInfoList::activateTimers (this=0x155d358) at kernel/qeventdispatcher_unix.cpp:622
#47 0x00007ff1be0b0bd0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x155bd40) at kernel/qeventdispatcher_unix.cpp:879
#48 0x00007ff1be0b0d28 in QEventDispatcherUNIX::processEvents (this=this@entry=0x155bd40, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#49 0x00007ff1bd4cbb9f in QEventDispatcherX11::processEvents (this=0x155bd40, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#50 0x00007ff1be07e38f in QEventLoop::processEvents (this=this@entry=0x7fff99777470, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007ff1be07e618 in QEventLoop::exec (this=this@entry=0x7fff99777470, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007ff1be083cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#53 0x00007ff1bd423ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#54 0x00007ff1c2f5602a in kdemain (argc=1, argv=0x7fff997778a8) at ../../kwin/main.cpp:537
#55 0x00007ff1c2b47ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fff997778a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff99777898) at libc-start.c:260
#56 0x0000000000400701 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-04-25 23:08:40 UTC
#6  0x00007ff196c001e1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
#7  0x00007ff196c00eb3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
#8  0x00007ff1bed36999 in KWin::GLTexturePrivate::~GLTexturePrivate (this=0x22f5f00, __in_chrg=<optimized out>) at ../../../kwin/libkwineffects/kwingltexture.cpp:141


-> glDeleteTextures(1, &m_texture);
--> fglrx bug should not crash)

Since there're lately many reports that stem from a broken fglrx installation, can you please attach /var/log/Xorg.0.log and the output of glxinfo?
Thanks.
Comment 2 Andreas Skoglund 2013-04-26 10:49:23 UTC
Created attachment 79456 [details]
The Xorg log from the event
Comment 3 Andreas Skoglund 2013-04-26 10:50:51 UTC
Created attachment 79457 [details]
glxinfo output
Comment 4 Thomas Lübking 2013-04-26 11:15:29 UTC
No, that's fine.
Unless the crashes produce "random" backtraces (general memory corruption) this is an fglrx bug, could be x64 related.