Bug 281553

Summary: crash when exiting desktop grid
Product: [Plasma] kwin Reporter: pazuzuthewise
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pazuzuthewise 2011-09-07 15:08:10 UTC
Application: kwin (4.6.2 (4.6.2))
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic-pae i686
Distribution: Ubuntu 11.04

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

Exiting desktop grid by clicking a presented window on the first workspace.
On another workspace, handbrake-gtk was running, encoding a video file, so the processor was under heavy load. The encoding process was unnafected by the crash, and kwin was succesfully reloaded, functioning afterwards as expected.

- Custom settings of the application:

The desktop grid is set to also present windows.

This is the content of ~/.kde/share/config/kwinrc

###
[$Version]
update_info=kwin.upd:kde3.0r1,kwin.upd:kde3.2Xinerama,kwin_focus1.upd:kwin_focus1,kwin3_plugin.upd:kde3.2,kwin_on_off.upd:kwin_on_off,kwin_focus2.upd:kwin_focus2

[Compositing]
AnimationSpeed=3
Backend=OpenGL
CheckIsSafe=true
DisableChecks=false
Enabled=true
GLDirect=true
GLMode=TFP
GLTextureFilter=0
GLVSync=true
HiddenPreviews=5
OpenGLIsUnsafe=false
UnredirectFullscreen=true
XRenderSmoothScale=false

[Desktops]
Name_1=
Name_2=
Name_3=
Name_4=
Number=4

[Effect-BoxSwitch]
TabBox=false

[Effect-CoverSwitch]
TabBox=false

[Effect-Cube]
BorderActivate=9
BorderActivateCylinder=9
BorderActivateSphere=9

[Effect-DesktopGrid]
BorderActivate=7

[Effect-FlipSwitch]
BorderActivate=9
BorderActivateAll=9
TabBox=false

[Effect-PresentWindows]
Accuracy=8
AllowClosingWindows=true
BorderActivate=9
BorderActivateAll=9
DrawWindowCaptions=true
DrawWindowIcons=true
FillGaps=true
IgnoreMinimized=false
LayoutMode=1
LeftButtonDesktop=0
LeftButtonWindow=1
MiddleButtonDesktop=0
MiddleButtonWindow=0
RightButtonDesktop=2
RightButtonWindow=2
ShowPanel=false
TabBox=true

[Effect-Zoom]
EnableFocusTracking=false
EnableFollowFocus=true
MousePointer=0
MouseTracking=0
ZoomFactor=1.2

[ElectricBorders]
Bottom=None
BottomLeft=None
BottomRight=None
Left=None
Right=None
Top=None
TopLeft=None
TopRight=None

[Plugins]
kwin4_effect_blurEnabled=false
kwin4_effect_boxswitchEnabled=true
kwin4_effect_coverswitchEnabled=false
kwin4_effect_cubeEnabled=true
kwin4_effect_cubeslideEnabled=false
kwin4_effect_dashboardEnabled=true
kwin4_effect_desktopgridEnabled=true
kwin4_effect_dialogparentEnabled=true
kwin4_effect_diminactiveEnabled=false
kwin4_effect_dimscreenEnabled=false
kwin4_effect_explosionEnabled=false
kwin4_effect_fadeEnabled=false
kwin4_effect_fadedesktopEnabled=false
kwin4_effect_fallapartEnabled=false
kwin4_effect_flipswitchEnabled=false
kwin4_effect_glideEnabled=false
kwin4_effect_highlightwindowEnabled=true
kwin4_effect_invertEnabled=false
kwin4_effect_loginEnabled=true
kwin4_effect_logoutEnabled=true
kwin4_effect_lookingglassEnabled=false
kwin4_effect_magiclampEnabled=false
kwin4_effect_magnifierEnabled=false
kwin4_effect_minimizeanimationEnabled=false
kwin4_effect_mousemarkEnabled=false
kwin4_effect_presentwindowsEnabled=true
kwin4_effect_resizeEnabled=false
kwin4_effect_scaleinEnabled=false
kwin4_effect_screenshotEnabled=true
kwin4_effect_shadowEnabled=true
kwin4_effect_sharpenEnabled=false
kwin4_effect_sheetEnabled=false
kwin4_effect_showfpsEnabled=false
kwin4_effect_showpaintEnabled=false
kwin4_effect_slideEnabled=true
kwin4_effect_slidebackEnabled=false
kwin4_effect_slidingpopupsEnabled=true
kwin4_effect_snaphelperEnabled=false
kwin4_effect_snowEnabled=false
kwin4_effect_startupfeedbackEnabled=true
kwin4_effect_taskbarthumbnailEnabled=true
kwin4_effect_thumbnailasideEnabled=false
kwin4_effect_trackmouseEnabled=false
kwin4_effect_translucencyEnabled=true
kwin4_effect_windowgeometryEnabled=false
kwin4_effect_wobblywindowsEnabled=false
kwin4_effect_zoomEnabled=true

