Bug 259415

Summary: Compiz decorator crash [qBadAlloc, QX11PixmapData::fromImage, QPixmap::fromImage] (Plasma FrameSvg, AuroraeScene)
Product: [I don't know] kde Reporter: Daniel Lipowicz <daniel.lipowicz>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: andresbajotierra, kwin-bugs-null
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Lipowicz 2010-12-10 09:53:19 UTC
Application: kde4-window-decorator (0.0.1)
KDE Platform Version: 4.5.85 (4.6 Beta2)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-8-generic i686
Distribution: Ubuntu natty (development branch)

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

- Unusual behavior I noticed:

- Custom settings of the application:
Crashed when seting..................................................................

-- Backtrace:
Application: KDE Window Decorator (kde4-window-decorator), signal: Aborted
[Current thread is 1 (Thread 0xb782b9f0 (LWP 1661))]

Thread 2 (Thread 0xaf4acb70 (LWP 1667)):
#0  0x001e4e36 in clock_gettime (clock_id=2002932, tp=0xaf4abff0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0141a6f8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x014e6a12 in updateCurrentTime (this=0x8c15374, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x8c15374, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x014e5262 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaf4ac0cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x014e52fd in timerSourcePrepare (source=0x8c15340, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0326e044 in g_main_context_prepare (context=<value optimized out>, priority=0xaf4ac13c) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:2757
#8  0x0326eed3 in g_main_context_iterate (context=0x8bf3330, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3067
#9  0x0326f594 in g_main_context_iteration (context=0x8bf3330, may_block=1) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3150
#10 0x014e5aa7 in QEventDispatcherGlib::processEvents (this=0x8beb010, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x014b77d9 in QEventLoop::processEvents (this=0xaf4ac280, flags=...) at kernel/qeventloop.cpp:149
#12 0x014b7a72 in QEventLoop::exec (this=0xaf4ac280, flags=...) at kernel/qeventloop.cpp:201
#13 0x013c1be8 in QThread::exec (this=0x89253f8) at thread/qthread.cpp:490
#14 0x0149971b in QInotifyFileSystemWatcherEngine::run (this=0x89253f8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x013c4669 in QThreadPrivate::start (arg=0x89253f8) at thread/qthread_unix.cpp:285
#16 0x00314cc9 in start_thread (arg=0xaf4acb70) at pthread_create.c:304
#17 0x00d5c6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb782b9f0 (LWP 1661)):
[KCrash Handler]
#7  0x00fbd416 in __kernel_vsyscall ()
#8  0x00cb6941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x00cb9e42 in abort () at abort.c:92
#10 0x0041c065 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#11 0x00419f45 in ?? () from /usr/lib/libstdc++.so.6
#12 0x00419f82 in std::terminate() () from /usr/lib/libstdc++.so.6
#13 0x0041a0f1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#14 0x013bae85 in qBadAlloc () at global/qglobal.cpp:2019
#15 0x05c2a239 in QX11PixmapData::fromImage (this=0x8d3e5e0, img=..., flags=...) at image/qpixmap_x11.cpp:531
#16 0x05c127b9 in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:2033
#17 0x05c71056 in QPaintEngine::drawImage (this=0x8d70e90, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:623
#18 0x05d434ac in QX11PaintEngine::drawImage (this=0x8d70e90, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1903
#19 0x05c877a2 in QPainterPrivate::draw_helper (this=0x8c98730, originalPath=..., op=QPainterPrivate::StrokeAndFillDraw) at painting/qpainter.cpp:497
#20 0x05c898a9 in QPainter::drawPath (this=0xbf90e5c8, path=...) at painting/qpainter.cpp:3383
#21 0x002717c1 in QSvgPath::draw (this=0x8951e58, p=0xbf90e5c8, states=...) at qsvggraphics.cpp:173
#22 0x00292315 in QSvgG::draw (this=0x89517a8, p=0xbf90e5c8, states=...) at qsvgstructure.cpp:75
#23 0x002996c4 in QSvgTinyDocument::draw (this=0x8936938, p=0xbf90e5c8, id=..., bounds=...) at qsvgtinydocument.cpp:308
#24 0x0029a6ec in QSvgRenderer::render (this=0x892d410, painter=0xbf90e5c8, elementId=..., bounds=...) at qsvgrenderer.cpp:400
#25 0x0064a8c8 in Plasma::SvgPrivate::findInCache (this=0x891a368, elementId=..., s=...) at ../../plasma/svg.cpp:358
#26 0x0064b009 in Plasma::Svg::paint (this=0x8917db0, painter=0xbf90ec7c, rect=..., elementID=...) at ../../plasma/svg.cpp:671
#27 0x005e23fc in Plasma::FrameSvgPrivate::generateFrameBackground (this=0x8903928, frame=0x89232e8) at ../../plasma/framesvg.cpp:800
#28 0x005e3b3f in Plasma::FrameSvgPrivate::generateBackground (this=0x8903928, frame=0x89232e8) at ../../plasma/framesvg.cpp:679
#29 0x005e477a in Plasma::FrameSvg::paintFrame (this=0x8917db0, painter=0xbf90f6d4, target=..., source=...) at ../../plasma/framesvg.cpp:516
#30 0x07039710 in Aurorae::AuroraeScene::drawBackground (this=0x8d39530, painter=0xbf90f6d4, rect=...) at ../../../../../kwin/clients/aurorae/src/lib/auroraescene.cpp:285
#31 0x061b2200 in QGraphicsView::drawBackground (this=0x8d6f598, painter=0xbf90f6d4, rect=...) at graphicsview/qgraphicsview.cpp:3676
#32 0x061be12a in QGraphicsView::paintEvent (this=0x8d6f598, event=0xbf90fdc4) at graphicsview/qgraphicsview.cpp:3456
#33 0x05b838ae in QWidget::event (this=0x8d6f598, event=0xbf90fdc4) at kernel/qwidget.cpp:8346
#34 0x05f73fb3 in QFrame::event (this=0x8d6f598, e=0xbf90fdc4) at widgets/qframe.cpp:557
#35 0x06002062 in QAbstractScrollArea::viewportEvent (this=0x8d6f598, e=0xbf90fdc4) at widgets/qabstractscrollarea.cpp:1043
#36 0x061bf64f in QGraphicsView::viewportEvent (this=0x8d6f598, event=0xbf90fdc4) at graphicsview/qgraphicsview.cpp:2864
#37 0x06004955 in viewportEvent (this=0x8d0eee0, o=0x8d69d90, e=0xbf90fdc4) at widgets/qabstractscrollarea_p.h:100
#38 QAbstractScrollAreaFilter::eventFilter (this=0x8d0eee0, o=0x8d69d90, e=0xbf90fdc4) at widgets/qabstractscrollarea_p.h:116
#39 0x014b87aa in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8837f00, receiver=0x8d69d90, event=0xbf90fdc4) at kernel/qcoreapplication.cpp:847
#40 0x05b2b7f0 in QApplicationPrivate::notify_helper (this=0x8837f00, receiver=0x8d69d90, e=0xbf90fdc4) at kernel/qapplication.cpp:4441
#41 0x05b303cb in QApplication::notify (this=0x882fa58, receiver=0x8d69d90, e=0xbf90fdc4) at kernel/qapplication.cpp:4410
#42 0x0119c90a in KApplication::notify (this=0x882fa58, receiver=0x8d69d90, event=0xbf90fdc4) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x014b860b in QCoreApplication::notifyInternal (this=0x882fa58, receiver=0x8d69d90, event=0xbf90fdc4) at kernel/qcoreapplication.cpp:732
#44 0x05b8062c in sendSpontaneousEvent (this=0x8d69f48, pdev=0xbf91080c, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#45 QWidgetPrivate::drawWidget (this=0x8d69f48, pdev=0xbf91080c, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5433
#46 0x05b8129c in QWidgetPrivate::paintSiblingsRecursive (this=0x8d0e610, pdev=0xbf91080c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5640
#47 0x05b803a0 in QWidgetPrivate::drawWidget (this=0x8d0e610, pdev=0xbf91080c, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5486
#48 0x05b8129c in QWidgetPrivate::paintSiblingsRecursive (this=0x8d0e3f0, pdev=0xbf91080c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5640
#49 0x05b803a0 in QWidgetPrivate::drawWidget (this=0x8d0e3f0, pdev=0xbf91080c, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5486
#50 0x05b81982 in QWidgetPrivate::render (this=0x8d0e3f0, target=0xbf91080c, targetOffset=..., sourceRegion=..., renderFlags=..., readyToRender=false) at kernel/qwidget.cpp:5569
#51 0x05b81b3c in QWidget::render (this=0x8ce9170, target=0xbf91080c, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:5032
#52 0x0805e492 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-10 13:27:49 UTC
*** Bug 259428 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Lübking 2010-12-10 17:58:27 UTC
kde4-window-decorator is part of compiz.
http://wiki.compiz.org/HowtoSubmitBugReports

Since the issue occurs on a bad malloc, we've mem corruption and while this may be related to a bump in the unstable KDecoration inheritor, the bug can actually be "somewhere" -> compiz bug (anyway)
Comment 3 Christoph Feck 2010-12-11 12:35:07 UTC
*** Bug 259505 has been marked as a duplicate of this bug. ***
Comment 4 Pino Toscano 2010-12-11 15:28:55 UTC
*** Bug 259526 has been marked as a duplicate of this bug. ***