Bug 281322 - DK crash, when intensive reorganising pics from/into directories
Summary: DK crash, when intensive reorganising pics from/into directories
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 14:39 UTC by Axel Krebs
Modified: 2022-01-21 12:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Krebs 2011-09-04 14:39:26 UTC
Application: digikam (2.0.0-rc)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-30-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Just reorganiszing several dozend of pics in other folders, creating new directories, ersing double pics etc to create a news collection of pics. 

- Unusual behavior I noticed:
DK is slowing down considerable (8GB memory)

The crash can be reproduced every time.

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

Thread 10 (Thread 0xae74ab70 (LWP 2381)):
#0  0xb7790424 in __kernel_vsyscall ()
#1  0xb43f7df6 in poll () from /lib/libc.so.6
#2  0xb31a8a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb319b43c in ?? () from /lib/libglib-2.0.so.0
#4  0xb319bba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb274c9c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb31c248f in ?? () from /lib/libglib-2.0.so.0
#7  0xb4321cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb440669e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xabdc0b70 (LWP 2397)):
#0  0xb7790424 in __kernel_vsyscall ()
#1  0xb43264dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4413d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb47959c7 in wait (this=0x95e7f0c, mutex=0x95e7f08, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x95e7f0c, mutex=0x95e7f08, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x0822a249 in Digikam::ScanController::run (this=0x95ce4b8) at /build/buildd/digikam2-2.0.0~rc1/core/digikam/database/scancontroller.cpp:618
#6  0xb4794df9 in QThreadPrivate::start (arg=0x95ce4b8) at thread/qthread_unix.cpp:266
#7  0xb4321cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb440669e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xab5bfb70 (LWP 2398)):
#0  0xb2dece36 in clock_gettime () from /lib/librt.so.1
#1  0xb47f050b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb48c76e5 in QTimerInfoList::updateCurrentTime (this=0x95912c4) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb48c772a in QTimerInfoList::timerWait (this=0x95912c4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb48c57a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xab5bef1c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb48c583d in timerSourcePrepare (source=0x0, timeout=0xb2df0ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb319ae6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb319b279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb319b848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb48c559f in QEventDispatcherGlib::processEvents (this=0x95917e8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb4895609 in QEventLoop::processEvents (this=0xab5bf0f0, flags=) at kernel/qeventloop.cpp:149
#12 0xb4895a8a in QEventLoop::exec (this=0xab5bf0f0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb4791b7e in QThread::exec (this=0x95c64e0) at thread/qthread.cpp:490
#14 0xb487435b in QInotifyFileSystemWatcherEngine::run (this=0x95c64e0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb4794df9 in QThreadPrivate::start (arg=0x95c64e0) at thread/qthread_unix.cpp:266
#16 0xb4321cc9 in start_thread () from /lib/libpthread.so.0
#17 0xb440669e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xaadbeb70 (LWP 2462)):
#0  0xb7790424 in __kernel_vsyscall ()
#1  0xb43264dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4413d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb47959c7 in wait (this=0x96b0628, mutex=0x96b0624, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x96b0628, mutex=0x96b0624, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb67282aa in Digikam::ParkingThread::run (this=0x96b0618) at /build/buildd/digikam2-2.0.0~rc1/core/libs/threads/threadmanager.cpp:119
#6  0xb4794df9 in QThreadPrivate::start (arg=0x96b0618) at thread/qthread_unix.cpp:266
#7  0xb4321cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb440669e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa2b59b70 (LWP 2488)):
#0  0xb7790424 in __kernel_vsyscall ()
#1  0xb4326884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4413df4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xa6d27b3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa1f30b70 (LWP 2489)):
#0  0xb7790424 in __kernel_vsyscall ()
#1  0xb43ff371 in select () from /lib/libc.so.6
#2  0xa6d53f1c in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 4 (Thread 0xa172fb70 (LWP 2490)):
#0  0xb4413f4a in pthread_mutex_lock () from /lib/libc.so.6
#1  0xb319aea3 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0xb319b279 in ?? () from /lib/libglib-2.0.so.0
#3  0xb319b848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb48c559f in QEventDispatcherGlib::processEvents (this=0xa067f68, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0xb4895609 in QEventLoop::processEvents (this=0xa172f0e0, flags=) at kernel/qeventloop.cpp:149
#6  0xb4895a8a in QEventLoop::exec (this=0xa172f0e0, flags=...) at kernel/qeventloop.cpp:201
#7  0xb4791b7e in QThread::exec (this=0xf9d4358) at thread/qthread.cpp:490
#8  0xaa22bd7a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0xb4794df9 in QThreadPrivate::start (arg=0xf9d4358) at thread/qthread_unix.cpp:266
#10 0xb4321cc9 in start_thread () from /lib/libpthread.so.0
#11 0xb440669e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa0f2eb70 (LWP 2491)):
#0  0xb7790424 in __kernel_vsyscall ()
#1  0xb43f7df6 in poll () from /lib/libc.so.6
#2  0xb430a562 in ?? () from /usr/lib/libpulse.so.0
#3  0xb42f6ab9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xb42f8a73 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xb42f8b44 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xb430a303 in ?? () from /usr/lib/libpulse.so.0
#7  0xb2db1bd5 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0xb4321cc9 in start_thread () from /lib/libpthread.so.0
#9  0xb440669e in clone () from /lib/libc.so.6