[PopupInfo]
PopupHideDelay=1000
ShowPopup=false
TextOnly=false

[TabBox]
ListMode=0
ShowTabBox=true

[Windows]
ElectricBorderCooldown=350
ElectricBorderDelay=150
ElectricBorderMaximize=true
ElectricBorderTiling=true
ElectricBorders=0
IgnoreFocusStealingClasses=kio_uiserver
RollOverDesktops=true
###

The crash does not seem to be reproducible.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb29af720 (LWP 1741))]

Thread 3 (Thread 0xae9e5b70 (LWP 1746)):
#0  0xb38f9d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb657bdd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6649525 in updateCurrentTime (this=0x903b200, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:339
#4  QEventDispatcherUNIXPrivate::doSelect (this=0x903b200, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:182
#5  0xb664a326 in QEventDispatcherUNIX::processEvents (this=0x910fa40, flags=...) at kernel/qeventdispatcher_unix.cpp:919
#6  0xb6619289 in QEventLoop::processEvents (this=0xae9e5280, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6619522 in QEventLoop::exec (this=0xae9e5280, flags=...) at kernel/qeventloop.cpp:201
#8  0xb65232a0 in QThread::exec (this=0x903f4e8) at thread/qthread.cpp:492
#9  0xb65fafdb in QInotifyFileSystemWatcherEngine::run (this=0x903f4e8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6525da2 in QThreadPrivate::start (arg=0x903f4e8) at thread/qthread_unix.cpp:320
#11 0xb39b7e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb771873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xae1dcb70 (LWP 1747)):
#0  0xb78d2424 in __kernel_vsyscall ()
#1  0xb39bc48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb77263fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb6ea4817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb6fb81c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb6ea4851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb6fb81c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb39b7e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb771873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb29af720 (LWP 1741)):
[KCrash Handler]
#7  0x00000028 in ?? ()
#8  0xaf9fec90 in KWin::DesktopGridEffect::windowInputMouseEvent (this=0x8f5e2a8, e=0xbf9ab3a8) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:544
#9  0xb789ea99 in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=0x8ed2768, e=0xbf9ab8fc) at ../../kwin/effects.cpp:926
#10 0xb782c090 in KWin::Workspace::workspaceEvent (this=0x8ec44a8, e=0xbf9ab8fc) at ../../kwin/events.cpp:262
#11 0xb7805b02 in KWin::Application::x11EventFilter (this=0xbf9abae4, e=0xbf9ab8fc) at ../../kwin/main.cpp:367
#12 0xb5be9e14 in qt_x11EventFilter (ev=0xbf9ab8fc) at kernel/qapplication_x11.cpp:440
#13 0xb5bfb887 in QApplication::x11ProcessEvent (this=0xbf9abae4, event=0xbf9ab8fc) at kernel/qapplication_x11.cpp:3392
#14 0xb5c29150 in QEventDispatcherX11::processEvents (this=0x8db5aa8, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#15 0xb6619289 in QEventLoop::processEvents (this=0xbf9aba24, flags=...) at kernel/qeventloop.cpp:149
#16 0xb6619522 in QEventLoop::exec (this=0xbf9aba24, flags=...) at kernel/qeventloop.cpp:201
#17 0xb661decc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#18 0xb5b6f8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#19 0xb78085b2 in kdemain (argc=3, argv=0xbf9abd64) at ../../kwin/main.cpp:542
#20 0x080485bb in main (argc=3, argv=0xbf9abd64) at kwin_dummy.cpp:3

Possible duplicates by query: bug 277971, bug 272928, bug 272370, bug 267562, bug 262893.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-09-07 17:16:01 UTC

*** This bug has been marked as a duplicate of bug 233363 ***