Bug 203187 - spontaneous crash: kwin just crashed.
Summary: spontaneous crash: kwin just crashed.
Status: RESOLVED DUPLICATE of bug 176014
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-09 16:36 UTC by Marcel Partap
Modified: 2009-08-11 20:41 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 Marcel Partap 2009-08-09 16:36:30 UTC
Application that crashed: kwin
Version of the application: 4.3.62 (KDE 4.3.62 (KDE 4.4 >= 20090728))
KDE Version: 4.3.62 (KDE 4.3.62 (KDE 4.4 >= 20090728))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-rc4-00294-gf5886c7-dirty x86_64
Distribution: "Gentoo Base System release 2.0.1"

 -- Backtrace:
Application: KWin (kwin), signal: Floating point exception
[KCrash Handler]
#4  0x00007f551bc402c8 in blend_tiled_generic<RegularSpans> (count=14, spans=0x7fff2cf2e690, userData=<value optimized out>) at painting/qdrawhelper.cpp:4660
#5  0x00007f551bc41b90 in blend_tiled_argb<RegularSpans> (count=14, spans=0x7fff2cf2e690, userData=0x0) at painting/qdrawhelper.cpp:4709
#6  0x00007f551bbf6016 in QRasterizer::rasterize (this=0xf26610, outline=0x1086060, fillRule=<value optimized out>) at painting/qrasterizer.cpp:105
#7  0x00007f551bc2996d in QRasterPaintEngine::fill (this=0x10e1d60, path=@0x10e0748, brush=<value optimized out>) at painting/qpaintengine_raster.cpp:1865
#8  0x00007f551bba3eb7 in QPaintEngineEx::draw (this=0x7f551bc35b50, path=@0x0) at painting/qpaintengineex.cpp:590
#9  0x00007f551bbb4946 in QPainterPrivate::draw_helper (this=0x692040, originalPath=@0x7fff2cf2f600, op=<value optimized out>) at painting/qpainter.cpp:455
#10 0x00007f551bbb787e in QPainter::drawRects (this=<value optimized out>, rects=<value optimized out>, rectCount=1) at painting/qpainter.cpp:3343
#11 0x00007f551bbb9841 in QPainter::drawPixmap (this=0x7fff2cf2fa10, r=<value optimized out>, pm=@0x7fff2cf2f830, sr=<value optimized out>) at src/gui/painting/qpainter.h:605
#12 0x00007f551bb30413 in QPixmapIconEngine::paint (this=<value optimized out>, painter=0x7fff2cf2fa10, rect=@0x7fff2cf2f890, mode=<value optimized out>, state=<value optimized out>)
    at src/gui/painting/qpainter.h:810
#13 0x00007f551bb30326 in QIcon::paint (this=0x7fff2cf2fa00, painter=0x7fff2cf2fa10, rect=@0x7fff2cf2f9b0, alignment={i = 754121248}, mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:764
#14 0x00007f550f226147 in QtMdiDecorationButton::paintEvent (this=0x696200) at /usr/src/debug/x11-themes/skulpture-0.2.3/skulpture-0.2.3/kwin-client/kwin_skulpture.cpp:169
#15 0x00007f551baf2faa in QWidget::event (this=0x696200, event=0x7fff2cf30150) at kernel/qwidget.cpp:7665
#16 0x00007f551ba9c4ed in QApplicationPrivate::notify_helper (this=0x621f40, receiver=0x696200, e=0x7fff2cf30150) at kernel/qapplication.cpp:4104
#17 0x00007f551baa6cbe in QApplication::notify (this=0x7fff2cf31700, receiver=0x696200, e=0x7fff2cf30150) at kernel/qapplication.cpp:4069
#18 0x00007f551d65918b in KApplication::notify (this=0x7fff2cf31700, receiver=0x696200, event=0x7fff2cf30150) at /usr/src/debug/kde-base/kdelibs-scm/kdelibs-scm/kdeui/kernel/kapplication.cpp:302
#19 0x00007f551c7e7233 in QCoreApplication::notifyInternal (this=0x7fff2cf31700, receiver=0x696200, event=0x7fff2cf30150) at kernel/qcoreapplication.cpp:625
#20 0x00007f551baf6c62 in QWidgetPrivate::drawWidget (this=0xcd38c0, pdev=0x7fff2cf30a10, rgn=@0x7fff2cf30380, offset=@0x7fff2cf30370, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x0) at src/corelib/kernel/qcoreapplication.h:216
#21 0x00007f551baf7422 in QWidgetPrivate::paintSiblingsRecursive (this=0x692190, pdev=0x7fff2cf30a10, siblings=@0x6921a8, index=4, rgn=@0x7fff2cf30490, offset=@0x7fff2cf30770, flags=14, 
    sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5166
#22 0x00007f551baf7338 in QWidgetPrivate::paintSiblingsRecursive (this=0x692190, pdev=0x7fff2cf30a10, siblings=@0x6921a8, index=5, rgn=@0x7fff2cf30780, offset=@0x7fff2cf30770, flags=14, 
    sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5157
#23 0x00007f551baf6959 in QWidgetPrivate::drawWidget (this=0x692190, pdev=0x7fff2cf30a10, rgn=@0x7fff2cf30780, offset=@0x7fff2cf30770, flags=14, sharedPainter=0x0, backingStore=0x0)
    at kernel/qwidget.cpp:5105
