Bug 315897 - Kwin crash
Summary: Kwin crash
Status: RESOLVED DUPLICATE of bug 315453
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 315961 316955 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-28 12:19 UTC by shadowofdoe
Modified: 2013-03-18 11:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shadowofdoe 2013-02-28 12:19:13 UTC
Application: kwin (4.10.00 "release 550")
KDE Platform Version: 4.10.00 "release 550"
Qt Version: 4.8.4
Operating System: Linux 3.4.28-2.20-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

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

I was rebooting computer, and after startup it chrashed! it does that sometimes, everey like 3-4 startups!

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2f679ab780 (LWP 1568))]

Thread 4 (Thread 0x7f2f4dd6b700 (LWP 1570)):
[KCrash Handler]
#5  0x00007f2f6259016c in QCoreApplicationPrivate::sendPostedEvents (receiver=0x20f9f60, event_type=43, data=0x20fe680) at kernel/qcoreapplication.cpp:1474
#6  0x00007f2f636e2236 in waitForCallFinished (mutex=0x20fa530, watcher=<optimized out>) at /usr/src/debug/kactivities-4.10.0/src/lib/core/utils_p.h:96
#7  KActivities::Consumer::currentActivity (this=0x20fa0a8) at /usr/src/debug/kactivities-4.10.0/src/lib/core/consumer.cpp:161
#8  0x00007f2f674c2631 in KWin::fetchActivityListAndCurrent (controller=0x20fa0a8) at /usr/src/debug/kde-workspace-4.10.0/kwin/workspace.cpp:1406
#9  0x00007f2f674cd873 in QtConcurrent::StoredFunctorCall1<QPair<QString, QStringList>, QPair<QString, QStringList> (*)(KActivities::Controller*), KActivities::Controller*>::runFunctor (this=0x215a6a0) at /usr/include/QtCore/qtconcurrentstoredfunctioncall.h:267
#10 0x00007f2f674d1e36 in QtConcurrent::RunFunctionTask<QPair<QString, QStringList> >::run (this=0x215a6a0) at /usr/include/QtCore/qtconcurrentrunbase.h:106
#11 0x00007f2f62484c5d in QThreadPoolThread::run (this=0x20bbfe0) at concurrent/qthreadpool.cpp:107
#12 0x00007f2f6249108c in QThreadPrivate::start (arg=0x20bbfe0) at thread/qthread_unix.cpp:338
#13 0x00007f2f621fae0e in start_thread () from /lib64/libpthread.so.0
#14 0x00007f2f671be2cd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2f4677d700 (LWP 1600)):
#0  0x00007f2f621fe8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2f4692c4e3 in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007f2f621fae0e in start_thread () from /lib64/libpthread.so.0
#3  0x00007f2f671be2cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2f45741700 (LWP 1601)):
#0  0x00007f2f621fe8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2f63a7c247 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007f2f63a7c279 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00007f2f621fae0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2f671be2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2f679ab780 (LWP 1568)):
#0  0x00007f2f621fe8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2f624915eb in wait (time=18446744073709551615, this=0x20fe4d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x20fe408, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2f6248442f in QThreadPoolPrivate::waitForDone (this=0x20fe380, msecs=msecs@entry=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007f2f62485edd in QThreadPool::~QThreadPool (this=0x20f9cc0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007f2f62485f19 in QThreadPool::~QThreadPool (this=0x20f9cc0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#6  0x00007f2f62485f45 in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x7f2f628eafc8 <theInstance()::cleanup>, __in_chrg=<optimized out>) at ../../src/corelib/global/qglobal.h:1949
#7  0x00007f2f671118b1 in __run_exit_handlers () from /lib64/libc.so.6
#8  0x00007f2f67111935 in exit () from /lib64/libc.so.6
#9  0x00007f2f61784558 in ?? () from /usr/lib64/libQtGui.so.4
#10 0x00007f2f66cb9878 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#11 0x00007f2f6523fc4e in _XIOError () from /usr/lib64/libX11.so.6
#12 0x00007f2f6523cf6e in ?? () from /usr/lib64/libX11.so.6
#13 0x00007f2f6523d709 in _XFlush () from /usr/lib64/libX11.so.6
#14 0x00007f2f65240365 in _XGetRequest () from /usr/lib64/libX11.so.6
#15 0x00007f2f6307ae45 in ?? () from /usr/lib64/libGL.so.1
#16 0x00007f2f630793b1 in ?? () from /usr/lib64/libGL.so.1
#17 0x00007f2f63053bfb in ?? () from /usr/lib64/libGL.so.1
#18 0x00007f2f6754f053 in KWin::GlxBackend::waitSync (this=0x20fcb70) at /usr/src/debug/kde-workspace-4.10.0/kwin/glxbackend.cpp:454
#19 0x00007f2f6754f2a5 in KWin::GlxBackend::present (this=0x20fcb70) at /usr/src/debug/kde-workspace-4.10.0/kwin/glxbackend.cpp:478
#20 0x00007f2f6754265e in idle (this=<optimized out>) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene_opengl.cpp:139
#21 KWin::SceneOpenGL::idle (this=0x2308240) at /usr/src/debug/kde-workspace-4.10.0/kwin/scene_opengl.cpp:285
#22 0x00007f2f67532e72 in KWin::Compositor::performCompositing (this=0x20f1520) at /usr/src/debug/kde-workspace-4.10.0/kwin/composite.cpp:590
#23 0x00007f2f625a140c in QObject::event (this=0x20f1520, e=<optimized out>) at kernel/qobject.cpp:1165
#24 0x00007f2f6171a85c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f2f6171ecda in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f2f66cbaa96 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#27 0x00007f2f6258cbfe in QCoreApplication::notifyInternal (this=0x7fff0e2c5100, receiver=0x20f1520, event=0x7fff0e2c4ac0) at kernel/qcoreapplication.cpp:946
#28 0x00007f2f625bd9a1 in sendEvent (event=0x7fff0e2c4ac0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#29 QTimerInfoList::activateTimers (this=0x1f2bab8) at kernel/qeventdispatcher_unix.cpp:637
#30 0x00007f2f625bdfe0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1ec8a70) at kernel/qeventdispatcher_unix.cpp:894
#31 0x00007f2f625be138 in QEventDispatcherUNIX::processEvents (this=0x1ec8a70, flags=...) at kernel/qeventdispatcher_unix.cpp:956
#32 0x00007f2f617bba0f in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00007f2f6258b94f in QEventLoop::processEvents (this=this@entry=0x7fff0e2c4e10, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f2f6258bbd8 in QEventLoop::exec (this=0x7fff0e2c4e10, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f2f62590878 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#36 0x00007f2f674e993a in kdemain (argc=1, argv=0x7fff0e2c5248) at /usr/src/debug/kde-workspace-4.10.0/kwin/main.cpp:537
#37 0x00007f2f670fb455 in __libc_start_main () from /lib64/libc.so.6
#38 0x0000000000400721 in _start () at ../sysdeps/x86_64/elf/start.S:113

