Bug 283537 - digiKam crashed
Summary: digiKam crashed
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 2.1.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-07 13:23 UTC by Jens Weibler
Modified: 2017-07-26 16:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Weibler 2011-10-07 13:23:19 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:

In the background digiKram wrote Metadata into the pictures and I tagged a foto with a new person

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

Thread 13 (Thread 0x7f57c7df1700 (LWP 18183)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f57e2e351ab in wait (time=18446744073709551615, this=0x1af96f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b11458, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c2e20 in Digikam::ScanController::run (this=0x1b58240) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#4  0x00007f57e2e34d05 in QThreadPrivate::start (arg=0x1b58240) at thread/qthread_unix.cpp:331
#5  0x00007f57ddb72efc in start_thread (arg=0x7f57c7df1700) at pthread_create.c:304
#6  0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f57c75f0700 (LWP 18184)):
#0  0x00007f57e20cb773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f57dbc4ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57dbc50429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57e2f46f3e in QEventDispatcherGlib::processEvents (this=0x1b20970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f57e2f1acf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f57e2f1aef7 in QEventLoop::exec (this=0x7f57c75efb30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f57e2e3227f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f57e2efdcbf in QInotifyFileSystemWatcherEngine::run (this=0x1b0af20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f57e2e34d05 in QThreadPrivate::start (arg=0x1b0af20) at thread/qthread_unix.cpp:331
#9  0x00007f57ddb72efc in start_thread (arg=0x7f57c75f0700) at pthread_create.c:304
#10 0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f57c6def700 (LWP 18186)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f57e2e351ab in wait (time=18446744073709551615, this=0x1ee50b0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1ee4c38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f57e5d77737 in Digikam::ParkingThread::run (this=0x1ee4c20) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007f57e2e34d05 in QThreadPrivate::start (arg=0x1ee4c20) at thread/qthread_unix.cpp:331
#5  0x00007f57ddb72efc in start_thread (arg=0x7f57c6def700) at pthread_create.c:304
#6  0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f57bffff700 (LWP 18187)):
#0  0x00007f57ddb75034 in __pthread_mutex_lock (mutex=0x2089548) at pthread_mutex_lock.c:61
#1  0x00007f57dbc4ee5d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57dbc4fdfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57dbc50429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f57e2f46f3e in QEventDispatcherGlib::processEvents (this=0x20894b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f57e2f1acf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f57e2f1aef7 in QEventLoop::exec (this=0x7f57bfffeb30, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f57e2e3227f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f57e2efdcbf in QInotifyFileSystemWatcherEngine::run (this=0x2088880) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f57e2e34d05 in QThreadPrivate::start (arg=0x2088880) at thread/qthread_unix.cpp:331
#10 0x00007f57ddb72efc in start_thread (arg=0x7f57bffff700) at pthread_create.c:304
#11 0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f5795ffb700 (LWP 18741)):
#0  0x00007f57e20cb773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f57dbc4ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57dbc50429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57e2f46f3e in QEventDispatcherGlib::processEvents (this=0x3179cf0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f57e2f1acf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f57e2f1aef7 in QEventLoop::exec (this=0x7f5795ffab00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f57e5d76e41 in Digikam::WorkerObjectRunnable::run (this=0x7f57840059e0) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:196
#7  0x00007f57e2e29795 in QThreadPoolThread::run (this=0x7f57780042e0) at concurrent/qthreadpool.cpp:106
#8  0x00007f57e2e34d05 in QThreadPrivate::start (arg=0x7f57780042e0) at thread/qthread_unix.cpp:331
#9  0x00007f57ddb72efc in start_thread (arg=0x7f5795ffb700) at pthread_create.c:304
#10 0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f57a4bca700 (LWP 18742)):
#0  0x00007f57de4f33b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f57de4f1ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f57ddb72efc in start_thread (arg=0x7f57a4bca700) at pthread_create.c:304
#3  0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f5769cbe700 (LWP 18743)):
#0  0x00007f57de4f33b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f57de4f1ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f57ddb72efc in start_thread (arg=0x7f5769cbe700) at pthread_create.c:304
#3  0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f5796ffd700 (LWP 18744)):
#0  0x00007f57de4f33b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f57de4f1ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f57ddb72efc in start_thread (arg=0x7f5796ffd700) at pthread_create.c:304
#3  0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f57aafd7700 (LWP 18745)):
#0  0x00007f57de4f33b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f57de4f1ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f57ddb72efc in start_thread (arg=0x7f57aafd7700) at pthread_create.c:304
#3  0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f57aa7d6700 (LWP 18746)):
#0  0x00007f57de4f33b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f57de4f1ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f57ddb72efc in start_thread (arg=0x7f57aa7d6700) at pthread_create.c:304
#3  0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f57a9fd5700 (LWP 18747)):
#0  0x00007f57de4f33b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f57de4f1ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f57ddb72efc in start_thread (arg=0x7f57a9fd5700) at pthread_create.c:304
#3  0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f57a97d4700 (LWP 18748)):
#0  0x00007f57de4f33b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f57de4f1ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f57ddb72efc in start_thread (arg=0x7f57a97d4700) at pthread_create.c:304
#3  0x00007f57e20d789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f57e84bea20 (LWP 18182)):
[KCrash Handler]
#6  0x00007f57e2f3b968 in clear (d=0x7f577c160980) at kernel/qvariant.cpp:286
#7  0x00007f57e5781b68 in node_destruct (n=0x7f577c009048, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:375
#8  erase (alast=<optimized out>, afirst=<optimized out>, this=0x1ee3d28) at /usr/include/qt4/QtCore/qlist.h:792
#9  Digikam::ImageModel::removeRowPairs (this=0x1ee1090, toRemove=...) at /build/buildd/digikam-2.1.1/core/libs/models/imagemodel.cpp:878
#10 0x00007f57e578370d in Digikam::ImageModel::finishIncrementalRefresh (this=0x1ee1090) at /build/buildd/digikam-2.1.1/core/libs/models/imagemodel.cpp:705
#11 0x000000000055a345 in Digikam::ImageAlbumModel::slotResult (this=0x1ee1090, job=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/models/imagealbummodel.cpp:307
#12 0x000000000055b87e in Digikam::ImageAlbumModel::qt_metacall (this=0x1ee1090, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff2ac738a0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/imagealbummodel.moc:117
#13 0x00007f57e2f2eeba in QMetaObject::activate (sender=0x64741d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2ac738a0) at kernel/qobject.cpp:3278
#14 0x00007f57e33811d2 in KJob::result (this=<optimized out>, _t1=0x64741d0) at ./kjob.moc:194
#15 0x00007f57e3381210 in KJob::emitResult (this=0x64741d0) at ../../kdecore/jobs/kjob.cpp:312
#16 0x00007f57e4d8f364 in KIO::SimpleJob::slotFinished (this=0x64741d0) at ../../kio/kio/job.cpp:494
#17 0x00007f57e4d96d3d in KIO::TransferJob::slotFinished (this=0x64741d0) at ../../kio/kio/job.cpp:1081
#18 0x00007f57e4d956a1 in KIO::TransferJob::qt_metacall (this=0x64741d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff2ac73c50) at ./jobclasses.moc:369
#19 0x00007f57e2f2eeba in QMetaObject::activate (sender=0x20414c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#20 0x00007f57e4e3af01 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#21 0x00007f57e4e37db5 in KIO::SlaveInterface::dispatch (this=0x20414c0) at ../../kio/kio/slaveinterface.cpp:88
#22 0x00007f57e4e2af7e in KIO::Slave::gotInput (this=0x20414c0) at ../../kio/kio/slave.cpp:344
#23 0x00007f57e4e2b6dc in KIO::Slave::qt_metacall (this=0x20414c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff2ac74080) at ./slave.moc:82
#24 0x00007f57e2f2eeba in QMetaObject::activate (sender=0x26dad20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#25 0x00007f57e4d60087 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#26 KIO::ConnectionPrivate::dequeue (this=0x5475100) at ../../kio/kio/connection.cpp:71
#27 0x00007f57e4d6012d in KIO::Connection::qt_metacall (this=0x26dad20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7f577c029dc0) at ./connection.moc:79
#28 0x00007f57e2f32a5e in QObject::event (this=0x26dad20, e=<optimized out>) at kernel/qobject.cpp:1217
#29 0x00007f57e391c424 in notify_helper (e=0x7f577c12d460, receiver=0x26dad20, this=0x199a2a0) at kernel/qapplication.cpp:4486
#30 QApplicationPrivate::notify_helper (this=0x199a2a0, receiver=0x26dad20, e=0x7f577c12d460) at kernel/qapplication.cpp:4458
#31 0x00007f57e3921291 in QApplication::notify (this=0x7fff2ac74a40, receiver=0x26dad20, e=0x7f577c12d460) at kernel/qapplication.cpp:4365
#32 0x00007f57e46301e6 in KApplication::notify (this=0x7fff2ac74a40, receiver=0x26dad20, event=0x7f577c12d460) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007f57e2f1bafc in QCoreApplication::notifyInternal (this=0x7fff2ac74a40, receiver=0x26dad20, event=0x7f577c12d460) at kernel/qcoreapplication.cpp:787
#34 0x00007f57e2f1f51f in sendEvent (event=0x7f577c12d460, receiver=0x26dad20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1938bd0) at kernel/qcoreapplication.cpp:1428
#36 0x00007f57e2f46a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#38 0x00007f57dbc4fa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f57dbc50258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f57dbc50429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f57e2f46ed6 in QEventDispatcherGlib::processEvents (this=0x193a270, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007f57e39c407e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f57e2f1acf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f57e2f1aef7 in QEventLoop::exec (this=0x7fff2ac748c0, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007f57e2f1f789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#46 0x00000000004893fd in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2011-10-07 16:16:43 UTC

*** This bug has been marked as a duplicate of bug 278049 ***
Comment 2 caulier.gilles 2017-07-16 21:53:29 UTC
This problem is not reproducible since 5.0.0 as all digiKam KIO-slaves was been
replaced by a multithreaded interface to play with database.