Mailinglist Archive: opensuse-bugs (8114 mails)

< Previous Next >
[Bug 247013] New: gwenview segfaults with large png
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 20 Feb 2007 10:09:18 -0700 (MST)
  • Message-id: <bug-247013-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=247013

Summary: gwenview segfaults with large png
Product: openSUSE 10.2
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: KDE
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: meissner@xxxxxxxxxx
QAContact: qa@xxxxxxx


gwenview segfaults with a large sample PNG file.

It just needs to be in the start directory.

Starting program: /opt/kde3/bin/gwenview
[Thread debugging using libthread_db enabled]
[New Thread -134557168 (LWP 1335)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -134557168 (LWP 1335)]
ImageUtils::MImageScale::mimageScaleAARGB (isi=0xfffffff0, dest=<value
optimized out>, dxx=<value optimized out>,
dyy=<value optimized out>, dx=4, dy=<value optimized out>, dw=<value
optimized out>, dh=401, dow=9, sow=820)
at /usr/src/debug/gwenview-1.4.0/src/imageutils/scale.cpp:1803
1803 rx = (R_VAL(pix) * xap) >> 9;
(gdb) print pix
$1 = <value optimized out>
(gdb) x /i $pc
0xfd6b784
<_ZN10ImageUtils11MImageScale16mimageScaleAARGBEPNS0_19__mimage_scale_infoEPjiiiiiiii+340>:
lbz r0,1(r9)
(gdb) print $r9
$2 = 3974013960
(gdb) print /x $r9
$3 = 0xecdea408
(gdb) bt
#0 ImageUtils::MImageScale::mimageScaleAARGB (isi=0xfffffff0, dest=<value
optimized out>, dxx=<value optimized out>,
dyy=<value optimized out>, dx=4, dy=<value optimized out>, dw=<value
optimized out>, dh=401, dow=9, sow=820)
at /usr/src/debug/gwenview-1.4.0/src/imageutils/scale.cpp:1803
#1 0x0fd6e17c in ImageUtils::MImageScale::smoothScale (image=<value optimized
out>, dw=9, dh=401)
at /usr/src/debug/gwenview-1.4.0/src/imageutils/scale.cpp:995
#2 0x0fd6e87c in ImageUtils::scale (image=@0xfff1015c, width=<value optimized
out>, height=<value optimized out>,
alg=ImageUtils::SMOOTH_FAST, mode=<value optimized out>, blur=1) at
/usr/src/debug/gwenview-1.4.0/src/imageutils/scale.cpp:1960
#3 0x0fceef08 in Gwenview::ImageView::performPaint (this=0x100ef128,
painter=0xfff10410, clipx=0, clipy=0, clipw=512, cliph=425,
secondPass=true) at
/usr/src/debug/gwenview-1.4.0/src/gvcore/imageview.cpp:851
#4 0x44004822 in ?? ()
#5 0x0fcef590 in Gwenview::ImageView::checkPendingOperationsInternal
(this=0x100ef128)
at /usr/src/debug/gwenview-1.4.0/src/gvcore/imageview.cpp:720
#6 0x0fcef6fc in Gwenview::ImageView::checkPendingOperations (this=0xfffffff0)
at /usr/src/debug/gwenview-1.4.0/src/gvcore/imageview.cpp:673
#7 0x0fcef9f8 in Gwenview::ImageView::qt_invoke (this=0x100ef128, _id=86,
_o=0xfff10608)
at /usr/src/debug/gwenview-1.4.0/src/gvcore/imageview.moc:247
#8 0x0ead1eb0 in QObject::activate_signal () from
/usr/lib/qt3/lib/libqt-mt.so.3
#9 0x0ead2ee4 in QObject::activate_signal () from
/usr/lib/qt3/lib/libqt-mt.so.3
#10 0x0ee8bd38 in QTimer::timeout () from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x0eafc404 in QTimer::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x0ea5f820 in QApplication::internalNotify () from
/usr/lib/qt3/lib/libqt-mt.so.3
#13 0x0ea60c60 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x0f242324 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#15 0x0ea514a4 in QEventLoop::activateTimers () from
/usr/lib/qt3/lib/libqt-mt.so.3
#16 0x0ea05094 in QEventLoop::processEvents () from
/usr/lib/qt3/lib/libqt-mt.so.3
#17 0x0ea7a648 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x0ea7a3cc in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x0ea5f1d4 in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x0ffcd564 in kdemain (argc=-980528, argv=0x1007f990) at
/usr/src/debug/gwenview-1.4.0/src/app/main.cpp:161
#21 0x10001590 in main (argc=-16, argv=0x1dac) at
/src/app/kdeinit_gwenview.cpp:2
#22 0x0fe1ff70 in generic_start_main () from /lib/power4/libc.so.6
#23 0x0fe201cc in __libc_start_main () from /lib/power4/libc.so.6
#24 0x00000000 in ?? ()
(gdb)


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >