Bug 254879 - Crash upon import of Collection
Summary: Crash upon import of Collection
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Collections (show other bugs)
Version: 1.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 16:47 UTC by rene
Modified: 2017-08-09 18:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rene 2010-10-21 16:47:21 UTC
Application: digikam (1.4.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
After moving to MySQL Backend, I imported a Collection of about 5000 Pictures. The crash happened while beeing about 25 % done

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

Thread 7 (Thread 0xb74a2b70 (LWP 32037)):
#0  0x0099c416 in __kernel_vsyscall ()
#1  0x01ff0de6 in __poll (fds=0x2088ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x099bca1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x099af43c in ?? () from /lib/libglib-2.0.so.0
#4  0x099afba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x027fb6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x099d648f in ?? () from /lib/libglib-2.0.so.0
#7  0x0048ecc9 in start_thread (arg=0xb74a2b70) at pthread_create.c:304
#8  0x01fff6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb27e8b70 (LWP 32048)):
#0  0x0099c416 in __kernel_vsyscall ()
#1  0x004934dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x077599c7 in wait (this=0xa09a230, mutex=0xa09a22c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xa09a230, mutex=0xa09a22c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x01c452d2 in Digikam::ParkingThread::run (this=0xa09a220) at /build/buildd/digikam-1.4.0/libs/threads/threadmanager.cpp:101
#5  0x07758df9 in QThreadPrivate::start (arg=0xa09a220) at thread/qthread_unix.cpp:266
#6  0x0048ecc9 in start_thread (arg=0xb27e8b70) at pthread_create.c:304
#7  0x01fff6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb1fe7b70 (LWP 32049)):
#0  0x0099c416 in __kernel_vsyscall ()
#1  0x01ff0de6 in __poll (fds=0x2088ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x099bca1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x099af43c in ?? () from /lib/libglib-2.0.so.0
#4  0x099af848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0788959f in QEventDispatcherGlib::processEvents (this=0xa0b58e8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x07859609 in QEventLoop::processEvents (this=0xb1fe72c0, flags=) at kernel/qeventloop.cpp:149
#7  0x07859a8a in QEventLoop::exec (this=0xb1fe72c0, flags=...) at kernel/qeventloop.cpp:201
#8  0x07755b7e in QThread::exec (this=0xa0ab1d0) at thread/qthread.cpp:490
#9  0x07758df9 in QThreadPrivate::start (arg=0xa0ab1d0) at thread/qthread_unix.cpp:266
#10 0x0048ecc9 in start_thread (arg=0xb1fe7b70) at pthread_create.c:304
#11 0x01fff6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb17e6b70 (LWP 32050)):
#0  0x01701e36 in clock_gettime (clock_id=24141812, tp=0xb17e5fc0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x077b450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x0788b6e5 in QTimerInfoList::updateCurrentTime (this=0xa24f2bc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0788b72a in QTimerInfoList::timerWait (this=0xa24f2bc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x078897a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb17e60ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0788983d in timerSourcePrepare (source=0x0, timeout=0x1705ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x099aee6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x099af279 in ?? () from /lib/libglib-2.0.so.0
#9  0x099af848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0788959f in QEventDispatcherGlib::processEvents (this=0xa0c6ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x07859609 in QEventLoop::processEvents (this=0xb17e62c0, flags=) at kernel/qeventloop.cpp:149
#12 0x07859a8a in QEventLoop::exec (this=0xb17e62c0, flags=...) at kernel/qeventloop.cpp:201
#13 0x07755b7e in QThread::exec (this=0xa0b53b8) at thread/qthread.cpp:490
#14 0x07758df9 in QThreadPrivate::start (arg=0xa0b53b8) at thread/qthread_unix.cpp:266
#15 0x0048ecc9 in start_thread (arg=0xb17e6b70) at pthread_create.c:304
#16 0x01fff6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaa576b70 (LWP 32051)):
#0  0x0099c416 in __kernel_vsyscall ()
#1  0x00493884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x05ca4b3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa9169b70 (LWP 32053)):
#0  0x099ae870 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x099af45e in ?? () from /lib/libglib-2.0.so.0
#2  0x099af848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x0788959f in QEventDispatcherGlib::processEvents (this=0xa749e68, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x07859609 in QEventLoop::processEvents (this=0xa9169250, flags=) at kernel/qeventloop.cpp:149
#5  0x07859a8a in QEventLoop::exec (this=0xa9169250, flags=...) at kernel/qeventloop.cpp:201
#6  0x07755b7e in QThread::exec (this=0xa749a70) at thread/qthread.cpp:490
#7  0x0341a81a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x07758df9 in QThreadPrivate::start (arg=0xa749a70) at thread/qthread_unix.cpp:266
#9  0x0048ecc9 in start_thread (arg=0xa9169b70) at pthread_create.c:304
#10 0x01fff6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb779c740 (LWP 32036)):
[KCrash Handler]
#7  0x080e5ff3 in Digikam::Setup::slotOkClicked (this=0xd1d4020) at /build/buildd/digikam-1.4.0/utilities/setup/setup.cpp:388
#8  0x080e6353 in Digikam::Setup::qt_metacall (this=0xd1d4020, _c=QMetaObject::InvokeMetaMethod, _id=75, _a=0xbfb8c06c) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/setup.moc:72
#9  0x078608ca in QMetaObject::metacall (object=0xd1d4020, cl=34120640, idx=75, argv=0xbfb8c06c) at kernel/qmetaobject.cpp:237
#10 0x078736ad in QMetaObject::activate (sender=0xd1d4020, m=0x84d02ec, local_signal_index=9, argv=0xd8) at kernel/qobject.cpp:3280
#11 0x092c14b7 in KDialog::okClicked (this=0xd1d4020) at ./kdialog.moc:258
#12 0x092c3a60 in KDialog::slotButtonClicked (this=0xd1d4020, button=4) at ../../kdeui/dialogs/kdialog.cpp:871
#13 0x092c5b79 in KDialog::qt_metacall (this=0xd1d4020, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfb8c288) at ./kdialog.moc:190
#14 0x093b985a in KPageDialog::qt_metacall (this=0xd1d4020, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfb8c288) at ./kpagedialog.moc:70
#15 0x080e633c in Digikam::Setup::qt_metacall (this=0xd1d4020, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfb8c288) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/setup.moc:67
#16 0x078608ca in QMetaObject::metacall (object=0xd1d4020, cl=34120640, idx=69, argv=0xbfb8c288) at kernel/qmetaobject.cpp:237
#17 0x078736ad in QMetaObject::activate (sender=0xbb530d8, m=0x798c0f8, local_signal_index=0, argv=0xd8) at kernel/qobject.cpp:3280
#18 0x078765a3 in QSignalMapper::mapped (this=0xbb530d8, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#19 0x078777ed in QSignalMapper::map (this=0xbb530d8, sender=0xb999f00) at kernel/qsignalmapper.cpp:266
#20 0x078779ce in QSignalMapper::map (this=0xbb530d8) at kernel/qsignalmapper.cpp:257
#21 0x07877a9b in QSignalMapper::qt_metacall (this=0xbb530d8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfb8c428) at .moc/release-shared/moc_qsignalmapper.cpp:87
#22 0x078608ca in QMetaObject::metacall (object=0xbb530d8, cl=34120640, idx=8, argv=0xbfb8c428) at kernel/qmetaobject.cpp:237
#23 0x078736ad in QMetaObject::activate (sender=0xb999f00, m=0x5948704, local_signal_index=2, argv=0xd8) at kernel/qobject.cpp:3280
#24 0x05725019 in QAbstractButton::clicked (this=0xb999f00, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#25 0x053e4ff9 in QAbstractButtonPrivate::emitClicked (this=0xa0b1698) at widgets/qabstractbutton.cpp:546
#26 0x053e66f4 in QAbstractButtonPrivate::click (this=0xa0b1698) at widgets/qabstractbutton.cpp:539
#27 0x053e69ae in QAbstractButton::mouseReleaseEvent (this=0xb999f00, e=0xbfb8cb70) at widgets/qabstractbutton.cpp:1121
#28 0x05014e08 in QWidget::event (this=0xb999f00, event=0xbfb8cb70) at kernel/qwidget.cpp:8187
#29 0x053e4e9e in QAbstractButton::event (this=0xb999f00, e=0x3) at widgets/qabstractbutton.cpp:1080
#30 0x05492c22 in QPushButton::event (this=0xb999f00, e=0xbfb8cb70) at widgets/qpushbutton.cpp:683
#31 0x04fb6fdc in QApplicationPrivate::notify_helper (this=0x9e88f90, receiver=0xb999f00, e=0xbfb8cb70) at kernel/qapplication.cpp:4396
#32 0x04fbdc2e in QApplication::notify (this=0xbfb8e71c, receiver=0xb999f00, e=0xbfb8cb70) at kernel/qapplication.cpp:3959
#33 0x0937868a in KApplication::notify (this=0xbfb8e71c, receiver=0xb999f00, event=0xbfb8cb70) at ../../kdeui/kernel/kapplication.cpp:310
#34 0x0785ab3b in QCoreApplication::notifyInternal (this=0xbfb8e71c, receiver=0xb999f00, event=0xbfb8cb70) at kernel/qcoreapplication.cpp:732
#35 0x04fbc094 in sendEvent (receiver=0xb999f00, event=0xbfb8cb70, alienWidget=0xb999f00, nativeWidget=0xca31820, buttonDown=0x59513c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0xb999f00, event=0xbfb8cb70, alienWidget=0xb999f00, nativeWidget=0xca31820, buttonDown=0x59513c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#37 0x0504ad10 in QETWidget::translateMouseEvent (this=0xca31820, event=0xbfb8d08c) at kernel/qapplication_x11.cpp:4403
#38 0x0504a151 in QApplication::x11ProcessEvent (this=0xbfb8e71c, event=0xbfb8d08c) at kernel/qapplication_x11.cpp:3414
#39 0x0507936a in x11EventSourceDispatch (s=0x9e8bcf8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x099ab855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x099af668 in ?? () from /lib/libglib-2.0.so.0
#42 0x099af848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x07889565 in QEventDispatcherGlib::processEvents (this=0x9e5bd68, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#44 0x05078be5 in QGuiEventDispatcherGlib::processEvents (this=0x9e5bd68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x07859609 in QEventLoop::processEvents (this=0xbfb8d380, flags=) at kernel/qeventloop.cpp:149
#46 0x07859a8a in QEventLoop::exec (this=0xbfb8d380, flags=...) at kernel/qeventloop.cpp:201
#47 0x05521873 in QDialog::exec (this=0xd1d4020) at dialogs/qdialog.cpp:552
#48 0x080e8b50 in Digikam::Setup::exec (parent=0xa0c3a28, page=Digikam::Setup::LastPageUsed) at /build/buildd/digikam-1.4.0/utilities/setup/setup.cpp:351
#49 0x082c04f9 in Digikam::DigikamApp::setup (this=0xa0c3a28) at /build/buildd/digikam-1.4.0/digikam/digikamapp.cpp:2136
#50 0x082dd63d in slotSetup (this=0xa0c3a28, _c=QMetaObject::InvokeMetaMethod, _id=216, _a=0xbfb8d548) at /build/buildd/digikam-1.4.0/digikam/digikamapp.cpp:2131
#51 Digikam::DigikamApp::qt_metacall (this=0xa0c3a28, _c=QMetaObject::InvokeMetaMethod, _id=216, _a=0xbfb8d548) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/digikamapp.moc:223
#52 0x078608ca in QMetaObject::metacall (object=0xa0c3a28, cl=34120640, idx=74, argv=0xbfb8d548) at kernel/qmetaobject.cpp:237
#53 0x078736ad in QMetaObject::activate (sender=0xac0cf38, m=0x84d05e0, local_signal_index=1, argv=0xd8) at kernel/qobject.cpp:3280
#54 0x04faef99 in QAction::triggered (this=0xac0cf38, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#55 0x04fb08dc in QAction::activate (this=0xac0cf38, event=QAction::Trigger) at kernel/qaction.cpp:1256
#56 0x0547c7ef in QMenuPrivate::activateCausedStack (this=0xb7162f0, causedStack=..., action=0xac0cf38, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#57 0x05482a4b in QMenuPrivate::activateAction (this=0xb7162f0, action=0xac0cf38, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#58 0x054835e0 in QMenu::mouseReleaseEvent (this=0xaad7a10, e=0xbfb8ddf0) at widgets/qmenu.cpp:2301
#59 0x09472fe5 in KMenu::mouseReleaseEvent (this=0xaad7a10, e=0xbfb8ddf0) at ../../kdeui/widgets/kmenu.cpp:471
#60 0x05014e08 in QWidget::event (this=0xaad7a10, event=0xbfb8ddf0) at kernel/qwidget.cpp:8187
#61 0x0548502f in QMenu::event (this=0xaad7a10, e=0xbfb8ddf0) at widgets/qmenu.cpp:2410
#62 0x04fb6fdc in QApplicationPrivate::notify_helper (this=0x9e88f90, receiver=0xaad7a10, e=0xbfb8ddf0) at kernel/qapplication.cpp:4396
#63 0x04fbdc2e in QApplication::notify (this=0xbfb8e71c, receiver=0xaad7a10, e=0xbfb8ddf0) at kernel/qapplication.cpp:3959
#64 0x0937868a in KApplication::notify (this=0xbfb8e71c, receiver=0xaad7a10, event=0xbfb8ddf0) at ../../kdeui/kernel/kapplication.cpp:310
#65 0x0785ab3b in QCoreApplication::notifyInternal (this=0xbfb8e71c, receiver=0xaad7a10, event=0xbfb8ddf0) at kernel/qcoreapplication.cpp:732
#66 0x04fbc094 in sendEvent (receiver=0xaad7a10, event=0xbfb8ddf0, alienWidget=0x0, nativeWidget=0xaad7a10, buttonDown=0x59513c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#67 QApplicationPrivate::sendMouseEvent (receiver=0xaad7a10, event=0xbfb8ddf0, alienWidget=0x0, nativeWidget=0xaad7a10, buttonDown=0x59513c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#68 0x0504b261 in QETWidget::translateMouseEvent (this=0xaad7a10, event=0xbfb8e30c) at kernel/qapplication_x11.cpp:4337
#69 0x0504a151 in QApplication::x11ProcessEvent (this=0xbfb8e71c, event=0xbfb8e30c) at kernel/qapplication_x11.cpp:3414
#70 0x0507936a in x11EventSourceDispatch (s=0x9e8bcf8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#71 0x099ab855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#72 0x099af668 in ?? () from /lib/libglib-2.0.so.0
#73 0x099af848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#74 0x07889565 in QEventDispatcherGlib::processEvents (this=0x9e5bd68, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#75 0x05078be5 in QGuiEventDispatcherGlib::processEvents (this=0x9e5bd68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x07859609 in QEventLoop::processEvents (this=0xbfb8e604, flags=) at kernel/qeventloop.cpp:149
#77 0x07859a8a in QEventLoop::exec (this=0xbfb8e604, flags=...) at kernel/qeventloop.cpp:201
#78 0x0785e00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#79 0x04fb5e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#80 0x083c06b3 in main (argc=1, argv=0xbfb8eb84) at /build/buildd/digikam-1.4.0/digikam/main.cpp:195

Possible duplicates by query: bug 247100, bug 229834, bug 214384.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-10-21 16:54:36 UTC
I think your backtrace is uncomplete. It said that crash is there :

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/setup/setup.cpp#388

But, the trace must continue in another place.

Do you have installed digikam debug package ?

Can you try with 1.5.0 release ?

Gilles Caulier
Comment 2 caulier.gilles 2015-07-03 05:58:52 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 3 caulier.gilles 2016-07-10 10:35:33 UTC
This problem is not reproducible with last 5.0.0.
I close this file now. Don't hesitate to re-open it if necessary.
Gilles Caulier