Application: krusader (2.3.0-beta1 "New Horizons") KDE Platform Version: 4.8.4 (4.8.4) Qt Version: 4.8.2 Operating System: Linux 3.2.0-3-amd64 x86_64 Distribution: Debian GNU/Linux testing (wheezy) -- Information about the crash: - What I was doing when the application crashed: 1. Navigate Krusader to some random .jpg file. 2. Press F3 (to open this .jpg in internal viewer). This is happening randomly, it can either open file or crash. - Additional info: I'm viewing files mainly through Gwenview, and call stack reported forced me to install debug packages for libgwenview to "be useful", so maybe it's some kind of integration problem between Krusader and Gwenview. The crash can be reproduced some of the time. -- Backtrace: Application: Krusader (krusader), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 [Current thread is 1 (Thread 0x7f5aa93a0760 (LWP 4934))] Thread 3 (Thread 0x7f5a92832700 (LWP 4997)): #0 0x00007f5aa3a9770d in read () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f5aa029850f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f5aa025d059 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f5aa025d472 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f5aa025d5f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f5aa49192a6 in QEventDispatcherGlib::processEvents (this=0x1c227b0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0x00007f5aa48e98cf in QEventLoop::processEvents (this=this@entry=0x7f5a92831e10, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f5aa48e9b58 in QEventLoop::exec (this=0x7f5a92831e10, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f5aa47ecd70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #9 0x00007f5aa48ca1df in QInotifyFileSystemWatcherEngine::run (this=0x1c212d0) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x00007f5aa47efd0b in QThreadPrivate::start (arg=0x1c212d0) at thread/qthread_unix.cpp:307 #11 0x00007f5aa1aa2b50 in start_thread (arg=<optimized out>) at pthread_create.c:304 #12 0x00007f5aa3aa36dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #13 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f5a8f590700 (LWP 5774)): [KCrash Handler] #6 lower_bound (__k=..., this=0x2a5bad0) at XMPMeta.cpp:1647 #7 lower_bound (__x=..., this=0x2a5bad0) at /usr/include/c++/4.6/bits/stl_map.h:784 #8 operator[] (__k=..., this=0x2a5bad0) at /usr/include/c++/4.6/bits/stl_map.h:450 #9 XMPMeta::RegisterNamespace (namespaceURI=<optimized out>, prefix=<optimized out>) at XMPMeta.cpp:1048 #10 0x00007f5a90ec408d in WXMPMeta_RegisterNamespace_1 (namespaceURI=0x7f5a90ef7610 "http://www.digikam.org/ns/1.0/", prefix=0x7f5a90eee4e1 "digiKam", wResult=0x7f5a8f58eff0) at WXMPMeta.cpp:228 #11 0x00007f5a90e94104 in TXMPMeta<std::string>::RegisterNamespace (namespaceURI=<optimized out>, prefix=<optimized out>) at ../xmpsdk/include/client-glue/TXMPMeta.incl_cpp:240 #12 0x00007f5a90e90366 in Exiv2::XmpParser::initialize (xmpLockFct=<optimized out>, pLockData=<optimized out>) at xmp.cpp:406 #13 0x00007f5a90e92309 in Exiv2::XmpParser::decode (xmpData=..., xmpPacket=...) at xmp.cpp:480 #14 0x00007f5a90e1cbdc in Exiv2::JpegBase::readMetadata (this=0x296ea50) at jpgimage.cpp:391 #15 0x00007f5a912257db in Gwenview::Exiv2ImageLoader::load (this=0x7f5a8f58fd70, data=...) at ../../lib/exiv2imageloader.cpp:59 #16 0x00007f5a9120bf24 in Gwenview::LoadingDocumentImplPrivate::loadMetaInfo (this=0x7f5a88000f80) at ../../lib/document/loadingdocumentimpl.cpp:200 #17 0x00007f5a9120bd2e in QtConcurrent::StoredMemberFunctionPointerCall0<bool, Gwenview::LoadingDocumentImplPrivate>::runFunctor (this=0x7f5a88000950) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:193 #18 0x00007f5a9120d676 in QtConcurrent::RunFunctionTask<bool>::run (this=0x7f5a88000950) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:106 #19 0x00007f5aa47e36bd in QThreadPoolThread::run (this=0x7f5a88002040) at concurrent/qthreadpool.cpp:107 #20 0x00007f5aa47efd0b in QThreadPrivate::start (arg=0x7f5a88002040) at thread/qthread_unix.cpp:307 #21 0x00007f5aa1aa2b50 in start_thread (arg=<optimized out>) at pthread_create.c:304 #22 0x00007f5aa3aa36dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #23 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f5aa93a0760 (LWP 4934)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f5aa47f020b in wait (time=18446744073709551615, this=0x2a59d70) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x2a35138, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f5aa47e2e8f in QThreadPoolPrivate::waitForDone (this=0x2a350b0, msecs=msecs@entry=-1) at concurrent/qthreadpool.cpp:298 #4 0x00007f5aa47e493d in QThreadPool::~QThreadPool (this=0x27150d0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440 #5 0x00007f5aa47e4979 in QThreadPool::~QThreadPool (this=0x27150d0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442 #6 0x00007f5aa47e49a5 in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x7f5aa4c40fc8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1929 #7 0x00007f5aa3a01df2 in __run_exit_handlers (status=1, listp=0x7f5aa3d4c4c8, run_list_atexit=true) at exit.c:78 #8 0x00007f5aa3a01e45 in *__GI_exit (status=44408220) at exit.c:100 #9 0x00007f5aa53cdff8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:770 #10 0x00007f5aa81e4688 in KApplication::xioErrhandler (this=0x7fff7a6f2380, dpy=0x18151c0) at ../../kdeui/kernel/kapplication.cpp:419 #11 0x00007f5aa2c1260e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #12 0x00007f5aa2c100ad in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #13 0x00007f5aa2bec057 in XCheckIfEvent () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #14 0x00007f5aa5401f1a in QKeyMapperPrivate::translateKeyEvent (this=0x182a290, keyWidget=0x1c42290, event=0x7fff7a6f1c50, grab=false) at kernel/qkeymapper_x11.cpp:1701 #15 0x00007f5aa53deb08 in QApplication::x11ProcessEvent (this=0x7fff7a6f2380, event=0x7fff7a6f1c50) at kernel/qapplication_x11.cpp:3539 #16 0x00007f5aa5405ba2 in x11EventSourceDispatch (s=0x17f3f20, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #17 0x00007f5aa025d205 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #18 0x00007f5aa025d538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007f5aa025d5f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #20 0x00007f5aa4919286 in QEventDispatcherGlib::processEvents (this=0x179bb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #21 0x00007f5aa540581e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #22 0x00007f5aa48e98cf in QEventLoop::processEvents (this=this@entry=0x7fff7a6f2020, flags=...) at kernel/qeventloop.cpp:149 #23 0x00007f5aa48e9b58 in QEventLoop::exec (this=0x7fff7a6f2020, flags=...) at kernel/qeventloop.cpp:204 #24 0x00007f5aa48eed18 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #25 0x0000000000450a37 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd-krusader_2.3.0~beta1-1+b1-amd64-TyfUwe/krusader-2.3.0~beta1/krusader/main.cpp:322 Reported using DrKonqi
The stack trace indicates that there are two issues: a segmentation fault in thread 2 and xio error in thread 1. It's not clear whether one of them caused the other or whether they are independent. The segfault seems to happen in Exiv2 called by a Gwenview class, so I'm moving this bug for the Gwenview developers to further investigate.
After I installed all possible debug symbols for Gwenview, Krusader and KDE and updated everything to 2012-10-02's Debian Wheezy, after I open the image with F3 and close it (either by ESC or by clicking on close button at topright corner) I will got the following debug message every time: ------------------------ Debug Message: krusader(6090)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x321f5c8 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes. ----------------------- This message shows on every image shown that way, tested PNG and JPEGs. However, judging from the message it should be something unrelated to the image itself. Hexadecimal address noted in the message is different every time, anything else stays same (I suppose that krusader's PID will differ if I'll close and reopen it).
Updating to KDE 4.9 should fix this. *** This bug has been marked as a duplicate of bug 302350 ***
*** Bug 315496 has been marked as a duplicate of this bug. ***