Bug 357340 - digikam crashes when modifying picture
Summary: digikam crashes when modifying picture
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 4.13.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-30 14:24 UTC by Geza Giedke
Modified: 2020-07-26 12:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geza Giedke 2015-12-30 14:24:58 UTC
Application: digikam (4.13.0)
KDE Platform Version: 4.14.10
Qt Version: 4.8.6
Operating System: Linux 4.1.12-1-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Looking at a jpeg (reduced size preview), when I want to rotate it by 45ΒΊ digikam crashes and terminates ("(digikam:26548): GStreamer-CRITICAL **: gstsystemclock: write control failed in wakeup_async: 9:Bad file descriptor")
I 'm running digikam 4.13.0 on openSuse LEAP 42 with the lxde desktop.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f52be368880 (LWP 25913))]

Thread 6 (Thread 0x7f52a1029700 (LWP 25916)):
#0  0x00007f52b6d5afbd in recvmsg () from /lib64/libc.so.6
#1  0x00007f52afd0e799 in udev_monitor_receive_device () from /usr/lib64/libudev.so.1
#2  0x00007f52a1b6f90b in ?? () from /usr/lib64/libusb-1.0.so.0
#3  0x00007f52b40cd0a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f52b6d5a04d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f5299c5b700 (LWP 25917)):
#0  0x00007f52b40d105f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f52b78b40a6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005e483e in ?? ()
#3  0x00007f52b78b3bbf in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f52b40cd0a4 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f52b6d5a04d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f529945a700 (LWP 25918)):
#0  0x00007f52b6d51c1d in poll () from /lib64/libc.so.6
#1  0x00007f52aeae2e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f52aeae2f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f52b79e1fde in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f52b79b3d4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f52b79b4045 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f52b78b14df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f52b7995653 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f52b78b3bbf in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f52b40cd0a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f52b6d5a04d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5298c59700 (LWP 25920)):
#0  0x00007f52b40d105f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f52b78b40a6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f52bbedc84a in ?? () from /usr/lib64/libdigikamcore.so.4.13.0
#3  0x00007f52b78b3bbf in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f52b40cd0a4 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f52b6d5a04d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f527ab6a700 (LWP 25936)):
[KCrash Handler]
#6  0x00007f52b64b6adb in Exiv2::Internal::TiffComponent::addPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>) () from /usr/lib64/libexiv2.so.14
#7  0x00007f52b64b899b in Exiv2::Internal::TiffMnEntry::doAddPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>) () from /usr/lib64/libexiv2.so.14
#8  0x00007f52b64b6af5 in Exiv2::Internal::TiffComponent::addPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>) () from /usr/lib64/libexiv2.so.14
#9  0x00007f52b64b818a in Exiv2::Internal::TiffDirectory::doAddPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>) () from /usr/lib64/libexiv2.so.14
#10 0x00007f52b64b6af5 in Exiv2::Internal::TiffComponent::addPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>) () from /usr/lib64/libexiv2.so.14
#11 0x00007f52b64b86e4 in Exiv2::Internal::TiffSubIfd::doAddPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>) () from /usr/lib64/libexiv2.so.14
#12 0x00007f52b64b6af5 in Exiv2::Internal::TiffComponent::addPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>) () from /usr/lib64/libexiv2.so.14
#13 0x00007f52b64b818a in Exiv2::Internal::TiffDirectory::doAddPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>) () from /usr/lib64/libexiv2.so.14
#14 0x00007f52b64b6af5 in Exiv2::Internal::TiffComponent::addPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>) () from /usr/lib64/libexiv2.so.14
#15 0x00007f52b64d4a82 in Exiv2::Internal::TiffEncoder::add(Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent*, unsigned int) () from /usr/lib64/libexiv2.so.14
#16 0x00007f52b64c29f1 in Exiv2::Internal::TiffParserWorker::encode(Exiv2::BasicIo&, unsigned char const*, unsigned int, Exiv2::ExifData const&, Exiv2::IptcData const&, Exiv2::XmpData const&, unsigned int, void (Exiv2::Internal::TiffEncoder::*(*)(std::string const&, unsigned int, Exiv2::Internal::IfdId))(Exiv2::Internal::TiffEntryBase*, Exiv2::Exifdatum const*), Exiv2::Internal::TiffHeaderBase*, Exiv2::Internal::OffsetWriter*) () from /usr/lib64/libexiv2.so.14
#17 0x00007f52b645a24e in Exiv2::ExifParser::encode(std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned char const*, unsigned int, Exiv2::ByteOrder, Exiv2::ExifData const&) () from /usr/lib64/libexiv2.so.14
#18 0x00007f52b64743e9 in Exiv2::JpegBase::doWriteMetadata(Exiv2::BasicIo&) () from /usr/lib64/libexiv2.so.14
#19 0x00007f52b6475b95 in Exiv2::JpegBase::writeMetadata() () from /usr/lib64/libexiv2.so.14
#20 0x00007f52bda9b1d6 in KExiv2Iface::KExiv2::Private::saveOperations(QFileInfo const&, std::auto_ptr<Exiv2::Image>) const () from /usr/lib64/libkexiv2.so.11
#21 0x00007f52bda9d5cd in KExiv2Iface::KExiv2::Private::saveToFile(QFileInfo const&) const () from /usr/lib64/libkexiv2.so.11
#22 0x00007f52bda9919a in KExiv2Iface::KExiv2::save(QString const&) const () from /usr/lib64/libkexiv2.so.11
#23 0x00007f52bda997f9 in KExiv2Iface::KExiv2::applyChanges() const () from /usr/lib64/libkexiv2.so.11
#24 0x00007f52bbe680a2 in Digikam::DMetadata::applyChanges() const () from /usr/lib64/libdigikamcore.so.4.13.0
#25 0x00000000006278df in ?? ()
#26 0x00000000006307cb in ?? ()
#27 0x0000000000630dc2 in ?? ()
#28 0x000000000062f83c in ?? ()
#29 0x00007f52b79cd49e in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#30 0x00007f52b83c379c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f52b83c9cdd in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#32 0x00007f52b90dae1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#33 0x00007f52b79b518d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#34 0x00007f52b79b845d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#35 0x00007f52b79e27fe in ?? () from /usr/lib64/libQtCore.so.4
#36 0x00007f52aeae2c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f52aeae2ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f52aeae2f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f52b79e1fbe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#40 0x00007f52b79b3d4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#41 0x00007f52b79b4045 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#42 0x00007f52bbedbf13 in ?? () from /usr/lib64/libdigikamcore.so.4.13.0
#43 0x00007f52b78a7ace in ?? () from /usr/lib64/libQtCore.so.4
#44 0x00007f52b78b3bbf in ?? () from /usr/lib64/libQtCore.so.4
#45 0x00007f52b40cd0a4 in start_thread () from /lib64/libpthread.so.0
#46 0x00007f52b6d5a04d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f52be368880 (LWP 25913)):
#0  0x00007f52b40d105f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f52b78b40a6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f52bbedcb14 in Digikam::WorkerObject::wait() () from /usr/lib64/libdigikamcore.so.4.13.0
#3  0x00007f52bbedecfc in Digikam::ParallelWorkers::wait() () from /usr/lib64/libdigikamcore.so.4.13.0
#4  0x0000000000629665 in ?? ()
#5  0x00000000006296c7 in ?? ()
#6  0x00007f52b6cacbf9 in __run_exit_handlers () from /lib64/libc.so.6
#7  0x00007f52b6cacc45 in exit () from /lib64/libc.so.6
#8  0x00007f52b842a028 in ?? () from /usr/lib64/libQtGui.so.4
#9  0x00007f52b90d99d0 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#10 0x00007f52b2b4a37e in _XIOError () from /usr/lib64/libX11.so.6
#11 0x00007f52b2b47d3d in _XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x00007f52b2b39dcb in XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007f52b846011c in ?? () from /usr/lib64/libQtGui.so.4
#14 0x00007f52aeae28f1 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f52aeae2df8 in ?? () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f52aeae2f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f52b79e1fbe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#18 0x00007f52b84606a6 in ?? () from /usr/lib64/libQtGui.so.4
#19 0x00007f52b79b3d4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#20 0x00007f52b79b4045 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#21 0x00007f52b79b9499 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#22 0x00000000004a1206 in ?? ()
#23 0x00007f52b6c96b05 in __libc_start_main () from /lib64/libc.so.6
#24 0x00000000004a3aaf in _start ()

Possible duplicates by query: bug 351638, bug 350367.

Reported using DrKonqi
Comment 1 caulier.gilles 2015-12-30 18:08:25 UTC
I suspect that you use Exiv2 0.24 with digiKam. Look in Help/Component Info dialog for details.

Please update to Exiv2 0.25 which include a lots of fixes. digiKam and libkexiv2 need to be recompiled.

Gilles Caulier

*** This bug has been marked as a duplicate of bug 350367 ***
Comment 2 caulier.gilles 2020-07-26 12:44:19 UTC
Fixed with #350367