[Digikam-devel] [digikam] [Bug 350367] New: Digikam crash when saving edited picture

Thomas kheops46230 at gmail.com
Sun Jul 19 10:55:34 BST 2015


https://bugs.kde.org/show_bug.cgi?id=350367

            Bug ID: 350367
           Summary: Digikam crash when saving edited picture
           Product: digikam
           Version: 4.11.0
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: kheops46230 at gmail.com

Application: digikam (4.11.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-37-generic x86_64
Distribution: Linux Mint 17.1 Rebecca

-- Information about the crash:
- What I was doing when the application crashed:
I opened a JPG file in the image editor and modified it. Then when I try to
save or save as the file Digikam crash. So I'm unable to save modification done
in the Image Editor.
System Info : 
Linux Mint 17.1
Qt: 4.8.6
KDE Development Platform: 4.14.2
digiKam: 4.11.0

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
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:185
[Current thread is 1 (Thread 0x7fd999e72ac0 (LWP 4200))]

Thread 5 (Thread 0x7fd96f95d700 (LWP 4201)):
#0  0x00007fd992a3d12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd9750f8248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fd98fb70182 in start_thread (arg=0x7fd96f95d700) at
pthread_create.c:312
#3  0x00007fd992a4a47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fd966291700 (LWP 4202)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd993525816 in wait (time=18446744073709551615, this=0x1937780) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x19376c0,
mutex=mutex at entry=0x19376b8, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00000000005db1ee in Digikam::ScanController::run (this=0x18b3c00) at
/build/digikam-2XzB7s/digikam-4.11.0/core/app/database/scancontroller.cpp:725
#4  0x00007fd99352532f in QThreadPrivate::start (arg=0x18b3c00) at
thread/qthread_unix.cpp:349
#5  0x00007fd98fb70182 in start_thread (arg=0x7fd966291700) at
pthread_create.c:312
#6  0x00007fd992a4a47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fd965a90700 (LWP 4203)):
#0  0x00007fd98ab50610 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd98ab509a9 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd98ab0ef91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd98ab0f0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd9936547be in QEventDispatcherGlib::processEvents
(this=0x7fd9580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fd9936260af in QEventLoop::processEvents
(this=this at entry=0x7fd965a8fae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd9936263a5 in QEventLoop::exec (this=this at entry=0x7fd965a8fae0,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fd993522c5f in QThread::exec (this=this at entry=0x19388b0) at
thread/qthread.cpp:537
#8  0x00007fd993607823 in QInotifyFileSystemWatcherEngine::run (this=0x19388b0)
at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fd99352532f in QThreadPrivate::start (arg=0x19388b0) at
thread/qthread_unix.cpp:349
#10 0x00007fd98fb70182 in start_thread (arg=0x7fd965a90700) at
pthread_create.c:312
#11 0x00007fd992a4a47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fd9157fa700 (LWP 4286)):
[KCrash Handler]
#6  0x00007fd992986cc9 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fd99298a0d8 in __GI_abort () at abort.c:89
#8  0x00007fd99297fb86 in __assert_fail_base (fmt=0x7fd999e5d05f
"%s%s%s\302\240:%u\302\240:\302\240%s%s l'assertion
\302\253\302\240%s\302\240\302\273 a \303\251chou\303\251.\n%n",
assertion=assertion at entry=0x7fd990c088d8 "mn_", file=file at entry=0x7fd990c08832
"tiffcomposite.cpp", line=line at entry=749,
function=function at entry=0x7fd990c09260
<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>)::__PRETTY_FUNCTION__> "virtual
Exiv2::Internal::TiffComponent*
Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&,
Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr)") at
assert.c:92
#9  0x00007fd99297fc32 in __GI___assert_fail (assertion=0x7fd990c088d8 "mn_",
file=0x7fd990c08832 "tiffcomposite.cpp", line=749, function=0x7fd990c09260
<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>)::__PRETTY_FUNCTION__> "virtual
Exiv2::Internal::TiffComponent*
Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&,
Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr)") at
assert.c:101
#10 0x00007fd990b1fc66 in Exiv2::Internal::TiffMnEntry::doAddPath
(this=0x7fd8e8059450, tag=<optimized out>, tiffPath=..., pRoot=<optimized out>,
object=...) at tiffcomposite.cpp:749
#11 0x00007fd990b1e0a5 in Exiv2::Internal::TiffComponent::addPath
(this=this at entry=0x7fd8e8059450, tag=tag at entry=2, tiffPath=...,
pRoot=pRoot at entry=0x7fd8e80252d0, object=...) at tiffcomposite.cpp:634
#12 0x00007fd990b1f2f2 in Exiv2::Internal::TiffDirectory::doAddPath
(this=<optimized out>, tag=<optimized out>, tiffPath=..., pRoot=0x7fd8e80252d0,
object=...) at tiffcomposite.cpp:694
#13 0x00007fd990b1e0a5 in Exiv2::Internal::TiffComponent::addPath
(this=<optimized out>, tag=tag at entry=2, tiffPath=...,
pRoot=pRoot at entry=0x7fd8e80252d0, object=...) at tiffcomposite.cpp:634
#14 0x00007fd990b1f8cd in Exiv2::Internal::TiffSubIfd::doAddPath
(this=0x7fd8e8058ec0, tag=<optimized out>, tiffPath=..., pRoot=0x7fd8e80252d0,
object=...) at tiffcomposite.cpp:729
#15 0x00007fd990b1e0a5 in Exiv2::Internal::TiffComponent::addPath
(this=this at entry=0x7fd8e8058ec0, tag=tag at entry=2, tiffPath=...,
pRoot=pRoot at entry=0x7fd8e80252d0, object=...) at tiffcomposite.cpp:634
#16 0x00007fd990b1f2f2 in Exiv2::Internal::TiffDirectory::doAddPath
(this=<optimized out>, tag=<optimized out>, tiffPath=..., pRoot=0x7fd8e80252d0,
object=...) at tiffcomposite.cpp:694
#17 0x00007fd990b1e0a5 in Exiv2::Internal::TiffComponent::addPath
(this=this at entry=0x7fd8e80252d0, tag=<optimized out>, tiffPath=...,
pRoot=pRoot at entry=0x7fd8e80252d0, object=...) at tiffcomposite.cpp:634
#18 0x00007fd990b3c802 in Exiv2::Internal::TiffEncoder::add
(this=this at entry=0x7fd9157f7ce0, pRootDir=pRootDir at entry=0x7fd8e80252d0,
pSourceDir=pSourceDir at entry=0x0, root=root at entry=131072) at
tiffvisitor.cpp:1094
#19 0x00007fd990b299f1 in Exiv2::Internal::TiffParserWorker::encode (io=...,
pData=pData at entry=0x0, size=size at entry=0, exifData=..., iptcData=...,
xmpData=..., root=root at entry=131072, findEncoderFct=0x7fd990b26370
<Exiv2::Internal::TiffMapping::findEncoder(std::string const&, unsigned int,
Exiv2::Internal::IfdId)>, pHeader=pHeader at entry=0x7fd8e8025380,
pOffsetWriter=pOffsetWriter at entry=0x0) at tiffimage.cpp:2164
#20 0x00007fd990ab7bde in Exiv2::ExifParser::encode (blob=..., pData=0x0,
size=0, byteOrder=Exiv2::littleEndian, exifData=...) at exif.cpp:719
#21 0x00007fd990ad1f29 in Exiv2::JpegBase::doWriteMetadata
(this=this at entry=0x7fd8e804bf50, outIo=...) at jpgimage.cpp:837
#22 0x00007fd990ad36ca in Exiv2::JpegBase::writeMetadata (this=0x7fd8e804bf50)
at jpgimage.cpp:662
#23 0x00007fd99827b7d6 in KExiv2Iface::KExiv2::Private::saveOperations
(this=this at entry=0x7fd8e8002420, finfo=..., image=...) at
../../libkexiv2/kexiv2_p.cpp:312
#24 0x00007fd99827dbdd in KExiv2Iface::KExiv2::Private::saveToFile
(this=0x7fd8e8002420, finfo=...) at ../../libkexiv2/kexiv2_p.cpp:155
#25 0x00007fd99827979a in KExiv2Iface::KExiv2::save (this=0x7fd9157f9280,
imageFilePath=...) at ../../libkexiv2/kexiv2.cpp:448
#26 0x00007fd998279df9 in KExiv2Iface::KExiv2::applyChanges
(this=this at entry=0x7fd9157f9280) at ../../libkexiv2/kexiv2.cpp:476
#27 0x00007fd997b84b42 in Digikam::DMetadata::applyChanges
(this=this at entry=0x7fd9157f9280) at
/build/digikam-2XzB7s/digikam-4.11.0/core/libs/dmetadata/dmetadata.cpp:130
#28 0x00007fd997a34ff5 in Digikam::DImgLoader::saveMetadata
(this=0x7fd9157f9a00, filePath=...) at
/build/digikam-2XzB7s/digikam-4.11.0/core/libs/dimg/loaders/dimgloader.cpp:290
#29 0x00007fd997a3a2f5 in Digikam::JPEGLoader::save
(this=this at entry=0x7fd9157f9a00, filePath=...,
observer=observer at entry=0x540b840) at
/build/digikam-2XzB7s/digikam-4.11.0/core/libs/dimg/loaders/jpegloader.cpp:907
#30 0x00007fd997a0fe20 in Digikam::DImg::save (this=this at entry=0x540b858,
filePath=..., format=..., observer=observer at entry=0x540b840) at
/build/digikam-2XzB7s/digikam-4.11.0/core/libs/dimg/dimg.cpp:681
#31 0x00007fd997bda49f in Digikam::SavingTask::execute (this=0x540b830) at
/build/digikam-2XzB7s/digikam-4.11.0/core/libs/threadimageio/loadsavetask.cpp:457
#32 0x00007fd997bcc046 in Digikam::LoadSaveThread::run (this=0x43431b0) at
/build/digikam-2XzB7s/digikam-4.11.0/core/libs/threadimageio/loadsavethread.cpp:136
#33 0x00007fd997bfadce in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x4344730) at
/build/digikam-2XzB7s/digikam-4.11.0/core/libs/threads/dynamicthread.cpp:186
#34 0x00007fd993518fee in QThreadPoolThread::run (this=0x31ac5c0) at
concurrent/qthreadpool.cpp:108
#35 0x00007fd99352532f in QThreadPrivate::start (arg=0x31ac5c0) at
thread/qthread_unix.cpp:349
#36 0x00007fd98fb70182 in start_thread (arg=0x7fd9157fa700) at
pthread_create.c:312
#37 0x00007fd992a4a47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fd999e72ac0 (LWP 4200)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd993525816 in wait (time=18446744073709551615, this=0x1c84930) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x1a00950,
mutex=mutex at entry=0x1a00928, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007fd993518242 in QThreadPoolPrivate::waitForDone (this=0x1a008a0,
msecs=msecs at entry=-1) at concurrent/qthreadpool.cpp:295
#4  0x00007fd9935196b5 in QThreadPool::~QThreadPool (this=0x1c85370,
__in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:438
#5  0x00007fd9935196e9 in QThreadPool::~QThreadPool (this=0x1c85370,
__in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#6  0x00007fd99363e168 in QObjectPrivate::deleteChildren
(this=this at entry=0x1c9bb10) at kernel/qobject.cpp:1907
#7  0x00007fd9936406ff in QObject::~QObject (this=0x1c99b10,
__in_chrg=<optimized out>) at kernel/qobject.cpp:926
#8  0x00007fd997bf7f47 in ~ThreadManagerCreator (this=0x1c99b10,
__in_chrg=<optimized out>) at
/build/digikam-2XzB7s/digikam-4.11.0/core/libs/threads/threadmanager.cpp:236
#9  destroy () at
/build/digikam-2XzB7s/digikam-4.11.0/core/libs/threads/threadmanager.cpp:241
#10 0x00007fd99298c259 in __run_exit_handlers (status=1, listp=0x7fd992d0e6c8
<__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
#11 0x00007fd99298c2a5 in __GI_exit (status=<optimized out>) at exit.c:104
#12 0x00007fd97db2a224 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#13 0x00007fd994d23880 in KApplication::xioErrhandler (this=0x7fffe7863a60,
dpy=0x1684ab0) at ../../kdeui/kernel/kapplication.cpp:419
#14 0x00007fd9914475ee in _XIOError () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fd991444fed in _XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007fd9914370db in XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#17 0x00007fd9940bb65c in x11EventSourceCheck (s=0x1682860) at
kernel/qguieventdispatcher_glib.cpp:85
#18 0x00007fd98ab0ea61 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fd98ab0ef7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fd98ab0f0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fd9936547a1 in QEventDispatcherGlib::processEvents (this=0x1599fd0,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#22 0x00007fd9940bbbe6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007fd9936260af in QEventLoop::processEvents
(this=this at entry=0x7fffe7863570, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007fd9936263a5 in QEventLoop::exec (this=this at entry=0x7fffe7863570,
flags=...) at kernel/qeventloop.cpp:204
#25 0x00007fd99362bb79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#26 0x00007fd99401837c in QApplication::exec () at kernel/qapplication.cpp:3828
#27 0x0000000000497bc6 in main (argc=<optimized out>, argv=<optimized out>) at
/build/digikam-2XzB7s/digikam-4.11.0/core/app/main/main.cpp:230

Possible duplicates by query: bug 343257, bug 342010, bug 341307, bug 341024.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list