[Okular-devel] [Bug 230490] New: QT apps crash during resize

Jesse Milette linux.nerdy.kid at gmail.com
Fri Mar 12 20:08:04 CET 2010


https://bugs.kde.org/show_bug.cgi?id=230490

           Summary: QT apps crash during resize
           Product: okular
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: linux.nerdy.kid at gmail.com


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list