LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Exiv2 Crashes when trying to open certain jpg images (http://www.linuxquestions.org/questions/slackware-14/exiv2-crashes-when-trying-to-open-certain-jpg-images-4175442750/)

walecha 12-23-2012 10:59 PM

Exiv2 Crashes when trying to open certain jpg images
 
1 Attachment(s)
Does anyone have same problem opening the attached file using gwenview? I'm using Slackware 14.0 with libexiv2 version 0.23 and hit by this bug (256841) when opening attached file using gwenview 4.9.95 (KDE SC 4.10 RC1). Opening it using GIMP or dolphin (thumbnail) were fine.

I don't know if this is related to unstable KDE or not, but the fix is on gwenview [edited]: https://git.reviewboard.kde.org/r/107891/

PS: This is the real image, compressed to keep exif data intact http://www.walecha.net/sites/default...-crash.jpg.zip

hotchili 12-23-2012 11:38 PM

Yep, crashes here too, with kde 4.8.5

Code:

Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4dab6997c0 (LWP 6923))]

Thread 3 (Thread 0x7f4d97d6e700 (LWP 6925)):
#0  0x00007f4da9f625ad in read () from /lib64/libpthread.so.0
#1  0x00007f4da2f38bbf in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4da2efda89 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4da2efdea2 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f4da2efe024 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f4daa324c36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#6  0x00007f4daa2f580f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#7  0x00007f4daa2f5a98 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#8  0x00007f4daa1f9230 in QThread::exec() () from /usr/lib64/qt/lib/libQtCore.so.4
#9  0x00007f4daa2d63cf in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#10 0x00007f4daa1fc17b in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#11 0x00007f4da9f5beae in start_thread () from /lib64/libpthread.so.0
#12 0x00007f4da6d05fed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f4d96e19700 (LWP 6926)):
[KCrash Handler]
#5  0x00007f4da4b268d8 in ?? () from /usr/lib64/libexiv2.so.12
#6  0x00007f4dab0d2282 in Gwenview::JpegContent::orientation() const () from /usr/lib64/libgwenviewlib.so.4
#7  0x00007f4dab0d2d04 in Gwenview::JpegContent::loadFromData(QByteArray const&, Exiv2::Image*) () from /usr/lib64/libgwenviewlib.so.4
#8  0x00007f4dab0a3fbe in ?? () from /usr/lib64/libgwenviewlib.so.4
#9  0x00007f4dab0a3d4e in ?? () from /usr/lib64/libgwenviewlib.so.4
#10 0x00007f4dab0a5696 in ?? () from /usr/lib64/libgwenviewlib.so.4
#11 0x00007f4daa1efe2d in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#12 0x00007f4daa1fc17b in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#13 0x00007f4da9f5beae in start_thread () from /lib64/libpthread.so.0
#14 0x00007f4da6d05fed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f4dab6997c0 (LWP 6923)):
#0  0x00007f4da9f5fa94 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4daa1fc67b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt/lib/libQtCore.so.4
#2  0x00007f4daa1ef5ff in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#3  0x00007f4daa1f10ad in QThreadPool::~QThreadPool() () from /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007f4daa1f10e9 in QThreadPool::~QThreadPool() () from /usr/lib64/qt/lib/libQtCore.so.4
#5  0x00007f4daa1f1115 in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#6  0x00007f4da6c49c71 in __run_exit_handlers () from /lib64/libc.so.6
#7  0x00007f4da6c49cf5 in exit () from /lib64/libc.so.6
#8  0x00007f4da83f8b68 in ?? () from /usr/lib64/qt/lib/libQtGui.so.4
#9  0x00007f4da90bbf48 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#10 0x00007f4da5fe8cee in _XIOError () from /usr/lib64/libX11.so.6
#11 0x00007f4da5fe6d6c in _XReply () from /usr/lib64/libX11.so.6
#12 0x00007f4da60357a1 in XkbGetKeyboardByName () from /usr/lib64/libX11.so.6
#13 0x00007f4da91f51ad in ?? () from /usr/lib64/libkdeui.so.5
#14 0x00007f4da91f589a in ?? () from /usr/lib64/libkdeui.so.5
#15 0x00007f4da9120e21 in KModifierKeyInfo::KModifierKeyInfo(QObject*) () from /usr/lib64/libkdeui.so.5
#16 0x00007f4dab0a96fe in ?? () from /usr/lib64/libgwenviewlib.so.4
#17 0x00007f4dab0b2ce0 in Gwenview::RasterImageView::RasterImageView(QGraphicsItem*) () from /usr/lib64/libgwenviewlib.so.4
#18 0x00007f4dab0b50d4 in Gwenview::RasterImageViewAdapter::RasterImageViewAdapter() () from /usr/lib64/libgwenviewlib.so.4
#19 0x00007f4dab0ac3ad in Gwenview::DocumentView::createAdapterForDocument() () from /usr/lib64/libgwenviewlib.so.4
#20 0x00007f4dab0ac94f in Gwenview::DocumentView::finishOpenUrl() () from /usr/lib64/libgwenviewlib.so.4
#21 0x00007f4dab0acf5a in Gwenview::DocumentView::openUrl(KUrl const&) () from /usr/lib64/libgwenviewlib.so.4
#22 0x0000000000433fc4 in _start ()


walecha 12-23-2012 11:45 PM

Thanks for confirming it hotchili. I have rebuilt gwenview 4.9.95 with the patch applied and no crash anymore opening the file.

willysr 12-24-2012 01:14 AM

It worked nicely when using 4.9.4 :)


All times are GMT -5. The time now is 09:18 AM.