LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-23-2012, 10:59 PM   #1
walecha
LQ Newbie
 
Registered: Jan 2010
Location: Malang
Distribution: slackware
Posts: 11

Rep: Reputation: 0
Exiv2 Crashes when trying to open certain jpg images


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
Attached Images
File Type: jpg exiv2-test-crash.jpg (170.4 KB, 8 views)

Last edited by walecha; 12-23-2012 at 11:32 PM. Reason: wrong patch interpretation
 
Old 12-23-2012, 11:38 PM   #2
hotchili
Member
 
Registered: Sep 2009
Location: Germany
Distribution: slackware64-current
Posts: 69

Rep: Reputation: 17
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 ()
 
Old 12-23-2012, 11:45 PM   #3
walecha
LQ Newbie
 
Registered: Jan 2010
Location: Malang
Distribution: slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for confirming it hotchili. I have rebuilt gwenview 4.9.95 with the patch applied and no crash anymore opening the file.
 
Old 12-24-2012, 01:14 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,514

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
It worked nicely when using 4.9.4
 
  


Reply

Tags
bug, exiv2, gwenview


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Images on SD card now .JPG, used to be .jpg terry-duell Fedora 7 05-17-2012 09:45 PM
[SOLVED] Need to copy all .jpg images in subdirectories to a specific directory sikanders Linux - Newbie 5 08-06-2010 07:15 AM
.jpg images too big for uploading, need to use gimp to downsize them, but how? xyla Linux - Software 4 07-14-2008 07:42 AM
recrusiv scale of jpg images saavik Programming 6 09-29-2006 06:32 AM
Opening BMP and JPG images in Solaris 10? as400 Solaris / OpenSolaris 4 05-10-2006 10:19 AM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration