Bug 277183 - renaming multiple files
Summary: renaming multiple files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Files (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 08:49 UTC by Leo
Modified: 2022-02-01 22:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo 2011-07-06 08:49:20 UTC
Application: digikam (2.0.0-rc)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I had digikam opened on a dir, and I did a multiple rename with dolphin.
Digikam crashed :(

-- 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 0x7f0432e22a40 (LWP 14688))]

Thread 6 (Thread 0x7f040c3ee700 (LWP 14689)):
[KCrash Handler]
#6  ref (this=0x7f03e8063d88) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString (this=0x7f03e8063d88) at /usr/include/qt4/QtCore/qstring.h:729
#8  Digikam::ImageInfo::name (this=0x7f03e8063d88) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/imageinfo.cpp:330
#9  0x00007f042f2e9340 in Digikam::ImageInfo::historyImageId (this=0x7f03e8063d88) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/imageinfo.cpp:1053
#10 0x00007f042f3448b7 in Digikam::ImageHistoryGraph::addHistory (this=0x7f040c3ed6b0, givenHistory=..., historySubject=<value optimized out>) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/imagehistory/imagehistorygraph.cpp:526
#11 0x00007f042f34505d in Digikam::ImageHistoryGraph::fromInfo (info=..., loadingMode=<value optimized out>, processingMode=Digikam::ImageHistoryGraph::NoProcessing) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/imagehistory/imagehistorygraph.cpp:511
#12 0x00007f042f312fd0 in Digikam::ImageScanner::tagImageHistoryGraph (id=<value optimized out>) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/imagescanner.cpp:685
#13 0x00007f042f2b88e8 in Digikam::CollectionScanner::historyScanningStage3 (this=0x7f040c3eda30, ids=<value optimized out>) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/collectionscanner.cpp:1091
#14 0x00007f042f2baa9f in Digikam::CollectionScanner::finishHistoryScanning (this=0x7f040c3eda30) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/collectionscanner.cpp:1051
#15 0x00007f042f2beef4 in Digikam::CollectionScanner::partialScan (this=0x7f040c3eda30, albumRoot=<value optimized out>, album=...) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/collectionscanner.cpp:417
#16 0x00007f042f2bf362 in Digikam::CollectionScanner::partialScan (this=0x7f040c3eda30, filePath=...) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/collectionscanner.cpp:347
#17 0x00000000005b65b4 in Digikam::ScanController::run (this=0x235f380) at /build/buildd/digikam2-2.0.0~rc1/core/digikam/database/scancontroller.cpp:659
#18 0x00007f042b2d7175 in QThreadPrivate::start (arg=0x235f380) at thread/qthread_unix.cpp:320
#19 0x00007f0420220bc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#20 0x00007f0429faed8c in start_thread (arg=0x7f040c3ee700) at pthread_create.c:304
#21 0x00007f042a2ac04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f040bbed700 (LWP 14690)):
#0  0x00007f042a29ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f04241fb104 in g_main_context_poll (context=0x23d8510, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x23d8510, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007f04241fb639 in g_main_context_iteration (context=0x23d8510, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007f042b3e9446 in QEventDispatcherGlib::processEvents (this=0x230fed0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f042b3bd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f042b3bdabc in QEventLoop::exec (this=0x7f040bbeca50, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f042b2d4924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f042b39fc2f in QInotifyFileSystemWatcherEngine::run (this=0x230f470) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f042b2d7175 in QThreadPrivate::start (arg=0x230f470) at thread/qthread_unix.cpp:320
#10 0x00007f0420220bc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f0429faed8c in start_thread (arg=0x7f040bbed700) at pthread_create.c:304
#12 0x00007f042a2ac04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f040b3ec700 (LWP 14702)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f042b2d782b in wait (this=<value optimized out>, mutex=0x27ff268, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x27ff268, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f042f948367 in Digikam::ParkingThread::run (this=0x27ff250) at /build/buildd/digikam2-2.0.0~rc1/core/libs/threads/threadmanager.cpp:119
#4  0x00007f042b2d7175 in QThreadPrivate::start (arg=0x27ff250) at thread/qthread_unix.cpp:320
#5  0x00007f0420220bc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f0429faed8c in start_thread (arg=0x7f040b3ec700) at pthread_create.c:304
#7  0x00007f042a2ac04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0409f7d700 (LWP 14703)):
#0  0x00007f042a29ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f04241fb104 in g_main_context_poll (context=0x2a14670, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x2a14670, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007f04241fb639 in g_main_context_iteration (context=0x2a14670, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007f042b3e9446 in QEventDispatcherGlib::processEvents (this=0x2a144f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f042b3bd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f042b3bdabc in QEventLoop::exec (this=0x7f0409f7ca50, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f042b2d4924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f042b39fc2f in QInotifyFileSystemWatcherEngine::run (this=0x2a13830) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f042b2d7175 in QThreadPrivate::start (arg=0x2a13830) at thread/qthread_unix.cpp:320
#10 0x00007f0420220bc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f0429faed8c in start_thread (arg=0x7f0409f7d700) at pthread_create.c:304
#12 0x00007f042a2ac04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f03f6846700 (LWP 14711)):
#0  0x00007f042a29ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f04241fb104 in g_main_context_poll (context=0x3823160, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x3823160, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007f04241fb639 in g_main_context_iteration (context=0x3823160, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007f042b3e9446 in QEventDispatcherGlib::processEvents (this=0x38712b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f042b3bd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f042b3bdabc in QEventLoop::exec (this=0x7f03f6845a50, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f042b2d4924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f042b39fc2f in QInotifyFileSystemWatcherEngine::run (this=0x3876d50) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f042b2d7175 in QThreadPrivate::start (arg=0x3876d50) at thread/qthread_unix.cpp:320
#10 0x00007f0420220bc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f0429faed8c in start_thread (arg=0x7f03f6846700) at pthread_create.c:304
#12 0x00007f042a2ac04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0432e22a40 (LWP 14688)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f042b2d62b3 in QMutexPrivate::wait (this=0x236aff0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f042b2d2ce5 in QMutex::lock (this=0x23df6a0) at thread/qmutex.cpp:167
#3  0x00007f042f2cdb98 in Digikam::DatabaseAccess::DatabaseAccess (this=<value optimized out>) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/databaseaccess.cpp:100
#4  0x00007f042f2e828a in Digikam::ImageInfo::dimensions (this=<value optimized out>) at /build/buildd/digikam2-2.0.0~rc1/core/libs/database/imageinfo.cpp:561
#5  0x00000000005eaace in Digikam::ImageDelegate::paint (this=0x2803470, p=0x7fff892ce010, option=..., index=...) at /build/buildd/digikam2-2.0.0~rc1/core/digikam/items/imagedelegate.cpp:303
#6  0x00007f042f973aef in Digikam::DigikamKCategorizedView::paintEvent (this=0x25524c0, event=<value optimized out>) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/common/digikamkcategorizedview.cpp:888
#7  0x00000000005e6441 in Digikam::ImageCategorizedView::paintEvent (this=0x25524c0, e=0x7fff892ced30) at /build/buildd/digikam2-2.0.0~rc1/core/digikam/items/imagecategorizedview.cpp:700
#8  0x00007f042c026c7a in QWidget::event (this=0x25524c0, event=0x7fff892ced30) at kernel/qwidget.cpp:8405
#9  0x00007f042c3d9156 in QFrame::event (this=0x25524c0, e=0x7fff892ced30) at widgets/qframe.cpp:557
#10 0x00007f042c4ea46b in QAbstractItemView::viewportEvent (this=0x25524c0, event=0x7fff892ced30) at itemviews/qabstractitemview.cpp:1628
#11 0x00007f042f958250 in Digikam::DCategorizedView::viewportEvent (this=0x25524c0, event=0x7fff892ced30) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/common/dcategorizedview.cpp:924
#12 0x00007f042b3be627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x254cb00, event=0x7fff892ced30) at kernel/qcoreapplication.cpp:846
#13 0x00007f042bfd59c1 in QApplicationPrivate::notify_helper (this=0x2254c00, receiver=0x254cb00, e=0x7fff892ced30) at kernel/qapplication.cpp:4458
#14 0x00007f042bfda3ba in QApplication::notify (this=<value optimized out>, receiver=0x254cb00, e=0x7fff892ced30) at kernel/qapplication.cpp:4341
#15 0x00007f042ccf8866 in KApplication::notify (this=0x7fff892d1830, receiver=0x254cb00, event=0x7fff892ced30) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f042b3be49c in QCoreApplication::notifyInternal (this=0x7fff892d1830, receiver=0x254cb00, event=0x7fff892ced30) at kernel/qcoreapplication.cpp:731
#17 0x00007f042c023acd in sendSpontaneousEvent (this=0x231ffe0, pdev=0x23cccd8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x23749d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#18 QWidgetPrivate::drawWidget (this=0x231ffe0, pdev=0x23cccd8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5492
#19 0x00007f042c0246e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x27f77c0, pdev=0x23cccd8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5699
#20 0x00007f042c02380c in QWidgetPrivate::drawWidget (this=0x27f77c0, pdev=0x23cccd8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5545
#21 0x00007f042c0246e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x27f7580, pdev=0x23cccd8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5699
#22 0x00007f042c02380c in QWidgetPrivate::drawWidget (this=0x27f7580, pdev=0x23cccd8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5545
#23 0x00007f042c0246e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x27f6930, pdev=0x23cccd8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5699
#24 0x00007f042c02380c in QWidgetPrivate::drawWidget (this=0x27f6930, pdev=0x23cccd8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5545
#25 0x00007f042c0246e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x231edd0, pdev=0x23cccd8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5699
#26 0x00007f042c02380c in QWidgetPrivate::drawWidget (this=0x231edd0, pdev=0x23cccd8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5545
#27 0x00007f042c0246e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x231e790, pdev=0x23cccd8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5699
#28 0x00007f042c02380c in QWidgetPrivate::drawWidget (this=0x231e790, pdev=0x23cccd8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5545
#29 0x00007f042c0246e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x23f7920, pdev=0x23cccd8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5699
#30 0x00007f042c02380c in QWidgetPrivate::drawWidget (this=0x23f7920, pdev=0x23cccd8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x23749d0) at kernel/qwidget.cpp:5545
#31 0x00007f042c1ea9eb in QWidgetBackingStore::sync (this=0x23749d0) at painting/qbackingstore.cpp:1333
#32 0x00007f042c019f60 in QWidgetPrivate::syncBackingStore (this=0x23f7920) at kernel/qwidget.cpp:1842
#33 0x00007f042c027194 in QWidget::event (this=0x23b8de0, event=0x4bd2b60) at kernel/qwidget.cpp:8552
#34 0x00007f042c3f2c0b in QMainWindow::event (this=0x23b8de0, event=0x4bd2b60) at widgets/qmainwindow.cpp:1480
#35 0x00007f042cdf3d8e in KXmlGuiWindow::event (this=0x23b8de0, ev=0x4bd2b60) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#36 0x00007f042bfd59f4 in QApplicationPrivate::notify_helper (this=0x2254c00, receiver=0x23b8de0, e=0x4bd2b60) at kernel/qapplication.cpp:4462
#37 0x00007f042bfda3ba in QApplication::notify (this=<value optimized out>, receiver=0x23b8de0, e=0x4bd2b60) at kernel/qapplication.cpp:4341
#38 0x00007f042ccf8866 in KApplication::notify (this=0x7fff892d1830, receiver=0x23b8de0, event=0x4bd2b60) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00007f042b3be49c in QCoreApplication::notifyInternal (this=0x7fff892d1830, receiver=0x23b8de0, event=0x4bd2b60) at kernel/qcoreapplication.cpp:731
#40 0x00007f042b3c1c25 in sendEvent (receiver=0x0, event_type=0, data=0x21cfce0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x21cfce0) at kernel/qcoreapplication.cpp:1372
#42 0x00007f042b3e9253 in sendPostedEvents (s=0x22575c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=0x22575c0) at kernel/qeventdispatcher_glib.cpp:277
#44 0x00007f04241fabcd in g_main_dispatch (context=0x22574e0) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#45 g_main_context_dispatch (context=0x22574e0) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#46 0x00007f04241fb3a8 in g_main_context_iterate (context=0x22574e0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#47 0x00007f04241fb639 in g_main_context_iteration (context=0x22574e0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#48 0x00007f042b3e93ef in QEventDispatcherGlib::processEvents (this=0x21cf480, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#49 0x00007f042c07f4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f042b3bd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f042b3bdabc in QEventLoop::exec (this=0x7fff892d1680, flags=...) at kernel/qeventloop.cpp:201
#52 0x00007f042b3c1ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#53 0x000000000068b1c4 in main (argc=5, argv=0x7fff892d2088) at /build/buildd/digikam2-2.0.0~rc1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2011-07-06 08:59:20 UTC
It sound like a crash in versioning management code. Your images are versionned ?

Gilles Caulier
Comment 2 Leo 2011-07-06 09:26:47 UTC
yes I did versioned them, but the renamed files were other copies

dir with original files and versioned once
    |
    |_ dir with the copies of the versioned file which I renamed


Hope the schema is clear.
Comment 3 Marcel Wiesweg 2011-07-11 16:31:50 UTC
Yes, there is a crash in the versioned files scan. I think I have seen such a problem before, strangely it is not suggested as possible duplicate.

Yes, here it is: #272332

On my list, it's in the "no idea" section ;-)
Can you reproduce?

Please lets continue discussion at 272332

*** This bug has been marked as a duplicate of bug 272332 ***
Comment 4 caulier.gilles 2019-08-13 20:56:44 UTC
Fixed with bug #272332