Bug 368246 - digikam crashes by modifying picture
Summary: digikam crashes by modifying picture
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 4.14.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-09-04 19:57 UTC by radio
Modified: 2021-05-04 04:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description radio 2016-09-04 19:57:17 UTC
Application: digikam (4.14.0)
KDE Platform Version: 4.14.18
Qt Version: 4.8.6
Operating System: Linux 4.1.27-27-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Happens always, new started pc without other programs started.  Update of system does not change the situation. I assume interference with an other installation / update.

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 0x7fee161b0840 (LWP 2370))]

Thread 8 (Thread 0x7feddc029700 (LWP 2501)):
[KCrash Handler]
#6  0x00007fee0b474adb 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>) () at /usr/lib64/libexiv2.so.14
#7  0x00007fee0b47699b 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>) () at /usr/lib64/libexiv2.so.14
#8  0x00007fee0b474af5 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>) () at /usr/lib64/libexiv2.so.14
#9  0x00007fee0b47618a 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>) () at /usr/lib64/libexiv2.so.14
#10 0x00007fee0b474af5 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>) () at /usr/lib64/libexiv2.so.14
#11 0x00007fee0b4766e4 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>) () at /usr/lib64/libexiv2.so.14
#12 0x00007fee0b474af5 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>) () at /usr/lib64/libexiv2.so.14
#13 0x00007fee0b47618a 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>) () at /usr/lib64/libexiv2.so.14
#14 0x00007fee0b474af5 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>) () at /usr/lib64/libexiv2.so.14
#15 0x00007fee0b492a82 in Exiv2::Internal::TiffEncoder::add(Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent*, unsigned int) () at /usr/lib64/libexiv2.so.14
#16 0x00007fee0b4809f1 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*) () at /usr/lib64/libexiv2.so.14
#17 0x00007fee0b41824e in Exiv2::ExifParser::encode(std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned char const*, unsigned int, Exiv2::ByteOrder, Exiv2::ExifData const&) () at /usr/lib64/libexiv2.so.14
#18 0x00007fee0b4323e9 in Exiv2::JpegBase::doWriteMetadata(Exiv2::BasicIo&) () at /usr/lib64/libexiv2.so.14
#19 0x00007fee0b433b95 in Exiv2::JpegBase::writeMetadata() () at /usr/lib64/libexiv2.so.14
#20 0x00007fee1413420c in KExiv2Iface::KExiv2::Private::saveOperations(QFileInfo const&, std::auto_ptr<Exiv2::Image>) const () at /usr/lib64/libkexiv2.so.11
#21 0x00007fee141366ad in KExiv2Iface::KExiv2::Private::saveToFile(QFileInfo const&) const () at /usr/lib64/libkexiv2.so.11
#22 0x00007fee1413227a in KExiv2Iface::KExiv2::save(QString const&) const () at /usr/lib64/libkexiv2.so.11
#23 0x00007fee141328d9 in KExiv2Iface::KExiv2::applyChanges() const () at /usr/lib64/libkexiv2.so.11
#24 0x00007fee14894492 in Digikam::DMetadata::applyChanges() const () at /usr/lib64/libdigikamcore.so.4.14.0
#25 0x00000000006286ff in  ()
#26 0x00000000006315eb in  ()
#27 0x0000000000631be2 in  ()
#28 0x000000000063065c in  ()
#29 0x00007fee0f83745e in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#30 0x00007fee102296fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#31 0x00007fee1022fc3d in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#32 0x00007fee10f40e9a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#33 0x00007fee0f81f14d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#34 0x00007fee0f82241d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#35 0x00007fee0f84c7be in  () at /usr/lib64/libQtCore.so.4
#36 0x00007fee070dfc84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#37 0x00007fee070dfed8 in  () at /usr/lib64/libglib-2.0.so.0
#38 0x00007fee070dff7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#39 0x00007fee0f84bf7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#40 0x00007fee0f81dd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#41 0x00007fee0f81e005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#42 0x00007fee14908303 in  () at /usr/lib64/libdigikamcore.so.4.14.0
#43 0x00007fee0f711a8e in  () at /usr/lib64/libQtCore.so.4
#44 0x00007fee0f71db7f in  () at /usr/lib64/libQtCore.so.4
#45 0x00007fee0d4350a4 in start_thread () at /lib64/libpthread.so.0
#46 0x00007fee0ebc102d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fedd0ff9700 (LWP 2500)):
#0  0x00007fee0d4393e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fee0f71e044 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007fee0f711b9a in  () at /usr/lib64/libQtCore.so.4
#3  0x00007fee0f71db7f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007fee0d4350a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fee0ebc102d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7feddb828700 (LWP 2412)):
#0  0x00007fee0d4393e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fee0f71e044 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007fee0f711b9a in  () at /usr/lib64/libQtCore.so.4
#3  0x00007fee0f71db7f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007fee0d4350a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fee0ebc102d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fedf220a700 (LWP 2393)):
#0  0x00007fee0d43903f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fee0f71e066 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007fee14908c3a in  () at /usr/lib64/libdigikamcore.so.4.14.0
#3  0x00007fee0f71db7f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007fee0d4350a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fee0ebc102d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fedf2a0b700 (LWP 2376)):
#0  0x00007fee07121cf9 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fee070df387 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fee070dfd80 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fee070dff7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fee0f84bf9e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007fee0f81dd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007fee0f81e005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#7  0x00007fee0f71b49f in QThread::exec() () at /usr/lib64/libQtCore.so.4
#8  0x00007fee0f7ff613 in  () at /usr/lib64/libQtCore.so.4
#9  0x00007fee0f71db7f in  () at /usr/lib64/libQtCore.so.4
#10 0x00007fee0d4350a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fee0ebc102d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fedf320c700 (LWP 2374)):
#0  0x00007fee0d43903f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fee0f71e066 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00000000005e460e in  ()
#3  0x00007fee0f71db7f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007fee0d4350a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fee0ebc102d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fedfa12c700 (LWP 2372)):
#0  0x00007fee0ebc1f9d in recvmsg () at /lib64/libc.so.6
#1  0x00007fee0830aff9 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007fedfac7290b in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007fee0d4350a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fee0ebc102d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fee161b0840 (LWP 2370)):
#0  0x00007fee0d43903f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fee0f71e066 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007fee14908f04 in Digikam::WorkerObject::wait() () at /usr/lib64/libdigikamcore.so.4.14.0
#3  0x00007fee1490b0ec in Digikam::ParallelWorkers::wait() () at /usr/lib64/libdigikamcore.so.4.14.0
#4  0x000000000062a485 in  ()
#5  0x000000000062a4e7 in  ()
#6  0x00007fee0eb13b39 in __run_exit_handlers () at /lib64/libc.so.6
#7  0x00007fee0eb13b85 in  () at /lib64/libc.so.6
#8  0x00007fee1028ff88 in  () at /usr/lib64/libQtGui.so.4
#9  0x00007fee10f3fa50 in KApplication::xioErrhandler(_XDisplay*) () at /usr/lib64/libkdeui.so.5
#10 0x00007fee0c15b37e in _XIOError () at /usr/lib64/libX11.so.6
#11 0x00007fee0c158d3d in _XEventsQueued () at /usr/lib64/libX11.so.6
#12 0x00007fee0c14adcb in XEventsQueued () at /usr/lib64/libX11.so.6
#13 0x00007fee102c607c in  () at /usr/lib64/libQtGui.so.4
#14 0x00007fee070df8f1 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#15 0x00007fee070dfdf8 in  () at /usr/lib64/libglib-2.0.so.0
#16 0x00007fee070dff7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#17 0x00007fee0f84bf7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#18 0x00007fee102c6606 in  () at /usr/lib64/libQtGui.so.4
#19 0x00007fee0f81dd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#20 0x00007fee0f81e005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#21 0x00007fee0f823459 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#22 0x00000000004a1486 in  ()
#23 0x00007fee0eafdb25 in __libc_start_main () at /lib64/libc.so.6
#24 0x00000000004a3d2f in _start ()

Possible duplicates by query: bug 367913, bug 364880, bug 359674, bug 357340.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-09-04 20:41:15 UTC
It crash in Exiv2 shared lib while TIFF structure parsing

Report this problem to Exiv2 team

Gilles Caulier
Comment 2 caulier.gilles 2021-05-04 04:08:49 UTC
Not reproducible with digiKam 7.3.0 and Exiv2 0.27.4