Bug 314753

Summary: kwin segmentation fault
Product: [Plasma] Oxygen Reporter: Ivan Ramos <tibesignerie1>
Component: win decoAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED WORKSFORME    
Severity: crash CC: hugo.pereira.da.costa, kwin-bugs-null
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ivan Ramos 2013-02-09 10:34:24 UTC
Application: kwin (4.8.5 (4.8.5))
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-37-generic-pae i686
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed: It happen in the moment i was waking up the update manager. I download the updates of the day.

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

Thread 3 (Thread 0xb4d78b40 (LWP 1683)):
#0  0x020cbdcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x04c6a315 in do_gettime (frac=0xb4d780c0, sec=0xb4d780b8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x04d54226 in QTimerInfoList::updateCurrentTime (this=0xb4400b34) at kernel/qeventdispatcher_unix.cpp:343
#4  0x04d5457a in QTimerInfoList::timerWait (this=0xb4400b34, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x04d5627e in QEventDispatcherUNIX::processEvents (this=0xb4400488, flags=...) at kernel/qeventdispatcher_unix.cpp:913
#6  0x04d1f50d in QEventLoop::processEvents (this=0xb4d78240, flags=...) at kernel/qeventloop.cpp:149
#7  0x04d1f7a9 in QEventLoop::exec (this=0xb4d78240, flags=...) at kernel/qeventloop.cpp:204
#8  0x04c0894c in QThread::exec (this=0x85adba0) at thread/qthread.cpp:501
#9  0x04cfcb5d in QInotifyFileSystemWatcherEngine::run (this=0x85adba0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x04c0bde0 in QThreadPrivate::start (arg=0x85adba0) at thread/qthread_unix.cpp:298
#11 0x05ca3d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x00c0bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb43ffb40 (LWP 1684)):
#0  0x00577416 in __kernel_vsyscall ()
#1  0x05ca796b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00c1964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x069f9029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x069f906f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x05ca3d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x00c0bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb76e3740 (LWP 1681)):
[KCrash Handler]
#7  0x01532160 in QList<QRectF>::detach_helper_grow (this=0xbf9853b0, i=2147483647, c=1) at ../../include/QtCore/../../src/corelib/tools/qlist.h:676
#8  0x01532427 in QList<QRectF>::append (this=0xbf9853b0, t=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:510
#9  0x015308a5 in operator+= (t=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:332
#10 QPainterPath::toFillPolygons (this=0x8c3, matrix=...) at painting/qpainterpath.cpp:1604
#11 0x01530f56 in QPainterPath::toFillPolygons (this=0xbf9854e0, matrix=...) at painting/qpainterpath.cpp:1691
#12 0x015df61d in QX11PaintEnginePrivate::fillPath (this=0x86623a8, path=..., gc_mode=QX11PaintEnginePrivate::PenGC, transform=232) at painting/qpaintengine_x11.cpp:1752
#13 0x015dfd11 in QX11PaintEngine::drawPath (this=0x8c3, path=...) at painting/qpaintengine_x11.cpp:1814
#14 0x015d4bd2 in QX11PaintEngine::drawLines (this=0x84c5f58, lines=0xbf986a80, lineCount=1) at painting/qpaintengine_x11.cpp:724
#15 0x0151973e in QPainter::drawLines (this=0xbf986ec8, lines=0xbf986a80, lineCount=1) at painting/qpainter.cpp:4742
#16 0x0481cd79 in drawLine (l=..., this=0xbf986ec8) at /usr/include/qt4/QtGui/qpainter.h:575
#17 drawLine (p2=..., p1=..., this=0xbf986ec8) at /usr/include/qt4/QtGui/qpainter.h:597
#18 Oxygen::Helper::drawFloatFrame (this=0x84e7cf0, p=0xbf986ec8, r=..., color=..., drawUglyShadow=false, isActive=true, frameColor=..., tiles=...) at ../../../libs/oxygen/oxygenhelper.cpp:644
#19 0x04eaa850 in Oxygen::Client::renderFloatFrame (this=0x85fb750, painter=0xbf986ec8, frame=..., palette=...) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1188
#20 0x04ead422 in Oxygen::Client::paint (this=0x85fb750, painter=...) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1579
#21 0x04eab0b6 in paintEvent (event=0xbf9873e4, this=0x85fb750) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1441
#22 Oxygen::Client::paintEvent (this=0x85fb750, event=0xbf9873e4) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1429
#23 0x005cf5e4 in eventFilter (e=0xbf9873e4, this=0x85fb750, o=<optimized out>) at ../../../kwin/libkdecorations/kcommondecoration.cpp:877
#24 KCommonDecoration::eventFilter (this=0x85fb750, o=0x8542ac0, e=0xbf9873e4) at ../../../kwin/libkdecorations/kcommondecoration.cpp:868
#25 0x005cf65b in KCommonDecorationUnstable::eventFilter (this=0x85fb750, o=0x8542ac0, e=0xbf9873e4) at ../../../kwin/libkdecorations/kcommondecoration.cpp:1342
#26 0x04ea41d3 in Oxygen::Client::eventFilter (this=0x85fb750, object=0x8542ac0, event=0xbf9873e4) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1398
#27 0x04d20b16 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x83ff7f0, receiver=0x8542ac0, event=0xbf9873e4) at kernel/qcoreapplication.cpp:986
#28 0x013a1ea2 in notify_helper (e=0xbf9873e4, receiver=0x8542ac0, this=0x83ff7f0) at kernel/qapplication.cpp:4555
#29 QApplicationPrivate::notify_helper (this=0x83ff7f0, receiver=0x8542ac0, e=0xbf9873e4) at kernel/qapplication.cpp:4531
#30 0x013a73a2 in QApplication::notify (this=0x83ff7f0, receiver=0x8542ac0, e=0xbf9873e4) at kernel/qapplication.cpp:4524
#31 0x002fce01 in KApplication::notify (this=0xbf9890d8, receiver=0x8542ac0, event=0xbf9873e4) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00dd77ff in notify (e=0xbf9873e4, o=0x8542ac0, this=0xbf9890d8) at ../../kwin/main.cpp:368
#33 KWin::Application::notify (this=0xbf9890d8, o=0x8542ac0, e=0xbf9873e4) at ../../kwin/main.cpp:364
#34 0x04d2097e in QCoreApplication::notifyInternal (this=0xbf9890d8, receiver=0x8542ac0, event=0xbf9873e4) at kernel/qcoreapplication.cpp:876
#35 0x013f7ada in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#36 QWidgetPrivate::drawWidget (this=0x85e6310, pdev=0x85c008c, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5585
#37 0x013fa6d3 in QWidgetPrivate::render (this=0x85e6310, target=0x85c008c, targetOffset=..., sourceRegion=..., renderFlags=..., readyToRender=9) at kernel/qwidget.cpp:5721
#38 0x013fa980 in QWidget::render (this=0x8542ac0, target=0x85c008c, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:5173
#39 0x00e61ee8 in KWin::PaintRedirector::performPendingPaint (this=0x85c0078) at ../../kwin/paintredirector.cpp:55
#40 0x00dc108e in KWin::Client::ensureDecorationPixmapsPainted (this=0x85434a8) at ../../kwin/client.cpp:579
#41 0x00e3fc1f in KWin::SceneXrender::Window::performPaint (this=0x855fb38, mask=9, region=..., data=...) at ../../kwin/scene_xrender.cpp:654
#42 0x00e33517 in KWin::Scene::finalDrawWindow (this=0x84f0bf8, w=0x84f1548, mask=9, region=..., data=...) at ../../kwin/scene.cpp:438
#43 0x00e5a6aa in KWin::EffectsHandlerImpl::drawWindow (this=0x84f0a40, w=0x84f1550, mask=9, region=..., data=...) at ../../kwin/effects.cpp:286
#44 0x005e43a2 in KWin::Effect::drawWindow (this=0x854d6e8, w=0x84f1550, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#45 0x00e5a648 in KWin::EffectsHandlerImpl::drawWindow (this=0x84f0a40, w=0x84f1550, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#46 0x005e43a2 in KWin::Effect::drawWindow (this=0x853c3a8, w=0x84f1550, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#47 0x00e5a648 in KWin::EffectsHandlerImpl::drawWindow (this=0x84f0a40, w=0x84f1550, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#48 0x005e43a2 in KWin::Effect::drawWindow (this=0x854bab8, w=0x84f1550, mask=9, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:182
#49 0x00e5a648 in KWin::EffectsHandlerImpl::drawWindow (this=0x84f0a40, w=0x84f1550, mask=9, region=..., data=...) at ../../kwin/effects.cpp:283
#50 0x00e32952 in KWin::Scene::finalPaintWindow (this=0x84f0bf8, w=0x84f1548, mask=9, region=..., data=...) at ../../kwin/scene.cpp:429
#51 0x00e5a53a in KWin::EffectsHandlerImpl::paintWindow (this=0x84f0a40, w=0x84f1550, mask=9, region=..., data=...) at ../../kwin/effects.cpp:249
#52 0x05346a4a in KWin::DialogParentEffect::paintWindow (this=0x854d6e8, w=0x84f1550, mask=9, region=..., data=...) at ../../../kwin/effects/dialogparent/dialogparent.cpp:64
#53 0x00e5a4d8 in KWin::EffectsHandlerImpl::paintWindow (this=0x84f0a40, w=0x84f1550, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#54 0x053495c4 in KWin::FadeEffect::paintWindow (this=0x853c3a8, w=0x84f1550, mask=9, region=..., data=...) at ../../../kwin/effects/fade/fade.cpp:150
#55 0x00e5a4d8 in KWin::EffectsHandlerImpl::paintWindow (this=0x84f0a40, w=0x84f1550, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#56 0x05382cd8 in KWin::TranslucencyEffect::paintWindow (this=0x854bab8, w=0x84f1550, mask=9, region=..., data=...) at ../../../kwin/effects/translucency/translucency.cpp:169
#57 0x00e5a4d8 in KWin::EffectsHandlerImpl::paintWindow (this=0x84f0a40, w=0x84f1550, mask=9, region=..., data=...) at ../../kwin/effects.cpp:246
#58 0x00e3373e in KWin::Scene::paintWindow (this=0x84f0bf8, w=0x855fb38, mask=9, region=..., quads=...) at ../../kwin/scene.cpp:385
#59 0x00e348e5 in KWin::Scene::paintSimpleScreen (this=0x84f0bf8, orig_mask=8, region=...) at ../../kwin/scene.cpp:330
#60 0x00e3285a in KWin::Scene::finalPaintScreen (this=0x84f0bf8, mask=8, region=..., data=...) at ../../kwin/scene.cpp:198
#61 0x00e5a9c0 in KWin::EffectsHandlerImpl::paintScreen (this=0x84f0a40, mask=8, region=..., data=...) at ../../kwin/effects.cpp:222
#62 0x005e453a in KWin::Effect::paintScreen (this=0x854d6e8, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#63 0x00e5a970 in KWin::EffectsHandlerImpl::paintScreen (this=0x84f0a40, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#64 0x005e453a in KWin::Effect::paintScreen (this=0x853c3a8, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#65 0x00e5a970 in KWin::EffectsHandlerImpl::paintScreen (this=0x84f0a40, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#66 0x005e453a in KWin::Effect::paintScreen (this=0x854bab8, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:142
#67 0x00e5a970 in KWin::EffectsHandlerImpl::paintScreen (this=0x84f0a40, mask=8, region=..., data=...) at ../../kwin/effects.cpp:219
#68 0x00e353cf in KWin::Scene::paintScreen (this=0x84f0bf8, mask=0xbf988854, region=0xbf9888e8) at ../../kwin/scene.cpp:156
#69 0x00e4020a in KWin::SceneXrender::paint (this=0x84f0bf8, damage=..., toplevels=...) at ../../kwin/scene_xrender.cpp:173
#70 0x00e2eaa4 in KWin::Workspace::performCompositing (this=0x84c5918) at ../../kwin/composite.cpp:417
#71 0x04d3bac4 in QObject::event (this=0x84c5918, e=0xbf988dcc) at kernel/qobject.cpp:1157
#72 0x013a1ed4 in notify_helper (e=0xbf988dcc, receiver=0x84c5918, this=0x83ff7f0) at kernel/qapplication.cpp:4559
#73 QApplicationPrivate::notify_helper (this=0x83ff7f0, receiver=0x84c5918, e=0xbf988dcc) at kernel/qapplication.cpp:4531
#74 0x013a730d in QApplication::notify (this=0xbf988dcc, receiver=0x84c5918, e=0xbf988dcc) at kernel/qapplication.cpp:4288
#75 0x002fce01 in KApplication::notify (this=0xbf9890d8, receiver=0x84c5918, event=0xbf988dcc) at ../../kdeui/kernel/kapplication.cpp:311
#76 0x00dd77ff in notify (e=0xbf988dcc, o=0x84c5918, this=0xbf9890d8) at ../../kwin/main.cpp:368
#77 KWin::Application::notify (this=0xbf9890d8, o=0x84c5918, e=0xbf988dcc) at ../../kwin/main.cpp:364
#78 0x04d2097e in QCoreApplication::notifyInternal (this=0xbf9890d8, receiver=0x84c5918, event=0xbf988dcc) at kernel/qcoreapplication.cpp:876
#79 0x04d55990 in sendEvent (event=0xbf988dcc, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#80 QTimerInfoList::activateTimers (this=0x8400094) at kernel/qeventdispatcher_unix.cpp:611
#81 0x04d56207 in QEventDispatcherUNIX::processEvents (this=0x83c7eb8, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#82 0x0145bb6e in QEventDispatcherX11::processEvents (this=0x83c7eb8, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#83 0x04d1f50d in QEventLoop::processEvents (this=0xbf989014, flags=...) at kernel/qeventloop.cpp:149
#84 0x04d1f7a9 in QEventLoop::exec (this=0xbf989014, flags=...) at kernel/qeventloop.cpp:204
#85 0x04d24eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#86 0x0139fa74 in QApplication::exec () at kernel/qapplication.cpp:3820
#87 0x00dda7c5 in kdemain (argc=3, argv=0xbf989384) at ../../kwin/main.cpp:541
#88 0x0804850b in main (argc=3, argv=0xbf989384) at kwin_dummy.cpp:3

Possible duplicates by query: bug 236887.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-02-09 10:59:04 UTC
> - What I was doing when the application crashed: It happen in the moment i was waking up the update manager. I download the updates of the day

i'm willing to bet someones head that ubuntu truncates on updates (ie. cp instead install) - the "random weird crash on update" is faaar to often
Comment 2 Hugo Pereira Da Costa 2013-04-22 14:25:43 UTC
can't reproduce this one time crash.
it happens deep down Qt code (not oxygen). I suspect either some library corruption during update, or some memory allocation issue due to memory being full. In any case, not much that I can do for now (unless someone provides a way to reproduce the crash).