Bug 285665 - digikam crashes when moving large numbers of files
Summary: digikam crashes when moving large numbers of files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 2.2.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 16:03 UTC by monts
Modified: 2022-01-28 21:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description monts 2011-11-03 16:03:30 UTC
Application: digikam (2.2.0)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 2.6.40.8-4.fc15.x86_64 x86_64
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
digikam crashes when moving large numbers of files from an album to another in the collection. I was moving a large number of RAW (RAF) files from various folders to a common folder (few duplicate files were also found set to auto rename). The application just hung and thumbnail view would not refresh even after forcing a refresh via Ctrl + F5

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc3fbcb4a40 (LWP 7899))]

Thread 2 (Thread 0x7fc3f16b0700 (LWP 7902)):
#0  0x0000003000c0b4b5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000324ec74f8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fc3fcd6f0e7 in Digikam::ParkingThread::run (this=0xe3a110) at /usr/src/debug/digikam-2.2.0/core/libs/threads/threadmanager.cpp:119
#3  0x000000324ec74af5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003000c07b31 in start_thread () from /lib64/libpthread.so.0
#5  0x00000030004dfd2d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc3fbcb4a40 (LWP 7899)):
[KCrash Handler]
#6  0x0000000000642e94 in Digikam::DigikamView::refreshView (this=0x3254c44880) at /usr/src/debug/digikam-2.2.0/core/digikam/views/digikamview.cpp:323
#7  0x000000000056c2e5 in Digikam::DigikamApp::slotDatabaseRescan (this=0xdccd60) at /usr/src/debug/digikam-2.2.0/core/digikam/main/digikamapp.cpp:2899
#8  0x000000000057c22d in Digikam::DigikamApp::qt_metacall (this=0xdccd60, _c=QMetaObject::InvokeMetaMethod, _id=62, _a=0x7fffc3baffd0) at /usr/src/debug/digikam-2.2.0/x86_64-redhat-linux-gnu/core/digikam/digikamapp.moc:279
#9  0x000000324ed6d59a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#10 0x00000032509b68c2 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#11 0x00000032509b6aaf in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#12 0x0000003250de84b9 in ?? () from /usr/lib64/libQtGui.so.4
#13 0x0000003250dee0f2 in ?? () from /usr/lib64/libQtGui.so.4
#14 0x000000325250ecc0 in KMenu::mouseReleaseEvent (this=0xd398d0, e=0x7fffc3bb0ba0) at /usr/src/debug/kdelibs-4.7.2/kdeui/widgets/kmenu.cpp:464
#15 0x0000003250a0d3b4 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x0000003250def65b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00000032509bcc14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00000032509c239b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x000000325244c546 in KApplication::notify (this=0x7fffc3bb19b0, receiver=0xd398d0, event=0x7fffc3bb0ba0) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#20 0x000000324ed5a8dc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#21 0x00000032509bdbe2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#22 0x0000003250a39f31 in ?? () from /usr/lib64/libQtGui.so.4
#23 0x0000003250a3875a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x0000003250a5fc9c in ?? () from /usr/lib64/libQtGui.so.4
#25 0x00000030038427ed in g_main_dispatch (context=0xb738e0) at gmain.c:2441
#26 g_main_context_dispatch (context=0xb738e0) at gmain.c:3014
#27 0x0000003003842fc8 in g_main_context_iterate (context=0xb738e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#28 0x000000300384325c in g_main_context_iteration (context=0xb738e0, may_block=1) at gmain.c:3155
#29 0x000000324ed8537f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x0000003250a5f98e in ?? () from /usr/lib64/libQtGui.so.4
#31 0x000000324ed59df2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x000000324ed59fef in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x000000324ed5e107 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#34 0x000000000048a65d in main (argc=5, argv=<optimized out>) at /usr/src/debug/digikam-2.2.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 250418, bug 220043.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-11-03 17:56:37 UTC

*** This bug has been marked as a duplicate of bug 220043 ***
Comment 2 caulier.gilles 2022-01-28 21:56:37 UTC
fixed with https://bugs.kde.org/show_bug.cgi?id=220043