Bug 230490 - Qt apps crash during resize and other situations (X11 pixmap data not being checked) [QX11PaintEngine::drawPixmap, QPaintEngine::drawImage, QX11PaintEngine::drawImage, QPainterPrivate::draw_helper]
Summary: Qt apps crash during resize and other situations (X11 pixmap data not being c...
Status: RESOLVED UPSTREAM
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: qt (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 216280 227536 228811 229814 232800 234076 234568 236240 237923 238201 240571 242393 245633 246359 246443 247370 248300 249276 249859 250021 253717 269709 272356 277505 280787 284882 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-12 20:08 UTC by Jesse Milette
Modified: 2017-09-10 20:32 UTC (History)
33 users (show)

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


Attachments
New crash information added by DrKonqi (10.30 KB, text/plain)
2010-04-21 20:26 UTC, Daniil
Details
New crash information added by DrKonqi (10.30 KB, text/plain)
2010-04-21 20:31 UTC, Daniil
Details
New crash information added by DrKonqi (10.30 KB, text/plain)
2010-04-21 20:31 UTC, Daniil
Details
New crash information added by DrKonqi (11.17 KB, text/plain)
2010-04-21 21:33 UTC, Daniil
Details
New crash information added by DrKonqi (10.96 KB, text/plain)
2010-05-04 02:20 UTC, Kaleb Pederson
Details
New crash information added by DrKonqi (10.16 KB, text/plain)
2010-06-29 23:44 UTC, fake name
Details
New crash information added by DrKonqi (21.25 KB, text/plain)
2010-07-13 03:37 UTC, Kenny Kruger
Details
New crash information added by DrKonqi (12.34 KB, text/plain)
2010-08-11 09:57 UTC, Radek Novacek
Details
proposed patch (581 bytes, patch)
2010-08-11 14:59 UTC, Christoph Feck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Milette 2010-03-12 20:08:00 UTC
Application: okular (0.10.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-20-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
I have noticed that qt apps will crash if i try resizing them to much.  This is what happened to this app.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x02532267 in QX11PaintEngine::drawPixmap (this=0x868ffa0, r=..., px=..., _sr=...) at painting/qpaintengine_x11.cpp:1919
#7  0x0246bc75 in QPaintEngine::drawImage (this=0x868ffa0, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:624
#8  0x02530979 in QX11PaintEngine::drawImage (this=0x868ffa0, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#9  0x02483208 in QPainterPrivate::draw_helper (this=0x8854cb8, originalPath=..., op=<value optimized out>) at painting/qpainter.cpp:484
#10 0x02488bc9 in QPainter::drawPath (this=0xbfe1667c, path=...) at painting/qpainter.cpp:3356
#11 0x0248ad3c in QPainter::drawRoundedRect (this=0xbfe1667c, rect=..., xRadius=2, yRadius=2, mode=Qt::AbsoluteSize) at painting/qpainter.cpp:4136
#12 0x0169ac35 in OxygenStyle::renderScrollBarHandle (this=0x82831d8, p=0xbfe1667c, r=..., pal=..., orientation=Qt::Vertical, hover=false, opacity=-1) at ../../../kstyles/oxygen/oxygen.cpp:4326
#13 0x0169bc81 in OxygenStyle::renderScrollBarHandle (this=0x82831d8, primitive=8, opt=0xbfe15c04, r=..., pal=..., flags=..., p=0xbfe1667c, widget=0x8367670, kOpt=0x0)
    at ../../../kstyles/oxygen/oxygen.h:293
#14 OxygenStyle::drawScrollBarPrimitive (this=0x82831d8, primitive=8, opt=0xbfe15c04, r=..., pal=..., flags=..., p=0xbfe1667c, widget=0x8367670, kOpt=0x0) at ../../../kstyles/oxygen/oxygen.cpp:1582
#15 0x0168b862 in OxygenStyle::drawKStylePrimitive (this=0x82831d8, widgetType=KStyle::WT_ScrollBar, primitive=8, opt=0xbfe15c04, r=..., palette=..., flags=..., p=0xbfe1667c, widget=0x8367670, 
    kOpt=0x0) at ../../../kstyles/oxygen/oxygen.cpp:753
#16 0x007cebe6 in KStyle::drawControl (this=0x82831d8, element=QStyle::CE_ScrollBarSlider, option=0xbfe15c04, p=0xbfe1667c, widget=0x8367670) at ../../kdeui/kernel/kstyle.cpp:2266
#17 0x016911b5 in OxygenStyle::drawControl (this=0x82831d8, element=QStyle::CE_PushButton, option=0xbfe15c04, p=0xbfe1667c, widget=0x2c4dff4) at ../../../kstyles/oxygen/oxygen.cpp:632
#18 0x02664ccc in QCommonStyle::drawComplexControl (this=0x82831d8, cc=QStyle::CC_ScrollBar, opt=0xbfe16614, p=0xbfe1667c, widget=0x8367670) at styles/qcommonstyle.cpp:3236
#19 0x007cac0c in KStyle::drawComplexControl (this=0x82831d8, cc=QStyle::CC_ScrollBar, opt=0xbfe16614, p=0xbfe1667c, w=0x8367670) at ../../kdeui/kernel/kstyle.cpp:3591
#20 0x0168c278 in OxygenStyle::drawComplexControl (this=0x82831d8, control=QStyle::CC_ScrollBar, option=0xbfe16614, painter=0xbfe1667c, widget=0x8367670) at ../../../kstyles/oxygen/oxygen.cpp:299
#21 0x027c5708 in QScrollBar::paintEvent (this=0x8367670) at widgets/qscrollbar.cpp:547
#22 0x0236c5d6 in QWidget::event (this=0x8367670, event=0xbfe16c64) at kernel/qwidget.cpp:8144
#23 0x0271b624 in QAbstractSlider::event (this=0x8367670, e=0xbfe16c64) at widgets/qabstractslider.cpp:956
#24 0x027c614a in QScrollBar::event (this=0x8367670, event=0xbfe16c64) at widgets/qscrollbar.cpp:527
#25 0x0230e3cc in QApplicationPrivate::notify_helper (this=0x8257a48, receiver=0x8367670, e=0xbfe16c64) at kernel/qapplication.cpp:4300
#26 0x023150b9 in QApplication::notify (this=0xbfe195f0, receiver=0x8367670, e=0xbfe16c64) at kernel/qapplication.cpp:4265
#27 0x007bb42a in KApplication::notify (this=0xbfe195f0, receiver=0x8367670, event=0xbfe16c64) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x04a72beb in QCoreApplication::notifyInternal (this=0xbfe195f0, receiver=0x8367670, event=0xbfe16c64) at kernel/qcoreapplication.cpp:704
#29 0x023758e6 in QCoreApplication::sendSpontaneousEvent (this=0x83af6e8, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 QWidgetPrivate::drawWidget (this=0x83af6e8, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8) at kernel/qwidget.cpp:5339
#31 0x02376725 in QWidgetPrivate::paintSiblingsRecursive (this=0x836cbb0, pdev=0x854f9d4, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5452
#32 0x02375635 in QWidgetPrivate::drawWidget (this=0x836cbb0, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8) at kernel/qwidget.cpp:5388
#33 0x02376725 in QWidgetPrivate::paintSiblingsRecursive (this=0x83af168, pdev=0x854f9d4, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5452
#34 0x02375635 in QWidgetPrivate::drawWidget (this=0x83af168, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8) at kernel/qwidget.cpp:5388
#35 0x02376725 in QWidgetPrivate::paintSiblingsRecursive (this=0x83ae310, pdev=0x854f9d4, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5452
#36 0x02375635 in QWidgetPrivate::drawWidget (this=0x83ae310, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8) at kernel/qwidget.cpp:5388
#37 0x02376725 in QWidgetPrivate::paintSiblingsRecursive (this=0x83564f0, pdev=0x854f9d4, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5452
#38 0x02375635 in QWidgetPrivate::drawWidget (this=0x83564f0, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8) at kernel/qwidget.cpp:5388
#39 0x02376725 in QWidgetPrivate::paintSiblingsRecursive (this=0x8355d58, pdev=0x854f9d4, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5452
#40 0x02375635 in QWidgetPrivate::drawWidget (this=0x8355d58, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8) at kernel/qwidget.cpp:5388
#41 0x02376725 in QWidgetPrivate::paintSiblingsRecursive (this=0x8355ba8, pdev=0x854f9d4, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5452
#42 0x0237655e in QWidgetPrivate::paintSiblingsRecursive (this=0x8355ba8, pdev=0x854f9d4, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5439
#43 0x02375635 in QWidgetPrivate::drawWidget (this=0x8355ba8, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8) at kernel/qwidget.cpp:5388
#44 0x02376725 in QWidgetPrivate::paintSiblingsRecursive (this=0x834cd30, pdev=0x854f9d4, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5452
#45 0x02375635 in QWidgetPrivate::drawWidget (this=0x834cd30, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8) at kernel/qwidget.cpp:5388
#46 0x02376725 in QWidgetPrivate::paintSiblingsRecursive (this=0x82cc7c8, pdev=0x854f9d4, siblings=..., index=9, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5452
#47 0x0237655e in QWidgetPrivate::paintSiblingsRecursive (this=0x82cc7c8, pdev=0x854f9d4, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5439
#48 0x0237655e in QWidgetPrivate::paintSiblingsRecursive (this=0x82cc7c8, pdev=0x854f9d4, siblings=..., index=22, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x85514e8)
    at kernel/qwidget.cpp:5439
#49 0x02375635 in QWidgetPrivate::drawWidget (this=0x82cc7c8, pdev=0x854f9d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x85514e8) at kernel/qwidget.cpp:5388
#50 0x0254bf00 in QWidgetBackingStore::sync (this=0x85514e8) at painting/qbackingstore.cpp:1291
#51 0x02365a93 in QWidgetPrivate::syncBackingStore (this=0x82cc7c8) at kernel/qwidget.cpp:1672
#52 0x0239338e in QETWidget::translateConfigEvent (this=0x82cdfd8, event=0xbfe191fc) at kernel/qapplication_x11.cpp:5252
#53 0x0239e9f6 in QApplication::x11ProcessEvent (this=0xbfe195f0, event=0xbfe191fc) at kernel/qapplication_x11.cpp:3406
#54 0x023ce00a in x11EventSourceDispatch (s=0x825ac68, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x07647e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0x0764b730 in ?? () from /lib/libglib-2.0.so.0
#57 0x0764b863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#58 0x04a9e805 in QEventDispatcherGlib::processEvents (this=0x82431f0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#59 0x023cdb35 in QGuiEventDispatcherGlib::processEvents (this=0x82431f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x04a71209 in QEventLoop::processEvents (this=0xbfe194f4, flags=) at kernel/qeventloop.cpp:149
#61 0x04a7165a in QEventLoop::exec (this=0xbfe194f4, flags=...) at kernel/qeventloop.cpp:201
#62 0x04a7584f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#63 0x0230e467 in QApplication::exec () at kernel/qapplication.cpp:3579
#64 0x0804ef09 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-03-12 20:34:33 UTC
- Does it happen if using another widget style ? (like Plastique or Cleanlooks) Regards
Comment 2 Christoph Feck 2010-03-13 05:41:39 UTC
Looks like Qt does not check the result of qt_toX11Pixmap (qpaintengine_x11.cpp:1908), it simply accesses X11 pixmap data later.
Comment 3 Dario Andres 2010-04-05 02:08:34 UTC
@Christoph: could this be reported to Qt ?
Comment 4 Dario Andres 2010-04-05 02:10:16 UTC
Bug 232800 and bug 233293 seem related to this too.
Comment 5 Dario Andres 2010-04-05 03:00:59 UTC
*** Bug 228811 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-04-05 03:01:16 UTC
From bug 229814:
-- Information about the crash:
I opened the systemsettings window, and tried the move to the sides to get the
window maximized to the whole, or just a part of the screen. First I tried to
the left side, which worked, next I tried to the top, when it crashed.

From bug 228811:
-- Information about the crash:
I got this crash when I copied (ctrl-c) a large email (6.2 MB) in KMail to the
clipboard and then opened the Klipper menu in the system tray.
It doesn't seem related to KMail though, if I open a large text file in emacs,
copy the text and then open the Klipper menu the same crash happens.
The crash can be reproduced every time.
Comment 7 Dario Andres 2010-04-05 03:01:29 UTC
*** Bug 229814 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-04-05 03:01:48 UTC
*** Bug 216280 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2010-04-05 03:02:29 UTC
*** Bug 227536 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-04-16 23:28:26 UTC
Bug 234568 mentions some errors in the shell output (QPainter related)
Comment 11 Dario Andres 2010-04-16 23:28:32 UTC
*** Bug 234568 has been marked as a duplicate of this bug. ***
Comment 12 Jesse Milette 2010-04-20 16:38:21 UTC
i got systemsettings to crash with the plastique style:

backtrace:

Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#6  0x011fb987 in QX11PaintEngine::drawPixmap (this=0x93cfde8, r=..., px=..., _sr=...) at painting/qpaintengine_x11.cpp:1919
#7  0x01134105 in QPaintEngine::drawImage (this=0x93cfde8, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:624
#8  0x011f9b19 in QX11PaintEngine::drawImage (this=0x93cfde8, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#9  0x0114b688 in QPainterPrivate::draw_helper (this=0x942c580, originalPath=..., op=<value optimized out>) at painting/qpainter.cpp:484
#10 0x01150fe9 in QPainter::drawPath (this=0xbfee611c, path=...) at painting/qpainter.cpp:3356
#11 0x0115329c in QPainter::fillPath (this=0xbfee611c, path=..., brush=...) at painting/qpainter.cpp:3309
#12 0x086bde23 in CategoryDrawer::drawCategory (this=0x934e378, index=..., sortRole=61393920, option=..., painter=0xbfee611c) at ../../../systemsettings/icons/CategoryDrawer.cpp:75
#13 0x00cac05d in KCategorizedView::paintEvent (this=0x912e8c8, event=0xbfee6954) at ../../kdeui/itemviews/kcategorizedview.cpp:815
#14 0x010346b6 in QWidget::event (this=0x912e8c8, event=0xbfee6954) at kernel/qwidget.cpp:8144
#15 0x01430fd3 in QFrame::event (this=0x912e8c8, e=0xbfee6954) at widgets/qframe.cpp:557
#16 0x014cb382 in QAbstractScrollArea::viewportEvent (this=0x1916ff4, e=0x0) at widgets/qabstractscrollarea.cpp:1036
#17 0x0157fbd7 in QAbstractItemView::viewportEvent (this=0x912e8c8, event=0xbfee6954) at itemviews/qabstractitemview.cpp:1610
#18 0x014cdc65 in QAbstractScrollAreaPrivate::viewportEvent (this=0x93b6be8, o=0x9129630, e=0xbfee6954) at widgets/qabstractscrollarea_p.h:100
#19 QAbstractScrollAreaFilter::eventFilter (this=0x93b6be8, o=0x9129630, e=0xbfee6954) at widgets/qabstractscrollarea_p.h:116
#20 0x00923cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9135c90, receiver=0x9129630, event=0xbfee6954) at kernel/qcoreapplication.cpp:819
#21 0x00fd64b9 in QApplicationPrivate::notify_helper (this=0x9135c90, receiver=0x9129630, e=0xbfee6954) at kernel/qapplication.cpp:4296
#22 0x00fdd0f9 in QApplication::notify (this=0xbfee8b5c, receiver=0x9129630, e=0xbfee6954) at kernel/qapplication.cpp:4265
#23 0x00cc9f2a in KApplication::notify (this=0xbfee8b5c, receiver=0x9129630, event=0xbfee6954) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00924a3b in QCoreApplication::notifyInternal (this=0xbfee8b5c, receiver=0x9129630, event=0xbfee6954) at kernel/qcoreapplication.cpp:704
#25 0x0103d9d6 in QCoreApplication::sendSpontaneousEvent (this=0x912e9b0, pdev=0x9185e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x91de488)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 QWidgetPrivate::drawWidget (this=0x912e9b0, pdev=0x9185e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x91de488) at kernel/qwidget.cpp:5339
#27 0x0103e815 in QWidgetPrivate::paintSiblingsRecursive (this=0x93b5c90, pdev=0x9185e54, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91de488)
    at kernel/qwidget.cpp:5452
#28 0x0103d725 in QWidgetPrivate::drawWidget (this=0x93b5c90, pdev=0x9185e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x91de488) at kernel/qwidget.cpp:5388
#29 0x0103e815 in QWidgetPrivate::paintSiblingsRecursive (this=0x912fd68, pdev=0x9185e54, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91de488)
    at kernel/qwidget.cpp:5452
#30 0x0103d725 in QWidgetPrivate::drawWidget (this=0x912fd68, pdev=0x9185e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x91de488) at kernel/qwidget.cpp:5388
#31 0x0103e815 in QWidgetPrivate::paintSiblingsRecursive (this=0x912fbe8, pdev=0x9185e54, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91de488)
    at kernel/qwidget.cpp:5452
#32 0x0103e64e in QWidgetPrivate::paintSiblingsRecursive (this=0x912fbe8, pdev=0x9185e54, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91de488)
    at kernel/qwidget.cpp:5439
#33 0x0103d725 in QWidgetPrivate::drawWidget (this=0x912fbe8, pdev=0x9185e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x91de488) at kernel/qwidget.cpp:5388
#34 0x0103e815 in QWidgetPrivate::paintSiblingsRecursive (this=0x9397338, pdev=0x9185e54, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91de488)
    at kernel/qwidget.cpp:5452
#35 0x0103d725 in QWidgetPrivate::drawWidget (this=0x9397338, pdev=0x9185e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x91de488) at kernel/qwidget.cpp:5388
#36 0x0103e815 in QWidgetPrivate::paintSiblingsRecursive (this=0x9178a08, pdev=0x9185e54, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91de488)
    at kernel/qwidget.cpp:5452
#37 0x0103d725 in QWidgetPrivate::drawWidget (this=0x9178a08, pdev=0x9185e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x91de488) at kernel/qwidget.cpp:5388
#38 0x0103e815 in QWidgetPrivate::paintSiblingsRecursive (this=0x9192878, pdev=0x9185e54, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91de488)
    at kernel/qwidget.cpp:5452
#39 0x0103e64e in QWidgetPrivate::paintSiblingsRecursive (this=0x9192878, pdev=0x9185e54, siblings=..., index=18, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91de488)
    at kernel/qwidget.cpp:5439
#40 0x0103d725 in QWidgetPrivate::drawWidget (this=0x9192878, pdev=0x9185e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x91de488) at kernel/qwidget.cpp:5388
#41 0x01214890 in QWidgetBackingStore::sync (this=0x91de488) at painting/qbackingstore.cpp:1291
#42 0x0102db93 in QWidgetPrivate::syncBackingStore (this=0x9192878) at kernel/qwidget.cpp:1672
#43 0x0105b78e in QETWidget::translateConfigEvent (this=0x91786c8, event=0xbfee87bc) at kernel/qapplication_x11.cpp:5252
#44 0x01066cd6 in QApplication::x11ProcessEvent (this=0xbfee8b5c, event=0xbfee87bc) at kernel/qapplication_x11.cpp:3406
#45 0x0109660a in x11EventSourceDispatch (s=0x9138fa8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x040995e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x0409d2d8 in ?? () from /lib/libglib-2.0.so.0
#48 0x0409d4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x009505d5 in QEventDispatcherGlib::processEvents (this=0x91104a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#50 0x01096135 in QGuiEventDispatcherGlib::processEvents (this=0x91104a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00923059 in QEventLoop::processEvents (this=0xbfee8ab4, flags=) at kernel/qeventloop.cpp:149
#52 0x009234aa in QEventLoop::exec (this=0xbfee8ab4, flags=...) at kernel/qeventloop.cpp:201
#53 0x0092769f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#54 0x00fd6577 in QApplication::exec () at kernel/qapplication.cpp:3579
#55 0x08056b5e in main (argc=5, argv=0xbfee8ca4) at ../../../systemsettings/app/main.cpp:49
Comment 13 Daniil 2010-04-21 20:26:04 UTC
Created attachment 42947 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.4.72 (KDE 4.4.72 (KDE 4.5 >= 20100415)) "release 4" using Qt 4.6.3

- What I was doing when the application crashed:

First crash was when trying to add sticky notes to the desktop. Then repeated periodically. Also repeated crash when restarted. Last crash was right before I've marked the dublicate.

-- Backtrace (Reduced):
#7  0xb651c086 in QX11PaintEngine::drawPixmap (this=0x9c96698, r=@0xbfd16990, px=@0xbfd166d8, _sr=@0xbfd166a8) at painting/qpaintengine_x11.cpp:1919
#8  0xb6451669 in QPaintEngine::drawImage (this=0x9c96698, r=@0xbfd16990, image=@0xbfd16b34, sr=@0xbfd169b0, flags={i = -1076795460}) at painting/qpaintengine.cpp:624
#9  0xb651a1c4 in QX11PaintEngine::drawImage (this=0x9c96698, r=@0xbfd16990, image=@0xbfd16b34, sr=@0xbfd169b0, flags={i = -1076794560}) at painting/qpaintengine_x11.cpp:1893
#10 0xb6469636 in QPainterPrivate::draw_helper (this=0x9cdeb70, originalPath=@0xbfd16c24, op=<value optimized out>) at painting/qpainter.cpp:484
#11 0xb646bc13 in QPainter::drawRects (this=0xbfd16fe0, rects=0xbfd16f08, rectCount=1) at painting/qpainter.cpp:3571
Comment 14 Daniil 2010-04-21 20:31:04 UTC
Created attachment 42952 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.4.72 (KDE 4.4.72 (KDE 4.5 >= 20100415)) "release 4" using Qt 4.6.3

- What I was doing when the application crashed:

First crash was when trying to add sticky notes to the desktop. Then repeated periodically. Also repeated crash when restarted. Last crash was right before I've marked the dublicate.

-- Backtrace (Reduced):
#7  0xb651c086 in QX11PaintEngine::drawPixmap (this=0x9c96698, r=@0xbfd16990, px=@0xbfd166d8, _sr=@0xbfd166a8) at painting/qpaintengine_x11.cpp:1919
#8  0xb6451669 in QPaintEngine::drawImage (this=0x9c96698, r=@0xbfd16990, image=@0xbfd16b34, sr=@0xbfd169b0, flags={i = -1076795460}) at painting/qpaintengine.cpp:624
#9  0xb651a1c4 in QX11PaintEngine::drawImage (this=0x9c96698, r=@0xbfd16990, image=@0xbfd16b34, sr=@0xbfd169b0, flags={i = -1076794560}) at painting/qpaintengine_x11.cpp:1893
#10 0xb6469636 in QPainterPrivate::draw_helper (this=0x9cdeb70, originalPath=@0xbfd16c24, op=<value optimized out>) at painting/qpainter.cpp:484
#11 0xb646bc13 in QPainter::drawRects (this=0xbfd16fe0, rects=0xbfd16f08, rectCount=1) at painting/qpainter.cpp:3571
Comment 15 Daniil 2010-04-21 20:31:05 UTC
Created attachment 42953 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.4.72 (KDE 4.4.72 (KDE 4.5 >= 20100415)) "release 4" using Qt 4.6.3

- What I was doing when the application crashed:

First crash was when trying to add sticky notes to the desktop. Then repeated periodically. Also repeated crash when restarted. Last crash was right before I've marked the dublicate.

-- Backtrace (Reduced):
#7  0xb651c086 in QX11PaintEngine::drawPixmap (this=0x9c96698, r=@0xbfd16990, px=@0xbfd166d8, _sr=@0xbfd166a8) at painting/qpaintengine_x11.cpp:1919
#8  0xb6451669 in QPaintEngine::drawImage (this=0x9c96698, r=@0xbfd16990, image=@0xbfd16b34, sr=@0xbfd169b0, flags={i = -1076795460}) at painting/qpaintengine.cpp:624
#9  0xb651a1c4 in QX11PaintEngine::drawImage (this=0x9c96698, r=@0xbfd16990, image=@0xbfd16b34, sr=@0xbfd169b0, flags={i = -1076794560}) at painting/qpaintengine_x11.cpp:1893
#10 0xb6469636 in QPainterPrivate::draw_helper (this=0x9cdeb70, originalPath=@0xbfd16c24, op=<value optimized out>) at painting/qpainter.cpp:484
#11 0xb646bc13 in QPainter::drawRects (this=0xbfd16fe0, rects=0xbfd16f08, rectCount=1) at painting/qpainter.cpp:3571
Comment 16 Daniil 2010-04-21 21:33:32 UTC
Created attachment 42954 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.4.72 (KDE 4.4.72 (KDE 4.5 >= 20100415)) "release 4" using Qt 4.6.3

- What I was doing when the application crashed:

I've tryed again. 
Also I've got report from terminal:
--------------------------------
plasma-desktop(9140)/libplasma Plasma::FrameSvgPrivate::generateFrameBackground: Not generating frame background for a size whose width or height is more than 100000 QSizeF(57, 1.34213e+07) 
plasma-desktop(9140)/libplasma Plasma::FrameSvgPrivate::generateFrameBackground: Not generating frame background for a size whose width or height is more than 100000 QSizeF(57, 1.34213e+07) 
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
Couldn't find node mask-overlay. Skipping rendering.
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setOpacity: Painter not active
QPainter::translate: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setBackground: Painter not active
QPainter::setBackgroundMode: Painter not active
QPainter::setBrushOrigin: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::drawPath: Painter not active
QPainter::end: Painter not active, aborted
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Application 'plasma-desktop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
--------------------------------------

-- Backtrace (Reduced):
#7  0xb5989086 in QX11PaintEngine::drawPixmap (this=0x9d69a88, r=@0xbfc5d990, px=@0xbfc5d6d8, _sr=@0xbfc5d6a8) at painting/qpaintengine_x11.cpp:1919
#8  0xb58be669 in QPaintEngine::drawImage (this=0x9d69a88, r=@0xbfc5d990, image=@0xbfc5db34, sr=@0xbfc5d9b0, flags={i = -1077553220}) at painting/qpaintengine.cpp:624
#9  0xb59871c4 in QX11PaintEngine::drawImage (this=0x9d69a88, r=@0xbfc5d990, image=@0xbfc5db34, sr=@0xbfc5d9b0, flags={i = -1077552320}) at painting/qpaintengine_x11.cpp:1893
#10 0xb58d6636 in QPainterPrivate::draw_helper (this=0x9a5d5c8, originalPath=@0xbfc5dc24, op=<value optimized out>) at painting/qpainter.cpp:484
#11 0xb58d8c13 in QPainter::drawRects (this=0xbfc5dfe0, rects=0xbfc5df08, rectCount=1) at painting/qpainter.cpp:3571
Comment 17 Kaleb Pederson 2010-05-04 02:20:39 UTC
Created attachment 43207 [details]
New crash information added by DrKonqi

I had the same thing but rather than resizing the application (konsole) directly I had dragged it up to the top of the screen so kwin would resize to the entire screen.
Comment 18 Beat Wolf 2010-05-17 11:54:03 UTC
*** Bug 237923 has been marked as a duplicate of this bug. ***
Comment 19 Beat Wolf 2010-05-19 19:26:18 UTC
*** Bug 238201 has been marked as a duplicate of this bug. ***
Comment 20 Tommi Tervo 2010-06-03 14:56:21 UTC
*** Bug 240571 has been marked as a duplicate of this bug. ***
Comment 21 Tommi Tervo 2010-06-03 14:56:53 UTC
*** Bug 234076 has been marked as a duplicate of this bug. ***
Comment 22 fake name 2010-06-29 23:44:34 UTC
Created attachment 48473 [details]
New crash information added by DrKonqi

Okular has crashed while resizing the window using custom shortcuts Windows 7-like.
Comment 23 Kenny Kruger 2010-07-13 03:37:10 UTC
Created attachment 49087 [details]
New crash information added by DrKonqi

I have a few compositing effects enabled. I used the right-half pane window option while dragging when it crashed.
Comment 24 Jonathan Thomas 2010-07-25 02:26:56 UTC
*** Bug 245633 has been marked as a duplicate of this bug. ***
Comment 25 Pino Toscano 2010-08-08 17:12:46 UTC
*** Bug 246443 has been marked as a duplicate of this bug. ***
Comment 26 Christoph Feck 2010-08-09 00:03:14 UTC
*** Bug 232800 has been marked as a duplicate of this bug. ***
Comment 27 Christoph Feck 2010-08-09 20:39:15 UTC
*** Bug 246359 has been marked as a duplicate of this bug. ***
Comment 28 Christoph Feck 2010-08-09 20:43:29 UTC
*** Bug 242393 has been marked as a duplicate of this bug. ***
Comment 29 Christoph Feck 2010-08-09 20:44:28 UTC
*** Bug 236240 has been marked as a duplicate of this bug. ***
Comment 30 Radek Novacek 2010-08-11 09:57:18 UTC
Created attachment 49997 [details]
New crash information added by DrKonqi

kate (3.5.0) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.7.0

- What I was doing when the application crashed:
Moving kate around desktop with shortcuts for "Pack Window Up|Down|Left|Right" and "Maximize Window"

- Custom settings of the application:
Set shortcuts for above mentioned actions

-- Backtrace (Reduced):
#7  0x04805cc9 in QX11PaintEngine::drawPixmap (this=0x8729d88, r=..., px=..., _sr=...) at painting/qpaintengine_x11.cpp:1924
#8  0x04734217 in QPaintEngine::drawImage (this=0x8729d88, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:624
#9  0x04803f91 in QX11PaintEngine::drawImage (this=0x8729d88, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1898
#10 0x0474b85c in QPainterPrivate::draw_helper (this=0x8894100, originalPath=..., op=QPainterPrivate::StrokeAndFillDraw) at painting/qpainter.cpp:488
#11 0x04751799 in QPainter::drawPath (this=0xbfab61ac, path=...) at painting/qpainter.cpp:3372
Comment 31 Christoph Feck 2010-08-11 13:57:37 UTC
The issue seems to be in video drivers failing to allocate memory to convert images to pixmaps (and Qt failing to handle that case).

To help identifying the bug, please state (if possible)
- xorg version
- type of graphics/video drivers and version
Comment 32 Christoph Feck 2010-08-11 14:14:38 UTC
For the crash in Qt, I filed http://bugreports.qt.nokia.com/browse/QTBUG-12826

Still we need more information, why and where pixmap allocation could fail. It may be caused by pixmap leakage in other components or fragmentation in video card memory (anyone remember the "black windows" bug?)
Comment 33 Christoph Feck 2010-08-11 14:59:45 UTC
Created attachment 50007 [details]
proposed patch

Patch for Qt (created from 4.7.0 branch, but should also apply to 4.6.3).
Comment 34 Christoph Feck 2010-08-11 17:26:53 UTC
The bug mentioned in comment #32 has been accepted upstream.
Comment 35 Christoph Feck 2010-08-12 00:03:27 UTC
*** Bug 247370 has been marked as a duplicate of this bug. ***
Comment 36 Christoph Feck 2010-08-28 00:28:08 UTC
*** Bug 249276 has been marked as a duplicate of this bug. ***
Comment 37 Christoph Feck 2010-09-04 10:14:34 UTC
*** Bug 250021 has been marked as a duplicate of this bug. ***
Comment 38 Christophe Marin 2010-09-19 13:59:06 UTC
*** Bug 248300 has been marked as a duplicate of this bug. ***
Comment 39 Martin Flöser 2010-10-07 09:11:31 UTC
*** Bug 249859 has been marked as a duplicate of this bug. ***
Comment 40 Beat Wolf 2010-10-11 12:49:26 UTC
*** Bug 253717 has been marked as a duplicate of this bug. ***
Comment 41 Myriam Schweingruber 2011-03-29 20:39:29 UTC
*** Bug 269709 has been marked as a duplicate of this bug. ***
Comment 42 Christoph Feck 2011-05-14 23:26:23 UTC
*** Bug 272356 has been marked as a duplicate of this bug. ***
Comment 43 Myriam Schweingruber 2011-08-27 21:59:17 UTC
*** Bug 280787 has been marked as a duplicate of this bug. ***
Comment 44 Myriam Schweingruber 2011-10-24 17:00:24 UTC
*** Bug 284882 has been marked as a duplicate of this bug. ***
Comment 45 Nate Graham 2017-09-10 20:32:05 UTC
*** Bug 277505 has been marked as a duplicate of this bug. ***