Thread 2 (Thread 0x9c5ffb70 (LWP 2492)):
#0  0xb7790424 in __kernel_vsyscall ()
#1  0xb43264dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4413d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xa6d39b54 in ?? () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()

Thread 1 (Thread 0xaec328b0 (LWP 2343)):
[KCrash Handler]
#7  0xb4895529 in d_func (this=0x0, returnCode=0) at ../../include/QtCore/../../src/corelib/kernel/qeventloop.h:58
#8  QEventLoop::exit (this=0x0, returnCode=0) at kernel/qeventloop.cpp:279
#9  0xb4e9ee4c in QDragManager::eventFilter (this=0x10a4ae60, o=0xa3d476c0, e=0xbfa437f0) at kernel/qdnd_x11.cpp:1333
#10 0xb489635c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x9500580, receiver=0xa3d476c0, event=0xbfa437f0) at kernel/qcoreapplication.cpp:828
#11 0xb4df7f63 in QApplicationPrivate::notify_helper (this=0x9500580, receiver=0xa3d476c0, e=0xbfa437f0) at kernel/qapplication.cpp:4371
#12 0xb4dfec2e in QApplication::notify (this=0xbfa4573c, receiver=0xa3d476c0, e=0xbfa437f0) at kernel/qapplication.cpp:3959
#13 0xb599f82a in KApplication::notify (this=0xbfa4573c, receiver=0xa3d476c0, event=0xbfa437f0) at ../../kdeui/kernel/kapplication.cpp:311
#14 0xb4896b3b in QCoreApplication::notifyInternal (this=0xbfa4573c, receiver=0xa3d476c0, event=0xbfa437f0) at kernel/qcoreapplication.cpp:732
#15 0xb4dfd094 in sendEvent (receiver=0xa3d476c0, event=0xbfa437f0, alienWidget=0x0, nativeWidget=0xa3d476c0, buttonDown=0xb57923c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QApplicationPrivate::sendMouseEvent (receiver=0xa3d476c0, event=0xbfa437f0, alienWidget=0x0, nativeWidget=0xa3d476c0, buttonDown=0xb57923c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#17 0xb4e8bd10 in QETWidget::translateMouseEvent (this=0xa3d476c0, event=0xbfa43d0c) at kernel/qapplication_x11.cpp:4403
#18 0xb4e8b151 in QApplication::x11ProcessEvent (this=0xbfa4573c, event=0xbfa43d0c) at kernel/qapplication_x11.cpp:3414
#19 0xb4eba36a in x11EventSourceDispatch (s=0x95032e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#20 0xb3197855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0xb319b668 in ?? () from /lib/libglib-2.0.so.0
#22 0xb319b848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0xb48c5565 in QEventDispatcherGlib::processEvents (this=0x94c4710, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#24 0xb4eb9be5 in QGuiEventDispatcherGlib::processEvents (this=0x94c4710, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0xb4895609 in QEventLoop::processEvents (this=0xade7aff8, flags=) at kernel/qeventloop.cpp:149
#26 0xb4895a8a in QEventLoop::exec (this=0xade7aff8, flags=...) at kernel/qeventloop.cpp:201
#27 0xb4e9f5f7 in QDragManager::drag (this=0x10a4ae60, o=0xaa398018) at kernel/qdnd_x11.cpp:1981
#28 0xb4e0fd4e in QDrag::exec (this=0xaa398018, supportedActions=..., defaultDropAction=Qt::IgnoreAction) at kernel/qdrag.cpp:284
#29 0xb67499b2 in Digikam::DragDropViewImplementation::startDrag (this=0x96acdd0, supportedActions=...) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/common/dragdropimplementations.cpp:196
#30 0x0814cac3 in Digikam::DCategorizedView::startDrag (this=0x96acdb8, supportedActions=...) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/common/dcategorizedview.h:161
#31 0xb53cc33a in QAbstractItemView::mouseMoveEvent (this=0x96acdb8, event=0xbfa44e10) at itemviews/qabstractitemview.cpp:1700
#32 0xb53e665a in QListView::mouseMoveEvent (this=0x96acdb8, e=0xbfa44e10) at itemviews/qlistview.cpp:778
#33 0xb675f339 in Digikam::DigikamKCategorizedView::mouseMoveEvent (this=0x96acdb8, event=0xbfa44e10) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/common/digikamkcategorizedview.cpp:1228
#34 0xb673ad17 in Digikam::DCategorizedView::mouseMoveEvent (this=0x96acdb8, event=0xbfa44e10) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/common/dcategorizedview.cpp:802
#35 0xb4e55caa in QWidget::event (this=0x96acdb8, event=0xbfa44e10) at kernel/qwidget.cpp:8172
#36 0xb5277763 in QFrame::event (this=0x96acdb8, e=0xbfa44e10) at widgets/qframe.cpp:557
#37 0xb5314a82 in QAbstractScrollArea::viewportEvent (this=0xb578eff4, e=0x0) at widgets/qabstractscrollarea.cpp:1043
#38 0xb53d10f7 in QAbstractItemView::viewportEvent (this=0x96acdb8, event=0xbfa44e10) at itemviews/qabstractitemview.cpp:1619
#39 0xb673de7d in Digikam::DCategorizedView::viewportEvent (this=0x96acdb8, event=0xbfa44e10) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/common/dcategorizedview.cpp:924
#40 0xb53174d5 in viewportEvent (this=0x96aaa40, o=0x96ace98, e=0xbfa44e10) at widgets/qabstractscrollarea_p.h:100
#41 QAbstractScrollAreaFilter::eventFilter (this=0x96aaa40, o=0x96ace98, e=0xbfa44e10) at widgets/qabstractscrollarea_p.h:116
#42 0xb489629a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9500580, receiver=0x96ace98, event=0xbfa44e10) at kernel/qcoreapplication.cpp:847
#43 0xb4df7fb9 in QApplicationPrivate::notify_helper (this=0x9500580, receiver=0x96ace98, e=0xbfa44e10) at kernel/qapplication.cpp:4392
#44 0xb4dfec2e in QApplication::notify (this=0xbfa4573c, receiver=0x96ace98, e=0xbfa44e10) at kernel/qapplication.cpp:3959
#45 0xb599f82a in KApplication::notify (this=0xbfa4573c, receiver=0x96ace98, event=0xbfa44e10) at ../../kdeui/kernel/kapplication.cpp:311
#46 0xb4896b3b in QCoreApplication::notifyInternal (this=0xbfa4573c, receiver=0x96ace98, event=0xbfa44e10) at kernel/qcoreapplication.cpp:732
#47 0xb4dfd094 in sendEvent (receiver=0x96ace98, event=0xbfa44e10, alienWidget=0x0, nativeWidget=0x96acdb8, buttonDown=0xb57923c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#48 QApplicationPrivate::sendMouseEvent (receiver=0x96ace98, event=0xbfa44e10, alienWidget=0x0, nativeWidget=0x96acdb8, buttonDown=0xb57923c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#49 0xb4e8bd10 in QETWidget::translateMouseEvent (this=0x96acdb8, event=0xbfa4532c) at kernel/qapplication_x11.cpp:4403
#50 0xb4e8b151 in QApplication::x11ProcessEvent (this=0xbfa4573c, event=0xbfa4532c) at kernel/qapplication_x11.cpp:3414
#51 0xb4eba36a in x11EventSourceDispatch (s=0x95032e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#52 0xb3197855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#53 0xb319b668 in ?? () from /lib/libglib-2.0.so.0
#54 0xb319b848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#55 0xb48c5565 in QEventDispatcherGlib::processEvents (this=0x94c4710, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#56 0xb4eb9be5 in QGuiEventDispatcherGlib::processEvents (this=0x94c4710, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0xb4895609 in QEventLoop::processEvents (this=0xbfa45624, flags=) at kernel/qeventloop.cpp:149
#58 0xb4895a8a in QEventLoop::exec (this=0xbfa45624, flags=...) at kernel/qeventloop.cpp:201
#59 0xb489a00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#60 0xb4df6e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#61 0x0831d033 in main (argc=5, argv=0xbfa459e4) at /build/buildd/digikam2-2.0.0~rc1/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 267686.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-09-04 15:02:19 UTC
You use 2.0.0 release Candidate. Can you try with 2.0.0 final release, or better with current git master implementation (next 2.1.0 release)

Gilles Caulier
Comment 2 caulier.gilles 2011-09-04 15:03:54 UTC

*** This bug has been marked as a duplicate of bug 267686 ***
Comment 3 caulier.gilles 2022-01-21 12:57:38 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=267686