Bug 272332

Summary: Moving a versioned file crashes digikam
Product: [Applications] digikam Reporter: Leo <sir_kalot>
Component: Database-FilesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, vivo75+kde
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.0.0
Sentry Crash Report:
Attachments: A new image moved

Description Leo 2011-05-03 16:24:24 UTC
Application: digikam (2.0.0-beta4)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Take a RAW image, modify it and save it as a new version.
Crate a subfolder and try to move the image from one folder to the other, digikam2 crashes

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7ff59d2429e0 (LWP 27460))]

Thread 15 (Thread 0x7ff576f60700 (LWP 27461)):
[KCrash Handler]
#6  ref (this=0x7ff576f5f310, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QExplicitlySharedDataPointer (this=0x7ff576f5f310, other=...) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:162
#8  QDateTime::QDateTime (this=0x7ff576f5f310, other=...) at tools/qdatetime.cpp:2180
#9  0x00007ff5996575a3 in Digikam::ImageInfo::dateTime (this=0x7ff570641138) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/imageinfo.cpp:527
#10 0x00007ff5996584ab in Digikam::ImageInfo::historyImageId (this=0x7ff570641138) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/imageinfo.cpp:1052
#11 0x00007ff5996baaa4 in Digikam::ImageHistoryGraph::addHistory (this=0x7ff576f5f6b0, givenHistory=..., historySubject=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/imagehistory/imagehistorygraph.cpp:526
#12 0x00007ff5996bac99 in Digikam::ImageHistoryGraph::fromInfo (info=..., loadingMode=<value optimized out>, processingMode=Digikam::ImageHistoryGraph::NoProcessing) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/imagehistory/imagehistorygraph.cpp:511
#13 0x00007ff599680bdc in Digikam::ImageScanner::tagImageHistoryGraph (id=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/imagescanner.cpp:685
#14 0x00007ff599628fdd in Digikam::CollectionScanner::historyScanningStage3 (this=0x7ff576f5fa60, ids=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/collectionscanner.cpp:1091
#15 0x00007ff599629892 in Digikam::CollectionScanner::finishHistoryScanning (this=0x7ff576f5fa60) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/collectionscanner.cpp:1051
#16 0x00007ff59963063f in Digikam::CollectionScanner::partialScan (this=0x7ff576f5fa60, albumRoot=<value optimized out>, album=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/collectionscanner.cpp:417
#17 0x00007ff599630b25 in Digikam::CollectionScanner::partialScan (this=0x7ff576f5fa60, filePath=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/collectionscanner.cpp:347
#18 0x00000000005ff577 in Digikam::ScanController::run (this=0xec0a40) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/digikam/database/scancontroller.cpp:643
#19 0x00007ff5952d927e in QThreadPrivate::start (arg=0xec0a40) at thread/qthread_unix.cpp:266
#20 0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#21 0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#22 0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7ff57675f700 (LWP 27462)):
#0  0x00007ff5942a8203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff58e711009 in g_main_context_poll (context=0xe5d570, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:3093
#2  g_main_context_iterate (context=0xe5d570, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2775
#3  0x00007ff58e71145c in g_main_context_iteration (context=0xe5d570, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#4  0x00007ff5953f91e6 in QEventDispatcherGlib::processEvents (this=0xedf810, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007ff5953cba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007ff5953cbdec in QEventLoop::exec (this=0x7ff57675ea70, flags=) at kernel/qeventloop.cpp:201
#7  0x00007ff5952d62fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007ff5953ab5f8 in QInotifyFileSystemWatcherEngine::run (this=0xee3f90) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ff5952d927e in QThreadPrivate::start (arg=0xee3f90) at thread/qthread_unix.cpp:266
#10 0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7ff575f56700 (LWP 27466)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5952d9e3b in wait (this=<value optimized out>, mutex=0x1292ef8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1292ef8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff599ccc4f2 in Digikam::ParkingThread::run (this=0x1292ee0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threads/threadmanager.cpp:119
#4  0x00007ff5952d927e in QThreadPrivate::start (arg=0x1292ee0) at thread/qthread_unix.cpp:266
#5  0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7ff574ed0700 (LWP 27467)):
#0  0x00007ff5942a8203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff58e711009 in g_main_context_poll (context=0x1471a30, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:3093
#2  g_main_context_iterate (context=0x1471a30, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2775
#3  0x00007ff58e71145c in g_main_context_iteration (context=0x1471a30, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#4  0x00007ff5953f91e6 in QEventDispatcherGlib::processEvents (this=0x1471480, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007ff5953cba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007ff5953cbdec in QEventLoop::exec (this=0x7ff574ecfa70, flags=) at kernel/qeventloop.cpp:201
#7  0x00007ff5952d62fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007ff5953ab5f8 in QInotifyFileSystemWatcherEngine::run (this=0x1470850) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ff5952d927e in QThreadPrivate::start (arg=0x1470850) at thread/qthread_unix.cpp:266
#10 0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ff565213700 (LWP 27468)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007ff56b5b20d1 in metronom_sync_loop (this=0x15c8820) at metronom.c:870
#2  0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ff563fda700 (LWP 27469)):
#0  0x00007ff5942ad2c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff56b5db385 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#2  0x00007ff56b5bfd09 in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246
#3  0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#5  0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff5637d9700 (LWP 27470)):
#0  0x00007ff5942a8203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff58e711009 in g_main_context_poll (context=0x19fa250, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:3093
#2  g_main_context_iterate (context=0x19fa250, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2775
#3  0x00007ff58e71145c in g_main_context_iteration (context=0x19fa250, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#4  0x00007ff5953f91e6 in QEventDispatcherGlib::processEvents (this=0x19f9880, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007ff5953cba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007ff5953cbdec in QEventLoop::exec (this=0x7ff5637d8a50, flags=) at kernel/qeventloop.cpp:201
#7  0x00007ff5952d62fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007ff56b80d830 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x00007ff5952d927e in QThreadPrivate::start (arg=0x19f9770) at thread/qthread_unix.cpp:266
#10 0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff562dd3700 (LWP 27471)):
#0  0x00007ff5942a8203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff593fb940f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007ff593fa8d76 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007ff593faa7f9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007ff593faa8b0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007ff593fb920b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007ff58aaa6fb8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff55e5d1700 (LWP 27472)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff56b5c2e83 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#5  0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff5558b7700 (LWP 27537)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007ff5952d9da2 in wait (this=<value optimized out>, mutex=0x12934b0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12934b0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5952ceda2 in QThreadPoolThread::run (this=0x30928e0) at concurrent/qthreadpool.cpp:140
#4  0x00007ff5952d927e in QThreadPrivate::start (arg=0x30928e0) at thread/qthread_unix.cpp:266
#5  0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff5560b8700 (LWP 27538)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007ff5952d9da2 in wait (this=<value optimized out>, mutex=0x12934b0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12934b0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5952ceda2 in QThreadPoolThread::run (this=0x3c97e20) at concurrent/qthreadpool.cpp:140
#4  0x00007ff5952d927e in QThreadPrivate::start (arg=0x3c97e20) at thread/qthread_unix.cpp:266
#5  0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff55ddd0700 (LWP 27539)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5952d8533 in QMutexPrivate::wait (this=0xe6ff50, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007ff5952d3ee5 in QMutex::lock (this=0xed35a0) at thread/qmutex.cpp:167
#3  0x00007ff59963fe59 in Digikam::DatabaseAccess::DatabaseAccess (this=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/databaseaccess.cpp:100
#4  0x00007ff59965ba1e in Digikam::ImageInfo::ImageInfo (this=0x7ff55ddcf420, url=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/imageinfo.cpp:170
#5  0x00007ff59964ecca in Digikam::DatabaseThumbnailInfoProvider::thumbnailInfo (this=<value optimized out>, path=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/databasethumbnailinfoprovider.cpp:45
#6  0x00007ff599ca4208 in Digikam::ThumbnailCreator::makeThumbnailInfo (this=0x1df5650, path=..., rect=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailcreator.cpp:345
#7  0x00007ff599ca559f in Digikam::ThumbnailCreator::load (this=0x1df5650, path=<value optimized out>, rect=..., pregenerate=false) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailcreator.cpp:225
#8  0x00007ff599ca5ce2 in Digikam::ThumbnailCreator::load (this=0x80, path=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailcreator.cpp:196
#9  0x00007ff599cafb4c in Digikam::ThumbnailLoadingTask::execute (this=0x42fbe00) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/thumbnailtask.cpp:169
#10 0x00007ff599c86f26 in Digikam::LoadSaveThread::run (this=0x1df55e0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threadimageio/loadsavethread.cpp:117
#11 0x00007ff599cce16e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1df4840) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threads/dynamicthread.cpp:328
#12 0x00007ff5952ced02 in QThreadPoolThread::run (this=0x2337170) at concurrent/qthreadpool.cpp:106
#13 0x00007ff5952d927e in QThreadPrivate::start (arg=0x2337170) at thread/qthread_unix.cpp:266
#14 0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#15 0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#16 0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff55d5cf700 (LWP 27540)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007ff5952d9da2 in wait (this=<value optimized out>, mutex=0x12934b0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12934b0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5952ceda2 in QThreadPoolThread::run (this=0x24fa190) at concurrent/qthreadpool.cpp:140
#4  0x00007ff5952d927e in QThreadPrivate::start (arg=0x24fa190) at thread/qthread_unix.cpp:266
#5  0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff54bb3a700 (LWP 27541)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007ff5952d9da2 in wait (this=<value optimized out>, mutex=0x12934b0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12934b0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5952ceda2 in QThreadPoolThread::run (this=0x4b4ea20) at concurrent/qthreadpool.cpp:140
#4  0x00007ff5952d927e in QThreadPrivate::start (arg=0x4b4ea20) at thread/qthread_unix.cpp:266
#5  0x00007ff58a36d853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007ff58fd74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007ff5942b492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff59d2429e0 (LWP 27460)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5952d8533 in QMutexPrivate::wait (this=0xe6ff50, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007ff5952d3ee5 in QMutex::lock (this=0xed35a0) at thread/qmutex.cpp:167
#3  0x00007ff59963fe59 in Digikam::DatabaseAccess::DatabaseAccess (this=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/databaseaccess.cpp:100
#4  0x00007ff59965b2a7 in Digikam::ImageInfo::ImageInfo (this=0x7ffff60416c0, ID=128) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/imageinfo.cpp:138
#5  0x00007ff59965d772 in Digikam::ImageInfoList::ImageInfoList (this=0x7ffff6041700, idList=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/database/imageinfolist.cpp:37
#6  0x00007ff5996eec3b in Digikam::ImageListModel::slotCollectionImageChange (this=0x1d66b58, changeset=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/models/imagelistmodel.cpp:67
#7  0x00007ff5996eedd6 in Digikam::ImageListModel::qt_metacall (this=0x1d66b58, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ff5500aa840) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-x86_64-linux-gnu/digikam/imagelistmodel.moc:78
#8  0x00007ff5953debde in QObject::event (this=0x1d66b58, e=0xe6ff9c) at kernel/qobject.cpp:1219
#9  0x00007ff59600afdc in QApplicationPrivate::notify_helper (this=0xdbf920, receiver=0x1d66b58, e=0x7ff55008f9a0) at kernel/qapplication.cpp:4396
#10 0x00007ff596010aed in QApplication::notify (this=0x7ffff60422b0, receiver=0x1d66b58, e=0x7ff55008f9a0) at kernel/qapplication.cpp:4277
#11 0x00007ff596d9b2f6 in KApplication::notify (this=0x7ffff60422b0, receiver=0x1d66b58, event=0x7ff55008f9a0) at ../../kdeui/kernel/kapplication.cpp:311
#12 0x00007ff5953cccdc in QCoreApplication::notifyInternal (this=0x7ffff60422b0, receiver=0x1d66b58, event=0x7ff55008f9a0) at kernel/qcoreapplication.cpp:732
#13 0x00007ff5953cfc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xd4e910) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xd4e910) at kernel/qcoreapplication.cpp:1373
#15 0x00007ff5953f9653 in sendPostedEvents (s=0xdc3410) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#16 postEventSourceDispatch (s=0xdc3410) at kernel/qeventdispatcher_glib.cpp:277
#17 0x00007ff58e70d342 in g_main_dispatch (context=0xdc21f0) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
#18 g_main_context_dispatch (context=0xdc21f0) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
#19 0x00007ff58e7112a8 in g_main_context_iterate (context=0xdc21f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
#20 0x00007ff58e71145c in g_main_context_iteration (context=0xdc21f0, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#21 0x00007ff5953f9193 in QEventDispatcherGlib::processEvents (this=0xd4e120, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#22 0x00007ff5960bda4e in QGuiEventDispatcherGlib::processEvents (this=0xe6ff9c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007ff5953cba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007ff5953cbdec in QEventLoop::exec (this=0x7ffff6042110, flags=) at kernel/qeventloop.cpp:201
#25 0x00007ff5953cfebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#26 0x00000000006edb0d in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 Leo 2011-05-03 16:25:53 UTC
the image is moved this means that the crash is after that
Comment 2 Marcel Wiesweg 2011-05-12 22:36:36 UTC
Assume you have one original image, edit it with one simple operation (like rotate or auto color correction), save it, move it, crash - can you provide the original file so I can try to reproduce? Private mail would be fine.
Comment 3 Leo 2011-05-16 09:55:06 UTC
On 12/05/2011 22:36, Marcel Wiesweg wrote:
> https://bugs.kde.org/show_bug.cgi?id=272332
>
>
>
>
>
> --- Comment #2 from Marcel Wiesweg<marcel wiesweg gmx de>   2011-05-12 22:36:36 ---
> Assume you have one original image, edit it with one simple operation (like
> rotate or auto color correction), save it, move it, crash - can you provide the
> original file so I can try to reproduce? Private mail would be fine.
>
Hi,
I don't remeber now which was now, but as soon it happends I will post 
you one.