This bug may be a duplicate of or related to bug 315453.

Possible duplicates by query: bug 315453.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-02-28 12:39:35 UTC
#11 0x00007f2f6523fc4e in _XIOError () from /usr/lib64/libX11.so.6
#12 0x00007f2f6523cf6e in ?? () from /usr/lib64/libX11.so.6
#13 0x00007f2f6523d709 in _XFlush () from /usr/lib64/libX11.so.6
#14 0x00007f2f65240365 in _XGetRequest () from /usr/lib64/libX11.so.6
#15 0x00007f2f6307ae45 in ?? () from /usr/lib64/libGL.so.1
#16 0x00007f2f630793b1 in ?? () from /usr/lib64/libGL.so.1
#17 0x00007f2f63053bfb in ?? () from /usr/lib64/libGL.so.1

Please post the output of "qdbus org.kde.kwin /KWin supportInformation"
As workaround, disabe VSync.
Comment 2 shadowofdoe 2013-02-28 12:51:18 UTC
nino@linux-xs94:~> qdbus org.kde.kwin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. http://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 4.10.0
KDE SC version (runtime): 4.10.00 "release 550"
KDE SC version (compile): 4.10.00 "release 550"
Qt Version: 4.8.4

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
showDesktopIsMinimizeAll: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 
commandActiveTitlebar1: 0                                                                               
commandActiveTitlebar2: 30                                                                              
commandActiveTitlebar3: 2                                                                               
commandInactiveTitlebar1: 4                                                                             
commandInactiveTitlebar2: 30                                                                            
commandInactiveTitlebar3: 2                                                                             
commandWindow1: 7                                                                                       
commandWindow2: 8                                                                                       
commandWindow3: 8                                                                                       
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorders: false
electricBorderDelay: 150
electricBorderCooldown: 350
electricBorderPushbackPixels: 1
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
unredirectFullscreen: false
glSmoothScale: 2
glVSync: true
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 17
refreshRate: 0
vBlankTime: 6144
glDirect: true
glStrictBinding: false
glStrictBindingFollowsDriver: true
glLegacy: false

