Bug 302313 - gwenview crash if I view a photo (most often jpg from iPhone 4S)
Summary: gwenview crash if I view a photo (most often jpg from iPhone 4S)
Status: RESOLVED DUPLICATE of bug 302350
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.8.4
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-21 18:53 UTC by Daniel Schröter
Modified: 2012-10-19 13:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Schröter 2012-06-21 18:53:45 UTC
Application: gwenview (2.8.4)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.3.0-trunk-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:

Klicking on a picture made from an iPhone 4S lets crash gwenview.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fec318977a0 (LWP 16557))]

Thread 4 (Thread 0x7fec2d60f700 (LWP 16558)):
#0  0x000000388aa0a62e in __pthread_mutex_unlock_usercnt (mutex=0x7fec28000970, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x000000388ce861e1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000000388ce49ccd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000000388ce4a3fb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x000000388ce4a5f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x0000003f6dfab306 in QEventDispatcherGlib::processEvents (this=0xdc1420, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x0000003f6df7b92f in QEventLoop::processEvents (this=this@entry=0x7fec2d60edd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003f6df7bbb8 in QEventLoop::exec (this=0x7fec2d60edd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003f6de7ed70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x0000003f6df5c23f in QInotifyFileSystemWatcherEngine::run (this=0xdc0c90) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0000003f6de81d0b in QThreadPrivate::start (arg=0xdc0c90) at thread/qthread_unix.cpp:307
#11 0x000000388aa06b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#12 0x0000003889ed86dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fec2778d700 (LWP 16579)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x0000003f6de82167 in wait (time=30000, this=0x118ba70) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x12ebd28, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003f6de757af in QThreadPoolThread::run (this=0x118bae0) at concurrent/qthreadpool.cpp:141
#4  0x0000003f6de81d0b in QThreadPrivate::start (arg=0x118bae0) at thread/qthread_unix.cpp:307
#5  0x000000388aa06b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#6  0x0000003889ed86dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fec26f8c700 (LWP 16580)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f6de8220b in wait (time=18446744073709551615, this=0x1475400) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1475058, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fec348486aa in Gwenview::ThumbnailThread::run (this=0x1474ff8) at ../../lib/thumbnailloadjob.cpp:200
#4  0x0000003f6de81d0b in QThreadPrivate::start (arg=0x1474ff8) at thread/qthread_unix.cpp:307
#5  0x000000388aa06b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#6  0x0000003889ed86dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fec318977a0 (LWP 16557)):
[KCrash Handler]
#6  0x0000003889e32475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003889e356f0 in *__GI_abort () at abort.c:92
#8  0x00000036abe6568d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00000036abe63796 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00000036abe637c3 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00000036abe63a36 in __cxa_rethrow () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x0000003f6df7be24 in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:218
#13 0x0000003f6df80d78 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#14 0x0000000000429072 in main (argc=5, argv=0x7fff11361218) at ../../app/main.cpp:142

Possible duplicates by query: bug 302311, bug 302306, bug 302292, bug 302243, bug 302237.

Reported using DrKonqi
Comment 1 Daniel Schröter 2012-06-24 11:16:16 UTC
I tried to generate a photo to reproduce the problem. But now everything works fine. I can not provide the "other" picture where gwenview crashs. Sorry. Hope the traceback is enough.
Comment 2 Aurelien Gateau 2012-06-28 15:58:53 UTC
This is an uncaughted exception. If you can find an image to reproduce the bug, can you start Gwenview from a console and post the output as well? Attaching the image would help a lot as well.
Comment 3 Daniel Schröter 2012-06-28 16:50:50 UTC
I take 30 photo without a crash. Then I took a photo from my child and it crashed. So I recognize that it has to be a face and the iPhone Facedetection has to turn on.
I can provide you a picture. I took it from magazine.
Comment 4 Daniel Schröter 2012-06-28 16:51:35 UTC
And the output from the commandline:
"/usr/bin/gwenview(13337)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/gwenview(13337)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/gwenview(13337)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/gwenview(13337)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/gwenview(13337)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/gwenview(13337)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/gwenview(13337)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/gwenview(13337)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/gwenview(13337)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/gwenview(13337)" Soprano: "QLocalSocket::connectToServer: Invalid name"
gwenview(13337)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory! 
gwenview(13337)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory! 
"/usr/bin/gwenview(13337)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/gwenview(13337)" Soprano: "QLocalSocket::connectToServer: Invalid name"
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'Exiv2::BasicError<char>'
  what():  No namespace info available for XMP prefix `apple-fi'
KCrash: Application 'gwenview' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/schroed/.kde/socket-dualcore/kdeinit4__0
Comment 5 Daniel Schröter 2012-06-28 17:53:01 UTC
Because I can not upload more then 1MB try this:
http://www7.pic-upload.de/28.06.12/j9topeud3p1.jpg
Comment 6 Aurelien Gateau 2012-06-29 08:08:25 UTC
Thanks for the upload and the console output. I can now confirm this bug is the same as 302350, which is fixed in 4.9.

*** This bug has been marked as a duplicate of bug 302350 ***
Comment 7 Daniel Schröter 2012-06-29 16:36:11 UTC
Thanks. Confirmed. It's also working with 4.8.4 and the patch. It's backported to debian/unstable for a few days
http://lists.debian.org/debian-devel-changes/2012/06/msg04131.html