Bug 307076 - Kwin crash
Summary: Kwin crash
Status: RESOLVED WORKSFORME
Alias: None
Product: Oxygen
Classification: Plasma
Component: win deco (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 23:30 UTC by scaphe
Modified: 2018-11-29 09:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scaphe 2012-09-19 23:30:43 UTC
Application: kwin (4.9.1)
KDE Platform Version: 4.9.1 (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-30-generic-pae i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- Unusual behavior I noticed:
I watched for several days a number of crash several applications.
In particular, reconq and firefox.
Application windows open and disappear immediately.

It also happens that the entire KDE desktop freezes. No further action is possible, neither the keyboard nor the mouse. The only possibility is reset!

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7  0x00948416 in __kernel_vsyscall ()
#8  0x0013e1ef in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0x00141835 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0x001792fa in ?? () from /lib/i386-linux-gnu/libc.so.6
#11 0x00183e42 in ?? () from /lib/i386-linux-gnu/libc.so.6
#12 0x0842351f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0x055bbf30 in ~QExplicitlySharedDataPointer (this=0x9a4b9a8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:166
#14 ~QExplicitlySharedDataPointer (this=0x9a4b9a8, __in_chrg=<optimized out>) at text/qfont.cpp:853
#15 QFont::~QFont (this=0x9a4b9a8, __in_chrg=<optimized out>) at text/qfont.cpp:853
#16 0x054da207 in QPainterState::~QPainterState (this=0x9a4b990, __in_chrg=<optimized out>) at painting/qpainter.cpp:8350
#17 0x0555d401 in QRasterPaintEngineState::~QRasterPaintEngineState (this=0x9a4b990, __in_chrg=<optimized out>) at painting/qpaintengine_raster.cpp:624
#18 0x0555d4a2 in QRasterPaintEngineState::~QRasterPaintEngineState (this=0x9a4b990, __in_chrg=<optimized out>) at painting/qpaintengine_raster.cpp:628
#19 0x054dbe56 in qt_cleanup_painter_state (d=0x954eb20) at painting/qpainter.cpp:1729
#20 QPainter::end (this=0xbff802a0) at painting/qpainter.cpp:1991
#21 0x027645a3 in Oxygen::Client::renderTitleText (this=0x9505740, rect=..., caption=..., color=..., elide=true) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:989
#22 0x02764f99 in Oxygen::Client::renderTitleText (this=0x9505740, painter=0xbff806f8, rect=..., color=..., contrast=...) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:889
#23 0x02769376 in Oxygen::Client::renderItem (this=0x9505740, painter=0xbff806f8, index=0, palette=...) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1069
#24 0x0276aa97 in Oxygen::Client::paint (this=0x9505740, painter=...) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1589
#25 0x02768606 in paintEvent (event=0xbff80c14, this=0x9505740) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1438
#26 Oxygen::Client::paintEvent (this=0x9505740, event=0xbff80c14) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1426
#27 0x0071b304 in eventFilter (e=0xbff80c14, this=0x9505740, o=<optimized out>) at ../../../kwin/libkdecorations/kcommondecoration.cpp:911
#28 KCommonDecoration::eventFilter (this=0x9505740, o=0x9a76d50, e=0xbff80c14) at ../../../kwin/libkdecorations/kcommondecoration.cpp:902
#29 0x0071b37b in KCommonDecorationUnstable::eventFilter (this=0x9505740, o=0x9a76d50, e=0xbff80c14) at ../../../kwin/libkdecorations/kcommondecoration.cpp:1381
#30 0x02761063 in Oxygen::Client::eventFilter (this=0x9505740, object=0x9a76d50, event=0xbff80c14) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1395
#31 0x06816f76 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8fbc680, receiver=0x9a76d50, event=0xbff80c14) at kernel/qcoreapplication.cpp:1025
#32 0x05368dc2 in notify_helper (e=0xbff80c14, receiver=0x9a76d50, this=0x8fbc680) at kernel/qapplication.cpp:4552
#33 QApplicationPrivate::notify_helper (this=0x8fbc680, receiver=0x9a76d50, e=0xbff80c14) at kernel/qapplication.cpp:4528
#34 0x0536e1f2 in QApplication::notify (this=0x8fbc680, receiver=0x9a76d50, e=0xbff80c14) at kernel/qapplication.cpp:4521
#35 0x004a22a1 in KApplication::notify (this=0xbff82654, receiver=0x9a76d50, event=0xbff80c14) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x009af88f in notify (e=0xbff80c14, o=0x9a76d50, this=0xbff82654) at ../../kwin/main.cpp:371
#37 KWin::Application::notify (this=0xbff82654, o=0x9a76d50, e=0xbff80c14) at ../../kwin/main.cpp:367
#38 0x06816dde in QCoreApplication::notifyInternal (this=0xbff82654, receiver=0x9a76d50, event=0xbff80c14) at kernel/qcoreapplication.cpp:915
#39 0x053be92a in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#40 QWidgetPrivate::drawWidget (this=0x98b8600, pdev=0x965311c, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5594
#41 0x053c1523 in QWidgetPrivate::render (this=0x98b8600, target=0x965311c, targetOffset=..., sourceRegion=..., renderFlags=..., readyToRender=65) at kernel/qwidget.cpp:5730
#42 0x053c17d0 in QWidget::render (this=0x9a76d50, target=0x965311c, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:5182
#43 0x00a3d158 in KWin::PaintRedirector::performPendingPaint (this=0x9653108) at ../../kwin/paintredirector.cpp:55
#44 0x00998dce in KWin::Client::ensureDecorationPixmapsPainted (this=0x992ee30) at ../../kwin/client.cpp:573
#45 0x00a272a5 in KWin::SceneOpenGL::Window::performPaint (this=0x951c940, mask=9, region=..., data=...) at ../../kwin/scene_opengl.cpp:542
#46 0x00a0f174 in KWin::Scene::finalDrawWindow (this=0x90d9388, w=0x9929b10, mask=9, region=..., data=...) at ../../kwin/scene.cpp:449
#47 0x00a33fe0 in KWin::EffectsHandlerImpl::drawWindow (this=0x92cd0a8, w=0x9929b10, mask=9, region=..., data=...) at ../../kwin/effects.cpp:308
#48 0x0309c8f7 in KWin::BlurEffect::drawWindow (this=0x93599d8, w=0x9929b10, mask=9, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:405
#49 0x00a33f88 in KWin::EffectsHandlerImpl::drawWindow (this=0x92cd0a8, w=0x9929b10, mask=9, region=..., data=...) at ../../kwin/effects.cpp:305
#50 0x00731812 in KWin::Effect::drawWindow (this=0x9430600, w=0x9929b10, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#51 0x00a33f88 in KWin::EffectsHandlerImpl::drawWindow (this=0x92cd0a8, w=0x9929b10, mask=9, region=..., data=...) at ../../kwin/effects.cpp:305
#52 0x00a0e3c2 in KWin::Scene::finalPaintWindow (this=0x90d9388, w=0x9929b10, mask=9, region=..., data=...) at ../../kwin/scene.cpp:434
#53 0x00a34250 in KWin::EffectsHandlerImpl::paintWindow (this=0x92cd0a8, w=0x9929b10, mask=9, region=..., data=...) at ../../kwin/effects.cpp:271
#54 0x00731932 in KWin::Effect::paintWindow (this=0x93599d8, w=0x9929b10, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:157
#55 0x00a341f8 in KWin::EffectsHandlerImpl::paintWindow (this=0x92cd0a8, w=0x9929b10, mask=9, region=..., data=...) at ../../kwin/effects.cpp:268
#56 0x030832f0 in KWin::TranslucencyEffect::paintWindow (this=0x9430600, w=0x9929b10, mask=9, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:169
#57 0x00a341f8 in KWin::EffectsHandlerImpl::paintWindow (this=0x92cd0a8, w=0x9929b10, mask=9, region=..., data=...) at ../../kwin/effects.cpp:268
#58 0x00a119e3 in KWin::Scene::paintWindow (this=0x90d9388, w=0x951c940, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:348
#59 0x00a0f904 in KWin::Scene::paintSimpleScreen (this=0x90d9388, orig_mask=8, region=...) at ../../kwin/scene.cpp:334
#60 0x00a0e2da in KWin::Scene::finalPaintScreen (this=0x90d9388, mask=8, region=..., data=...) at ../../kwin/scene.cpp:192
#61 0x00a343f0 in KWin::EffectsHandlerImpl::paintScreen (this=0x92cd0a8, mask=8, region=..., data=...) at ../../kwin/effects.cpp:244
#62 0x007319aa in KWin::Effect::paintScreen (this=0x93599d8, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#63 0x00a343a0 in KWin::EffectsHandlerImpl::paintScreen (this=0x92cd0a8, mask=8, region=..., data=...) at ../../kwin/effects.cpp:241
#64 0x007319aa in KWin::Effect::paintScreen (this=0x9430600, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#65 0x00a343a0 in KWin::EffectsHandlerImpl::paintScreen (this=0x92cd0a8, mask=8, region=..., data=...) at ../../kwin/effects.cpp:241
#66 0x00a10163 in KWin::Scene::paintScreen (this=0x90d9388, mask=0xbff81e08, region=0xbff81e8c) at ../../kwin/scene.cpp:146
#67 0x00a28a66 in KWin::SceneOpenGL::paint (this=0x90d9388, damage=..., toplevels=...) at ../../kwin/scene_opengl_glx.cpp:481
#68 0x00a083f3 in performCompositing (this=0x9097408) at ../../kwin/composite.cpp:440
#69 KWin::Workspace::performCompositing (this=0x9097408) at ../../kwin/composite.cpp:398
#70 0x06831f94 in QObject::event (this=0x9097408, e=0xbff8236c) at kernel/qobject.cpp:1157
#71 0x05368df4 in notify_helper (e=0xbff8236c, receiver=0x9097408, this=0x8fbc680) at kernel/qapplication.cpp:4556
#72 QApplicationPrivate::notify_helper (this=0x8fbc680, receiver=0x9097408, e=0xbff8236c) at kernel/qapplication.cpp:4528
#73 0x0536e15d in QApplication::notify (this=0xbff8236c, receiver=0x9097408, e=0xbff8236c) at kernel/qapplication.cpp:4285
#74 0x004a22a1 in KApplication::notify (this=0xbff82654, receiver=0x9097408, event=0xbff8236c) at ../../kdeui/kernel/kapplication.cpp:311
#75 0x009af88f in notify (e=0xbff8236c, o=0x9097408, this=0xbff82654) at ../../kwin/main.cpp:371
#76 KWin::Application::notify (this=0xbff82654, o=0x9097408, e=0xbff8236c) at ../../kwin/main.cpp:367
#77 0x06816dde in QCoreApplication::notifyInternal (this=0xbff82654, receiver=0x9097408, event=0xbff8236c) at kernel/qcoreapplication.cpp:915
#78 0x0684be60 in sendEvent (event=0xbff8236c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#79 QTimerInfoList::activateTimers (this=0x8fbcf24) at kernel/qeventdispatcher_unix.cpp:611
#80 0x0684c6d7 in QEventDispatcherUNIX::processEvents (this=0x8f7ceb8, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#81 0x05422ade in QEventDispatcherX11::processEvents (this=0x8f7ceb8, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#82 0x0681567d in QEventLoop::processEvents (this=0xbff825b4, flags=...) at kernel/qeventloop.cpp:149
#83 0x06815919 in QEventLoop::exec (this=0xbff825b4, flags=...) at kernel/qeventloop.cpp:204
#84 0x0681b31a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#85 0x053669c4 in QApplication::exec () at kernel/qapplication.cpp:3817
#86 0x009b2746 in kdemain (argc=3, argv=0xbff828f4) at ../../kwin/main.cpp:545
#87 0x0804850b in main (argc=3, argv=0xbff828f4) at kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-09-20 10:55:38 UTC
double free, ie. memory corruption from QPainter inside the oxygen deco.

together with the other observed behavior (random crashes; when the pointer stalls, thats a kernelspace  problem, esp. if you cannot even ctrl+alt+f1 to switch to vt1) i suspect a physical problem (heat, inaccurately plugged RAM module)

There's of course a chance of a bug in oxygen (iff you use oxygen-gtk and it shares relevant code with the oxygen decoration) but that would not explain an actually frozen system (can you still ssh into it)

If you can reproducibly cause such crashes, run them through valgrind (there's no other way to determine a memory corruption) but first check your hardware.

-> Passing to Hugo, but the actual trigger here would be Qt (and the cause could be anything)
Comment 2 Andrew Crouthamel 2018-10-29 22:26:36 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-13 14:39:55 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
mark the bug 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 4 Bug Janitor Service 2018-11-29 09:42:11 UTC
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!