Screens
=======
Multi-Head: no
Number of Screens: 1
Screen 0 Geometry: 0,0,1600x900

Compositing
===========
Qt Graphics System: raster
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV710
OpenGL version string: 2.1 Mesa 8.0.4
Driver: R600G
GPU class: R700
OpenGL version: 2.1
Mesa version: 8.0.4
X server version: 1.12.3
Linux kernel version: 3.4.28
Direct rendering: yes
Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
kwin4_effect_zoom
kwin4_effect_login
kwin4_effect_slidingpopups
kwin4_effect_minimizeanimation
kwin4_effect_translucency
kwin4_effect_cubeslide
kwin4_effect_screenshot
kwin4_effect_cube
kwin4_effect_desktopgrid
kwin4_effect_maximize
kwin4_effect_fade
kwin4_effect_dialogparent
kwin4_effect_highlightwindow
kwin4_effect_taskbarthumbnail
kwin4_effect_presentwindows
kwin4_effect_blur
kwin4_effect_logout
kwin4_effect_dashboard
kwin4_effect_outline
kwin4_effect_startupfeedback

Currently Active Effects:
-------------------------
kwin4_effect_blur

Effect Settings:
----------------
kwin4_effect_zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

kwin4_effect_login:
fadeToBlack: false

kwin4_effect_slidingpopups:
fadeInTime: 250
fadeOutTime: 250

kwin4_effect_minimizeanimation:

kwin4_effect_translucency:
decoration: 1
moveResize: 0.8
dialogs: 1
inactive: 1
comboboxPopups: 1
menus: 1
individualMenuConfig: false
dropDownMenus: 1
popupMenus: 1
tornOffMenus: 1

kwin4_effect_cubeslide:
rotationDuration: 500
dontSlidePanels: true
dontSlideStickyWindows: false
usePagerLayout: true
useWindowMoving: false

kwin4_effect_screenshot:

kwin4_effect_cube:
cubeOpacity: 0.800000011920929
opacityDesktopOnly: false
displayDesktopName: true
reflection: true
rotationDuration: 500
backgroundColor: #000000
capColor: #242226
paintCaps: true
closeOnMouseRelease: false
zPosition: 996
useForTabBox: false
invertKeys: false
invertMouse: false
capDeformationFactor: 0
useZOrdering: false
texturedCaps: true

kwin4_effect_desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

kwin4_effect_maximize:

kwin4_effect_fade:

kwin4_effect_dialogparent:
changeTime: 300

kwin4_effect_highlightwindow:

kwin4_effect_taskbarthumbnail:

kwin4_effect_presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0
dragToClose: false

kwin4_effect_blur:
blurRadius: 12
cacheTexture: true

kwin4_effect_logout:
useBlur: true

kwin4_effect_dashboard:
brightness: 0.5
saturation: 0.5
blur: false

kwin4_effect_outline:

kwin4_effect_startupfeedback:


nino@linux-xs94:~>
Comment 3 Christoph Feck 2013-02-28 14:00:44 UTC
Thomas, it's thread 3 that crashes in activities code, the XIOError is only the result of that crash.
Comment 4 Thomas Lübking 2013-03-01 15:29:43 UTC
*** Bug 315961 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Lübking 2013-03-01 15:31:13 UTC
makes bug #313187 a pot. dupe.

*** This bug has been marked as a duplicate of bug 315453 ***
Comment 6 Thomas Lübking 2013-03-18 11:12:26 UTC
*** Bug 316955 has been marked as a duplicate of this bug. ***