Bug 140968 - Gwenview crashes when opening certain JPG image
Summary: Gwenview crashes when opening certain JPG image
Status: RESOLVED DUPLICATE of bug 138467
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 19:34 UTC by mced
Modified: 2012-10-19 13:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crashing image (JPG, 212 KB) (212.09 KB, image/jpeg)
2007-01-31 19:36 UTC, mced
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mced 2007-01-31 19:34:06 UTC
Version:           1.4.1 (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 4.1.2 
OS:                Linux

I could open that file using Gwenview 1.2. But after upgrading Debian Sarge to Etch, Gwenview has also upgraded to 1.4.1 and there's no way to open that image without crashing. No problem with other images (even from the same collection).

I have erased old configuration files (apt-get remove --purge), reinstalled and still crashes.

I have compiled and installed it (1.4.1) from the sources (using gcc 4.1.2) and same result: crash.


Shell says this:

$ gwenview crash_opr08YBG.jpg
Error: Exif memory of the pointer to the next IFD lies outside of the IFD memory buffer.
terminate called after throwing an instance of 'Exiv2::Error'
KCrash: Application 'gwenview' crashing...


And backtrace:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1237281088 (LWP 24281)]
[KCrash handler]
#5  0xb654f947 in raise () from /lib/tls/libc.so.6
#6  0xb65510c9 in abort () from /lib/tls/libc.so.6
#7  0xb673b994 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#8  0xb67393b5 in std::set_unexpected () from /usr/lib/libstdc++.so.6
#9  0xb67393f2 in std::terminate () from /usr/lib/libstdc++.so.6
#10 0xb673952a in __cxa_throw () from /usr/lib/libstdc++.so.6
#11 0xb7c1b9da in Exiv2::JpegBase::readMetadata ()
   from /usr/lib/libexiv2-0.10.so
#12 0xb7eef772 in ImageUtils::JPEGContent::loadFromData ()
   from /usr/lib/libgwenviewcore.so.1
#13 0xb7ecfd3b in Gwenview::ImageLoader::changed ()
   from /usr/lib/libgwenviewcore.so.1
#14 0xb7ebccad in Gwenview::JPEGFormat::decode ()
   from /usr/lib/libgwenviewcore.so.1
#15 0xb6cde53d in QImageDecoder::decode () from /usr/lib/libqt-mt.so.3
#16 0xb7ecf1cc in Gwenview::ImageLoader::decodeChunk ()
   from /usr/lib/libgwenviewcore.so.1
#17 0xb7ecf5d2 in Gwenview::ImageLoader::qt_invoke ()
   from /usr/lib/libgwenviewcore.so.1
#18 0xb6d39d4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0xb6d3a7e0 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0xb70c4e5e in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#21 0xb6d61603 in QTimer::event () from /usr/lib/libqt-mt.so.3
#22 0xb6cd1c26 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#23 0xb6cd3a43 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#24 0xb749be0e in KApplication::notify () from /usr/lib/libkdecore.so.4
#25 0xb6c65421 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#26 0xb6cc4623 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#27 0xb6c7976f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#28 0xb6cec179 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#29 0xb6cebf9a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#30 0xb6cd37bf in QApplication::exec () from /usr/lib/libqt-mt.so.3
#31 0xb7f924fe in kdemain () from /usr/lib/libkdeinit_gwenview.so
#32 0x080486f2 in main ()

Gwenview "fresh" install: no plugins, no KIPI support.
Comment 1 mced 2007-01-31 19:36:04 UTC
Created attachment 19493 [details]
Crashing image (JPG, 212 KB)
Comment 2 Angelo Naselli 2007-02-01 14:29:25 UTC
It's fixed in svn, try to ask for a patch to debian packagers.

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