[Bug 247013] New: gwenview segfaults with large png
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@forge.provo.novell.com ReportedBy: meissner@novell.com QAContact: qa@suse.de 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 ------- Comment #1 from meissner@novell.com 2007-02-20 10:10 MST ------- Created an attachment (id=120148) --> (https://bugzilla.novell.com/attachment.cgi?id=120148&action=view) f208c50af8a68669c364c22849f1d1de.png f208c50af8a68669c364c22849f1d1de.png (from a opensuse post actually) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kde-maintainers@suse.de |screening@forge.provo.novell| |.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |llunak@novell.com ------- Comment #2 from dmueller@novell.com 2007-02-20 16:07 MST ------- smells like an integer overflow to me -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|llunak@novell.com |bnc-team-screening@forge.provo.novell.com Keywords| |Fix_is_Ready Summary|gwenview segfaults with |[Fix_is_Ready:10.2] gwenview segfaults with |large png |large png ------- Comment #3 from llunak@novell.com 2007-02-21 12:07 MST ------- Gee, 820x36564 . This patch should fix it. It also includes a fix for incorrect CXXFLAGS usage in Makefile.am that disables all compilation flags for the scaling code (i.e. no optimizations). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 ------- Comment #4 from llunak@novell.com 2007-02-21 12:08 MST ------- Created an attachment (id=120377) --> (https://bugzilla.novell.com/attachment.cgi?id=120377&action=view) gwenview patch -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kde-maintainers@suse.de |screening@forge.provo.novell| |.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |meissner@novell.com ------- Comment #5 from dmueller@novell.com 2007-02-23 06:15 MST ------- do you want to ship this as a security update? need swamp then. otherwise we'll keep it around in case we have to touch gwenview for other reasons. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|meissner@novell.com | ------- Comment #6 from meissner@novell.com 2007-02-23 06:25 MST ------- yes. swampid: 8517 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #7 from dmueller@novell.com 2007-02-24 05:42 MST ------- pathchinfo+updates submitted. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|Fix_is_Ready | Summary|[Fix_is_Ready:10.2] gwenview|gwenview segfaults with large png |segfaults with large png | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |admin@eregion.de ------- Comment #8 from llunak@novell.com 2007-03-22 02:11 MST ------- *** Bug 255856 has been marked as a duplicate of this bug. *** -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 ------- Comment #9 from admin@eregion.de 2007-03-24 18:37 MST ------- after installing the new gwenview package, gwenview crashes as soon as i click on the "modules" menu. package info: mathias@renren:~> rpm -q gwenview -i Name : gwenview Relocations: (not relocatable) Version : 1.4.1 Vendor: openSUSE Build Service Release : 23.1 Build Date: Fr 23 Mär 2007 16:38:25 CET Install Date: So 25 Mär 2007 01:07:43 CET Build Host: build06 Group : Productivity/Graphics/Viewers Source RPM: gwenview-1.4.1-23.1.src.rpm Size : 4528444 License: GNU General Public License (GPL) Signature : DSA/SHA1, Fr 23 Mär 2007 16:41:02 CET, Key ID 3b3011b76b9d6523 backtrace of crash: Überprüfung der Systemkonfiguration beim Start deaktiviert. Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1236191008 (LWP 28612)] [KCrash handler] #9 0xb7f46410 in ?? () #10 0xbfeb3f1c in ?? () #11 0x00000006 in ?? () #12 0x00006fc4 in ?? () #13 0xb7dc4060 in raise () from /lib/libc.so.6 #14 0xb7dc5801 in abort () from /lib/libc.so.6 #15 0xb6b724f0 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6 #16 0xb6b6ff15 in std::set_unexpected () from /usr/lib/libstdc++.so.6 #17 0xb6b6ff52 in std::terminate () from /usr/lib/libstdc++.so.6 #18 0xb6b7008a in __cxa_throw () from /usr/lib/libstdc++.so.6 #19 0xb691e6eb in Exiv2::ExifTags::registerMakerTagInfo ( ifdId=Exiv2::sigmaIfdId, tagInfo=0xb6967640) at tags.cpp:578 #20 0xb6918741 in RegisterMn (this=0xb3077941) at sigmamn.cpp:59 #21 0xb3020aeb in __static_initialization_and_destruction_0 ( __initialize_p=<value optimized out>, __priority=<value optimized out>) at sigmamn.hpp:150 #22 0xb303d295 in __do_global_ctors_aux () from /usr/lib/libexiv2-0.12.so #23 0xb2fca9ed in _init () from /usr/lib/libexiv2-0.12.so #24 0xb7f553e3 in call_init () from /lib/ld-linux.so.2 #25 0xb7f554f3 in _dl_init_internal () from /lib/ld-linux.so.2 #26 0xb7f58ff6 in dl_open_worker () from /lib/ld-linux.so.2 #27 0xb7f55026 in _dl_catch_error () from /lib/ld-linux.so.2 #28 0xb7f58929 in _dl_open () from /lib/ld-linux.so.2 #29 0xb6614d2d in dlopen_doit () from /lib/libdl.so.2 #30 0xb7f55026 in _dl_catch_error () from /lib/ld-linux.so.2 #31 0xb66151dc in _dlerror_run () from /lib/libdl.so.2 #32 0xb6614c64 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2 #33 0xb74a908e in sys_dl_open () from /opt/kde3/lib/libkdecore.so.4 #34 0xb74a8ad0 in tryall_dlopen () from /opt/kde3/lib/libkdecore.so.4 #35 0xb74a9a89 in lt_dlopen () from /opt/kde3/lib/libkdecore.so.4 #36 0xb74273ee in KLibLoader::library () from /opt/kde3/lib/libkdecore.so.4 #37 0xb7b7e918 in KIPI::PluginLoader::loadPlugin () from /opt/kde3/lib/libkipi.so.0 #38 0xb7b7f2e2 in KIPI::PluginLoader::loadPlugins () from /opt/kde3/lib/libkipi.so.0 #39 0xb7f285a5 in Gwenview::MainWindow::loadPlugins () from /opt/kde3/lib/libkdeinit_gwenview.so #40 0xb7f2f61b in Gwenview::MainWindow::qt_invoke () from /opt/kde3/lib/libkdeinit_gwenview.so #41 0xb6e17e81 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #42 0xb6e18b5d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #43 0xb7169b9c in QPopupMenu::aboutToShow () from /usr/lib/qt3/lib/libqt-mt.so.3 #44 0xb6f20f11 in QPopupMenu::popup () from /usr/lib/qt3/lib/libqt-mt.so.3 #45 0xb6f14f0c in QMenuBar::openActPopup () from /usr/lib/qt3/lib/libqt-mt.so.3 #46 0xb6f151d4 in QMenuBar::setActiveItem () from /usr/lib/qt3/lib/libqt-mt.so.3 #47 0xb6f15d2a in QMenuBar::mousePressEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #48 0xb6e5089e in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3 #49 0xb6db89c7 in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3 #50 0xb6db9909 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so3 #51 0xb7445bf2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4 #52 0xb6d57f67 in QETWidget::translateMouseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #53 0xb6d5710f in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #54 0xb6d6798a in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3 #55 0xb6dcf7f0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3 #56 0xb6dcf686 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #57 0xb6db857f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #58 0xb7f3a027 in kdemain () from /opt/kde3/lib/libkdeinit_gwenview.so #59 0x080484d2 in main () -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 ------- Comment #10 from admin@eregion.de 2007-03-24 18:55 MST ------- ..after replacing kipi-plugins from packman by kipi-plugins from kde buildtree, gwenview works again. gonna send a mail to packman maintainers. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 ------- Comment #11 from meissner@novell.com 2007-04-02 12:54 MST ------- updates released now. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 volker3204@paradise.net.nz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |volker3204@paradise.net.nz Status|RESOLVED |REOPENED Priority|P5 - None |P3 - Medium Resolution|FIXED | ------- Comment #12 from volker3204@paradise.net.nz 2007-04-11 05:23 MST ------- Reopening because the update never installs. YOU correctly lists it as available security update, but openSUSE 10.2 shipped with version gwenview-1.4.0-29, whereas the update is 1.4.0-0.2 and therefore is never new enough. It probably wanted to be -29.2. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=247013 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #13 from meissner@novell.com 2007-04-11 05:42 MST ------- we released a fixed update for this just today. -- 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.
participants (1)
-
bugzilla_noreply@novell.com