Leo
Comment 4 Leo 2011-05-25 09:34:41 UTC
Created attachment 60296 [details]
A new image moved

The image has ben moved/saved and then DK crashed
Comment 5 Marcel Wiesweg 2011-05-30 21:58:00 UTC
Thanks.
Unfortunately, I still cannot reproduce and do not even see a valgrind error.
Very difficult to fix then because I dont know and cannot find out what is the actual problem.
Comment 6 caulier.gilles 2011-06-05 16:49:47 UTC
Marcel i can reproduce the problem. Just import a RAW file, and save file as new version as PNG. new file is create with "_v1.png" at end of file name. Now got album gui and press F2 to rename it. I remove "_v1", and digiKam crash as well. Nothing is lost. When i restart digiKam all is here, and versioning three is updated as espected. I will try to get a backtrace.

Note ; not in album i have RAW + JPEG files of the same image before to version it as PNG.

Gilles Caulier
Comment 7 caulier.gilles 2011-06-05 19:41:03 UTC
Marcel,

I just recompiled git master (my old version is one week ago), and now, i cannot reproduce the crash...

Gilles Caulier
Comment 8 Francesco Riosa 2011-06-29 12:51:46 UTC
2.0.0-rc is out, please re-open if needed
Comment 9 Marcel Wiesweg 2011-07-11 16:31:50 UTC
*** Bug 277183 has been marked as a duplicate of this bug. ***
Comment 10 Marcel Wiesweg 2011-10-03 17:08:52 UTC
I believe this could be the same problem as 262077 (now fixed)
Comment 11 caulier.gilles 2011-11-03 12:42:15 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 12 caulier.gilles 2011-12-15 08:18:09 UTC
Following comment #10 from Marcel, i close this file. Re-open it if necessary.

Gilles Caulier