Application: gwenview (2.9.4) KDE Platform Version: 4.9.4 Qt Version: 4.8.4 Operating System: Linux 3.6.10-2.fc17.x86_64 x86_64 Distribution: "Fedora release 17 (Beefy Miracle)" -- Information about the crash: - What I was doing when the application crashed: I had rotated a picture and was trying to save it. When I restarted and did it again, it crashed again. The crash can be reproduced some of the time. -- Backtrace: Application: Gwenview (gwenview), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 166 62: movl (%rsp), %edi [Current thread is 1 (Thread 0x7fc65de558c0 (LWP 23127))] Thread 3 (Thread 0x7fc65276b700 (LWP 23130)): #0 0x000000378d2e8bdf in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x000000378ee47af4 in g_main_context_poll (n_fds=1, fds=0x7fc64c002be0, timeout=-1, context=0x7fc64c0009d0, priority=<optimized out>) at gmain.c:3440 #2 g_main_context_iterate (context=context@entry=0x7fc64c0009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3141 #3 0x000000378ee47c14 in g_main_context_iteration (context=0x7fc64c0009d0, may_block=1) at gmain.c:3207 #4 0x0000003faa5a5fe6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 #5 0x0000003faa5766ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 #6 0x0000003faa576978 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 #7 0x0000003faa478940 in QThread::exec() () from /lib64/libQtCore.so.4 #8 0x0000003faa556f0f in ?? () from /lib64/libQtCore.so.4 #9 0x0000003faa47b91c in ?? () from /lib64/libQtCore.so.4 #10 0x00000037242aa764 in ?? () from /usr/lib64/nvidia/libGL.so.1 #11 0x000000378da07d14 in start_thread (arg=0x7fc65276b700) at pthread_create.c:309 #12 0x000000378d2f168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7fc651e0d700 (LWP 23131)): [KCrash Handler] #5 0x000000378d235935 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x000000378d2370e8 in __GI_abort () at abort.c:91 #7 0x000000378d22e6a2 in __assert_fail_base (fmt=0x378d3781a8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x37a01b9943 "tiffType() == ttUndefined", file=file@entry=0x37a01b9912 "tiffcomposite.cpp", line=line@entry=1032, function=function@entry=0x37a01ba600 "virtual uint32_t Exiv2::Internal::TiffMnEntry::doCount() const") at assert.c:94 #8 0x000000378d22e752 in __GI___assert_fail (assertion=0x37a01b9943 "tiffType() == ttUndefined", file=0x37a01b9912 "tiffcomposite.cpp", line=1032, function=0x37a01ba600 "virtual uint32_t Exiv2::Internal::TiffMnEntry::doCount() const") at assert.c:103 #9 0x00000037a010f814 in doCount (this=<optimized out>) at tiffcomposite.cpp:1032 #10 Exiv2::Internal::TiffMnEntry::doCount (this=<optimized out>) at tiffcomposite.cpp:1025 #11 0x00000037a0122834 in Exiv2::Internal::TiffEncoder::updateDirEntry (this=this@entry=0x7fc651e0bda0, buf=buf@entry=0x7fc644002ddc "\222|", byteOrder=Exiv2::bigEndian, pTiffComponent=<optimized out>) at tiffvisitor.cpp:699 #12 0x00000037a0122947 in Exiv2::Internal::TiffEncoder::visitDirectoryNext (this=0x7fc651e0bda0, object=0x7fc64400bc20) at tiffvisitor.cpp:686 #13 0x00000037a0111744 in Exiv2::Internal::TiffDirectory::doAccept (this=0x7fc64400bc20, visitor=...) at tiffcomposite.cpp:917 #14 0x00000037a01115fe in Exiv2::Internal::TiffSubIfd::doAccept (this=0x7fc64400b810, visitor=...) at tiffcomposite.cpp:927 #15 0x00000037a01116d7 in Exiv2::Internal::TiffDirectory::doAccept (this=0x7fc64400b150, visitor=...) at tiffcomposite.cpp:915 #16 0x00000037a011a3b1 in Exiv2::Internal::TiffParserWorker::encode (io=..., pData=<optimized out>, size=<optimized out>, exifData=..., iptcData=..., xmpData=..., root=131072, findEncoderFct=0x37a0119910 <Exiv2::Internal::TiffMapping::findEncoder(std::string const&, unsigned int, Exiv2::Internal::IfdId)>, pHeader=0x7fc64400b200) at tiffimage.cpp:1821 #17 0x00000037a00b7d3d in Exiv2::ExifParser::encode (blob=std::vector of length 0, capacity 0, pData=0x7fc644002c80 "MM", size=14968, byteOrder=Exiv2::littleEndian, exifData=...) at exif.cpp:723 #18 0x00000037a00caa35 in Exiv2::JpegBase::doWriteMetadata (this=this@entry=0x7fc64401c000, outIo=...) at jpgimage.cpp:685 #19 0x00000037a00cc277 in Exiv2::JpegBase::writeMetadata (this=0x7fc64401c000) at jpgimage.cpp:510 #20 0x0000003faf6acc23 in Gwenview::JpegContent::save(QIODevice*) () from /lib64/libgwenviewlib.so.4 #21 0x0000003faf678dca in ?? () from /lib64/libgwenviewlib.so.4 #22 0x0000003faf67d910 in Gwenview::SaveJob::saveInternal() () from /lib64/libgwenviewlib.so.4 #23 0x0000003faf673ca6 in ?? () from /lib64/libgwenviewlib.so.4 #24 0x0000003faa46f56d in ?? () from /lib64/libQtCore.so.4 #25 0x0000003faa47b91c in ?? () from /lib64/libQtCore.so.4 #26 0x00000037242aa764 in ?? () from /usr/lib64/nvidia/libGL.so.1 #27 0x000000378da07d14 in start_thread (arg=0x7fc651e0d700) at pthread_create.c:309 #28 0x000000378d2f168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7fc65de558c0 (LWP 23127)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166 #1 0x0000003faa47be7b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4 #2 0x0000003faa46ed3f in ?? () from /lib64/libQtCore.so.4 #3 0x0000003faa4707ed in QThreadPool::~QThreadPool() () from /lib64/libQtCore.so.4 #4 0x0000003faa470829 in QThreadPool::~QThreadPool() () from /lib64/libQtCore.so.4 #5 0x0000003faa470855 in ?? () from /lib64/libQtCore.so.4 #6 0x000000378d238b81 in __run_exit_handlers (status=1, listp=0x378d5b0688, run_list_atexit=run_list_atexit@entry=true) at exit.c:78 #7 0x000000378d238c05 in __GI_exit (status=<optimized out>) at exit.c:100 #8 0x0000003fabe341d8 in ?? () from /lib64/libQtGui.so.4 #9 0x0000003fad445688 in KApplication::xioErrhandler(_XDisplay*) () from /lib64/libkdeui.so.5 #10 0x0000003790a455ce in _XIOError (dpy=dpy@entry=0x1a8dbc0) at XlibInt.c:1618 #11 0x0000003790a4306d in _XEventsQueued (dpy=dpy@entry=0x1a8dbc0, mode=mode@entry=2) at xcb_io.c:365 #12 0x0000003790a3462b in XEventsQueued (dpy=0x1a8dbc0, mode=2) at Pending.c:43 #13 0x0000003fabe6a44c in ?? () from /lib64/libQtGui.so.4 #14 0x000000378ee4760b in g_main_context_check (context=context@entry=0x1a7a540, max_priority=0, fds=fds@entry=0x2567280, n_fds=n_fds@entry=11) at gmain.c:3023 #15 0x000000378ee47a92 in g_main_context_iterate (context=context@entry=0x1a7a540, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3143 #16 0x000000378ee47c14 in g_main_context_iteration (context=0x1a7a540, may_block=1) at gmain.c:3207 #17 0x0000003faa5a5fc6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 #18 0x0000003fabe6a5ee in ?? () from /lib64/libQtGui.so.4 #19 0x0000003faa5766ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 #20 0x0000003faa576978 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 #21 0x0000003faa57b768 in QCoreApplication::exec() () from /lib64/libQtCore.so.4 #22 0x00000000004273a2 in ?? () #23 0x000000378d221735 in __libc_start_main (main=0x426f10, argc=6, ubp_av=0x7fff93312cc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff93312cb8) at libc-start.c:226 #24 0x0000000000427661 in _start () Possible duplicates by query: bug 311955, bug 303176, bug 301141, bug 295105. Reported using DrKonqi
Hi, could you have a look at http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports please, install the debug packages for gwenview and send us a new backtrace? Thanks.
Created attachment 76550 [details] Output from crash after installing debugging package. I reran the failing process after installing the debug package. After the failure the crash process generated the crash report. I tried to attach the report to the bug report but I was unable to do so.
That looks like a probem of the exiv2 library. Also ,the new attachment doesn't contain debug symbol for libgwenviewlib.so.4, eithe. But probably that is not important if exiv2 is the problem.
Indeed. I totally overlooked the assertion failure. So it looks like this exiv2 bug which has been fixed in exiv2-0.23: http://dev.exiv2.org/boards/3/topics/1116 Fedora 17 still seems to be using 0.22. I'm closing this as RESOLVED UPSTREAM, please reopen if this is still an issue with exiv2-0.23.
So how do I get exiv2-0.23? It is not available with yumex. Do I have to wait until someone creates the package for Fedora 17? Who would do that?
(In reply to comment #5) > So how do I get exiv2-0.23? It is not available with yumex. Do I have to > wait until someone creates the package for Fedora 17? Who would do that? That kind of distro specific question will be better answered in its specific support channels (forum, mailing list, irc).
*** Bug 314489 has been marked as a duplicate of this bug. ***
I had the same problem in Kubuntu 11.10, unable to rotate and save photos. First I updated system to Kubuntu 12.04 LTS, problem remained. Fix: Downloaded latest version of exiv2 from http://www.exiv2.org/ configure, make and make install . moved libraries (libexiv2*) from usr/local/lib to usr/lib. removed link pointing to libexiv2.so.11 and made a new link sudo ln -s libexiv2.so.12 libexiv2.so.11 removed all other libexiv2.so.11 files. rotate and save now working in gwenview. Locations may be different in Fedora. go find where libexiv2 is installed from you repro. then just move the new libraries from usr/local/lib and create a new link. Hope this helps you all.