Bug 250021 - Gwenview crashes on scrolling big PNG
Summary: Gwenview crashes on scrolling big PNG
Status: RESOLVED DUPLICATE of bug 230490
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 14:47 UTC by alrond
Modified: 2012-10-19 13:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.15 KB, text/plain)
2010-09-04 00:15 UTC, alrond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alrond 2010-09-03 14:47:39 UTC
Application: gwenview (2.5.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-19-generic i686
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
I have opened bi PNG 350*448200, zoomed to really size and scrolled up. Then it has crashed. Kubuntu 10.10 alpha3

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[KCrash Handler]
#7  0x06cdcb98 in QX11PaintEngine::drawPixmap (this=0x9a0a678, r=..., px=..., _sr=...) at painting/qpaintengine_x11.cpp:1924
#8  0x06c03305 in QPaintEngine::drawImage (this=0x9a0a678, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:624
#9  0x06cdad69 in QX11PaintEngine::drawImage (this=0x9a0a678, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1898
#10 0x06c1ec39 in QPainter::drawImage (this=0xbfe9437c, p=..., image=...) at painting/qpainter.cpp:5592
#11 0x002d7e60 in QPainter::drawImage (this=0x9a36ce0, zoomedImageLeft=0, zoomedImageTop=174822, image=...) at /usr/include/qt4/QtGui/qpainter.h:925
#12 Gwenview::ImageView::updateFromScaler (this=0x9a36ce0, zoomedImageLeft=0, zoomedImageTop=174822, image=...) at ../../../gwenview/lib/imageview.cpp:589
#13 0x002d9547 in Gwenview::ImageView::qt_metacall (this=0x9a36ce0, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfe944b0) at ./imageview.moc:91
#14 0x0062a1da in QMetaObject::metacall (object=0x9a36ce0, cl=121855988, idx=36, argv=0xbfe944b0) at kernel/qmetaobject.cpp:237
#15 0x0063cfdd in QMetaObject::activate (sender=0x9a65448, m=0x32b894, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#16 0x002d541f in Gwenview::ImageScaler::scaledRect (this=0x9a65448, _t1=0, _t2=174822, _t3=...) at ./imagescaler.moc:89
#17 0x002d5ac8 in Gwenview::ImageScaler::scaleRect (this=0x9a65448, rect=...) at ../../../gwenview/lib/imagescaler.cpp:121
#18 0x002d5ea2 in Gwenview::ImageScaler::doScale (this=0x9a65448) at ../../../gwenview/lib/imagescaler.cpp:110
#19 0x002d5f40 in Gwenview::ImageScaler::setDestinationRegion (this=0x9a65448, region=...) at ../../../gwenview/lib/imagescaler.cpp:90
#20 0x002d7aba in Gwenview::ImageView::scrollContentsBy (this=0x9a36ce0, dx=0, dy=34533) at ../../../gwenview/lib/imageview.cpp:569
#21 0x06fbc6c5 in QAbstractScrollAreaPrivate::_q_vslide (this=0x9a48490, y=174822) at widgets/qabstractscrollarea.cpp:1319
#22 0x06fbdd7a in QAbstractScrollArea::qt_metacall (this=0x9a36ce0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfe94948) at .moc/release-shared/moc_qabstractscrollarea.cpp:85
#23 0x002d94da in Gwenview::ImageView::qt_metacall (this=0x9a36ce0, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfe94948) at ./imageview.moc:81
#24 0x0062a1da in QMetaObject::metacall (object=0x9a36ce0, cl=121855988, idx=29, argv=0xbfe94948) at kernel/qmetaobject.cpp:237
#25 0x0063cfdd in QMetaObject::activate (sender=0x9a66240, m=0x7430854, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#26 0x0720df73 in QAbstractSlider::valueChanged (this=0x9a66240, _t1=174822) at .moc/release-shared/moc_qabstractslider.cpp:182
#27 0x06ed15d5 in QAbstractSlider::setValue (this=0x9a66240, value=174822) at widgets/qabstractslider.cpp:543
#28 0x06ed16af in QAbstractSlider::triggerAction (this=0x9a66240, action=QAbstractSlider::SliderMove) at widgets/qabstractslider.cpp:632
#29 0x06ed1b89 in QAbstractSlider::setSliderPosition (this=0x9a66240, position=174822) at widgets/qabstractslider.cpp:500
#30 0x06f7ea23 in QScrollBar::mouseMoveEvent (this=0x9a66240, e=0xbfe95150) at widgets/qscrollbar.cpp:674
#31 0x06b0037a in QWidget::event (this=0x9a66240, event=0xbfe95150) at kernel/qwidget.cpp:8142
#32 0x06ed1444 in QAbstractSlider::event (this=0x9a66240, e=0xbfe95150) at widgets/qabstractslider.cpp:942
#33 0x06f7f7b7 in QScrollBar::event (this=0x9a66240, event=0xbfe95150) at widgets/qscrollbar.cpp:546
#34 0x06aa2a2c in QApplicationPrivate::notify_helper (this=0x96bad88, receiver=0x9a66240, e=0xbfe95150) at kernel/qapplication.cpp:4389
#35 0x06aa967e in QApplication::notify (this=0xbfe95a1c, receiver=0x9a66240, e=0xbfe95150) at kernel/qapplication.cpp:3952
#36 0x0110f44a in KApplication::notify (this=0xbfe95a1c, receiver=0x9a66240, event=0xbfe95150) at ../../kdeui/kernel/kapplication.cpp:310
#37 0x0062444b in QCoreApplication::notifyInternal (this=0xbfe95a1c, receiver=0x9a66240, event=0xbfe95150) at kernel/qcoreapplication.cpp:732
#38 0x06aa7ae4 in QCoreApplication::sendEvent (receiver=0x9a66240, event=0xbfe95150, alienWidget=0x9a66240, nativeWidget=0x9742390, buttonDown=0x7439300, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QApplicationPrivate::sendMouseEvent (receiver=0x9a66240, event=0xbfe95150, alienWidget=0x9a66240, nativeWidget=0x9742390, buttonDown=0x7439300, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3051
#40 0x06b361d0 in QETWidget::translateMouseEvent (this=0x9742390, event=0xbfe9566c) at kernel/qapplication_x11.cpp:4403
#41 0x06b35611 in QApplication::x11ProcessEvent (this=0xbfe95a1c, event=0xbfe9566c) at kernel/qapplication_x11.cpp:3414
#42 0x06b6482a in x11EventSourceDispatch (s=0x96be040, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x0262c9b5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x026307c8 in ?? () from /lib/libglib-2.0.so.0
#45 0x026309a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x00652e95 in QEventDispatcherGlib::processEvents (this=0x96a5e18, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#47 0x06b640a5 in QGuiEventDispatcherGlib::processEvents (this=0x96a5e18, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00622f19 in QEventLoop::processEvents (this=0xbfe95964, flags=) at kernel/qeventloop.cpp:149
#49 0x0062339a in QEventLoop::exec (this=0xbfe95964, flags=...) at kernel/qeventloop.cpp:201
#50 0x0062791f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#51 0x06aa1857 in QApplication::exec () at kernel/qapplication.cpp:3665
#52 0x08082ffd in main (argc=2, argv=0xbfe95b84) at ../../../gwenview/app/main.cpp:139

Possible duplicates by query: bug 232800, bug 230490.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-09-03 19:53:07 UTC
Do you use Qt 4.7.0 RC 1 or earlier snapshot?
Comment 2 alrond 2010-09-04 00:15:58 UTC
Created attachment 51292 [details]
New crash information added by DrKonqi

gwenview (2.5.0) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

Today upgedated to Kubuntu 10.10 Beta. The programm crached too.

Package: libqt4-dbg                         
Version: 4:4.7.0~beta2-0ubuntu8

-- Backtrace (Reduced):
#7  0x01190b98 in QX11PaintEngine::drawPixmap (this=0xa366ef8, r=..., px=..., _sr=...) at painting/qpaintengine_x11.cpp:1924
#8  0x010b7305 in QPaintEngine::drawImage (this=0xa366ef8, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:624
#9  0x0118ed69 in QX11PaintEngine::drawImage (this=0xa366ef8, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1898
#10 0x010d2c39 in QPainter::drawImage (this=0xbf99482c, p=..., image=...) at painting/qpainter.cpp:5592
#11 0x00180e60 in QPainter::drawImage (this=0xa291670, zoomedImageLeft=0, zoomedImageTop=120865, image=...) at /usr/include/qt4/QtGui/qpainter.h:925
Comment 3 alrond 2010-09-04 00:24:31 UTC
The problem only if I use mouse with scrollbar to move up, if I use PageDown/PageUp works fine
Comment 4 Christoph Feck 2010-09-04 03:09:42 UTC
... which does not answer my question (see comment #1)
Comment 5 alrond 2010-09-04 08:55:04 UTC
I have answered in comment #2:
Version: 4:4.7.0~beta2-0ubuntu8
Comment 6 Christoph Feck 2010-09-04 10:14:34 UTC
Oh, sorry, I only read the first occurrence of Qt 4.7.0...

Anyway, that crash is fixed in RC1.

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