Bug 317849

Summary: kwin crashes at startup
Product: [Plasma] kwin Reporter: Alin M Elena <alinm.elena>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: triaged
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alin M Elena 2013-04-04 22:18:07 UTC
Application: kwin (4.10.60 "release 101")
KDE Platform Version: 4.10.60 "release 101"
Qt Version: 4.8.4
Operating System: Linux 3.9.0-rc5-1-desktop+ x86_64
Distribution: "openSUSE 13.1 Milestone 0 (x86_64)"

-- Information about the crash:
on a kde trunk install with nouveau kwin crashes at startup...
It is almost always but not always dr konqi comes out.

sometimes the effect is that desktop effects are not active anymore... and I am back to Xrender/native instead of my original settings of opengl/raster

The crash can be reproduced sometimes.

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

Thread 2 (Thread 0x7f06bb715700 (LWP 1158)):
#0  0x00007f06ddcfb964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f06e28ec437 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f06e2bf9660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f06e28ec469 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f06ddcf7e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f06e36e87dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f06e3ee3780 (LWP 1150)):
[KCrash Handler]
#5  0x00007f06e31c5ab4 in KWin::EffectWindow::expandedGeometry (this=<optimized out>) at /usr/src/debug/kde-workspace-git/kwin/libkwineffects/kwineffects.cpp:671
#6  0x00007f06e31d378b in KWin::AnimationEffect::updateLayerRepaints (this=<optimized out>) at /usr/src/debug/kde-workspace-git/kwin/libkwineffects/kwinanimationeffect.cpp:783
#7  0x00007f06e31d411a in KWin::AnimationEffect::triggerRepaint (this=<optimized out>) at /usr/src/debug/kde-workspace-git/kwin/libkwineffects/kwinanimationeffect.cpp:668
#8  0x00007f06e31d4548 in KWin::AnimationEffect::p_animate (this=0x2193550, w=0x258cff0, a=<optimized out>, meta=0, ms=30, to=..., curve=..., delay=0, from=..., keepAtTarget=false) at /usr/src/debug/kde-workspace-git/kwin/libkwineffects/kwinanimationeffect.cpp:206
#9  0x00007f06e3ab0da3 in animate (delay=0, curve=..., to=..., ms=30, meta=0, a=KWin::AnimationEffect::Opacity, w=0x258cff0, this=0x2193550, from=...) at /usr/src/debug/kde-workspace-git/kwin/libkwineffects/kwinanimationeffect.h:163
#10 KWin::ScriptedEffect::animate (this=0x2193550, w=0x258cff0, a=KWin::AnimationEffect::Opacity, ms=30, to=..., from=..., data=0x0, curve=QEasingCurve::Linear, delay=0) at /usr/src/debug/kde-workspace-git/kwin/scripting/scriptedeffect.cpp:502
#11 0x00007f06e39f3797 in KWin::ScriptedEffect::qt_static_metacall (_o=0x2193550, _id=45000, _a=0x7fffa05cb7f0, _c=<optimized out>) at /usr/src/debug/kde-workspace-git/build/kwin/moc_scriptedeffect.cpp:256
#12 0x00007f06e39f3a9b in KWin::ScriptedEffect::qt_metacall (this=0x2193550, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa05cb7f0) at /usr/src/debug/kde-workspace-git/build/kwin/moc_scriptedeffect.cpp:320
#13 0x00007f06e295831d in QScript::callQtMethod (exec=exec@entry=0x7f06ba7050c0, callType=callType@entry=QMetaMethod::Method, thisQObject=thisQObject@entry=0x2193550, scriptArgs=..., meta=meta@entry=0x7f06e3d1bd60 <KWin::ScriptedEffect::staticMetaObject>, initialIndex=15, maybeOverloaded=true) at bridge/qscriptqobject.cpp:960
#14 0x00007f06e2959c2d in QScript::QtFunction::execute (this=this@entry=0x7f06c0044300, exec=0x7f06ba7050c0, thisValue=..., thisValue@entry=..., scriptArgs=...) at bridge/qscriptqobject.cpp:1015
#15 0x00007f06e2959e59 in QScript::QtFunction::call (exec=0x7f06ba7050c0, callee=0x7f06c0044300, thisValue=..., args=...) at bridge/qscriptqobject.cpp:1030
#16 0x00007f06e285ee50 in QTJSC::NativeFuncWrapper::operator() (this=0x7fffa05cba00, exec=0x7f06ba7050c0, jsobj=0x7f06c0044300, thisValue=..., argList=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/CallData.cpp:46
#17 0x00007f06e283c08a in QTJSC::cti_op_call_NotJSFunction (args=0x7fffa05cba50) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:1780
#18 0x00007f06c80189f3 in ?? ()
#19 0x0000000000000000 in ?? ()

Possible duplicates by query: bug 306709.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-04-04 22:39:34 UTC
a) Does this *only* happen in the session start?
b) Does this crash *not* happen with the XRender compositor?
(not uncomposited, native graphicssystem is so far preferred with XRender compositing)
Comment 2 Alin M Elena 2013-04-04 22:48:34 UTC
a) yes... or at least that was the only time I have seen it...
b) I do not use xrender... always set it to opengl.. my observation that the compositor changes to xrender from opengl may be not related with the bug... i just noted it.

Alin
Comment 3 Thomas Lübking 2013-04-04 22:56:50 UTC
I'd ask you to try the XRender compositor to determine whether this is a memory corruption in (likely) the nouveau driver or a dangeling pointer in the AnimationEffect class....
Comment 4 Martin Flöser 2013-05-07 15:19:24 UTC
waiting for the test with XRender
Comment 5 Thomas Lübking 2013-05-07 17:08:25 UTC
pot. related to bug #319201 comment #4
Comment 6 Andrew Crouthamel 2018-09-24 02:11:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-27 03:40:57 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!