#24 0x00007f551baf7662 in QWidget::render (this=<value optimized out>, target=0x7fff2cf30a10, targetOffset=@0x7fff2cf30850, sourceRegion=<value optimized out>, renderFlags={i = 754124912})
    at kernel/qwidget.cpp:4751
#25 0x00007f551e60948c in KWin::PaintRedirector::performPendingPaint (this=0xcc54a0) at /usr/src/debug/kde-base/kwin-scm/kwin/kwin/paintredirector.cpp:50
#26 0x00007f551e583eb3 in KWin::Client::ensureDecorationPixmapsPainted (this=0xb9fd20) at /usr/src/debug/kde-base/kwin-scm/kwin/kwin/client.cpp:471
#27 0x00007f551e584625 in KWin::Client::repaintDecorationPending (this=0xb9fd20) at /usr/src/debug/kde-base/kwin-scm/kwin/kwin/client.cpp:451
#28 0x00007f551e589cc0 in KWin::Client::qt_metacall (this=0xb9fd20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kde-base/kwin-scm/kwin_build/kwin/client.moc:91
#29 0x00007f551c7fc87c in QMetaObject::activate (sender=0xcc54a0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xfbe0f0) at kernel/qobject.cpp:3176
#30 0x00007f551e60909d in KWin::PaintRedirector::qt_metacall (this=0xcc54a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>)
    at /usr/src/debug/kde-base/kwin-scm/kwin_build/kwin/paintredirector.moc:66
#31 0x00007f551c7fc87c in QMetaObject::activate (sender=0xcc54c8, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xfbe0f0) at kernel/qobject.cpp:3176
#32 0x00007f551c7f7023 in QObject::event (this=0xcc54c8, e=0x0) at kernel/qobject.cpp:1092
#33 0x00007f551ba9c4ed in QApplicationPrivate::notify_helper (this=0x621f40, receiver=0xcc54c8, e=0x7fff2cf31390) at kernel/qapplication.cpp:4104
#34 0x00007f551baa6cbe in QApplication::notify (this=0x7fff2cf31700, receiver=0xcc54c8, e=0x7fff2cf31390) at kernel/qapplication.cpp:4069
#35 0x00007f551d65918b in KApplication::notify (this=0x7fff2cf31700, receiver=0xcc54c8, event=0x7fff2cf31390) at /usr/src/debug/kde-base/kdelibs-scm/kdelibs-scm/kdeui/kernel/kapplication.cpp:302
#36 0x00007f551c7e7233 in QCoreApplication::notifyInternal (this=0x7fff2cf31700, receiver=0xcc54c8, event=0x7fff2cf31390) at kernel/qcoreapplication.cpp:625
#37 0x00007f551c811c4e in QTimerInfoList::activateTimers (this=0x625d20) at kernel/qcoreapplication.h:213
#38 0x00007f551c80f1bd in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#39 0x00007f5514c88771 in IA__g_main_context_dispatch (context=0x6249f0) at gmain.c:1824
#40 0x00007f5514c8be28 in g_main_context_iterate (context=0x6249f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#41 0x00007f5514c8bfec in IA__g_main_context_iteration (context=0x6249f0, may_block=1) at gmain.c:2518
#42 0x00007f551c80f12f in QEventDispatcherGlib::processEvents (this=0x608aa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#43 0x00007f551bb2dd6f in QGuiEventDispatcherGlib::processEvents (this=0x7f551bc35b50, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#44 0x00007f551c7e5ed2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 754128384}) at kernel/qeventloop.cpp:149
#45 0x00007f551c7e606c in QEventLoop::exec (this=0x7fff2cf31640, flags={i = 754128464}) at kernel/qeventloop.cpp:197
#46 0x00007f551c7eaa96 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:907
#47 0x00007f551e596865 in kdemain (argc=3, argv=0x7fff2cf31be8) at /usr/src/debug/kde-base/kwin-scm/kwin/kwin/main.cpp:527
#48 0x00007f5518c88a26 in __libc_start_main (main=0x400a10 <main>, argc=3, ubp_av=0x7fff2cf31be8, init=0x400a40 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff2cf31bd8) at libc-start.c:220
#49 0x0000000000400949 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-09 23:44:07 UTC
As bug 198163 and bug 176014 (from Konqueror and Plasma), this is supposed to be a bug in the Qt raster paintengine.
Comment 2 Marcel Partap 2009-08-10 00:05:25 UTC
Hmm well i hate it *g
seeing at least one of the other bugs' reporter uses QT4.5.1, downgrading wouldn't be of much help huh.. i reckon the trolls are aware of the issue and on it?
Comment 3 Dario Andres 2009-08-11 20:04:16 UTC
Do you know if your Qt is compiled to use the raster paint engines as the default graphics system ?
Thanks
Comment 4 Christoph Feck 2009-08-11 20:16:22 UTC
I analysed the multiple backtraces about those Qt "blend" bugs.

1. Qt uses the raster paintengine as a fallback, even if the user does not have configured it as the default paintengine or used the command line argument to select it.

2. The floating point exception and the 0 address seg fault is due to a bug in Qt missing a check about invalid images. I hope to get the fix into Qt before 4.5.3 is hitting RTM :)
Comment 5 Dario Andres 2009-08-11 20:41:28 UTC
I merged all the similar reports into bug 176014 and added the description of comment 4.
Merging this report too. Thanks

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