Bug 246478 - Digikam crashes when a metadata comment is applied to multiple pictures.
Summary: Digikam crashes when a metadata comment is applied to multiple pictures.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-02 03:37 UTC by Jay Treiman
Modified: 2017-08-16 12:53 UTC (History)
0 users

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 Jay Treiman 2010-08-02 03:37:37 UTC
Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.3.5 (KDE 4.3.5) "release 0"
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

What I was doing when the application crashed:
When going through a set of pictures and adding comments to groups of them, Digikam crashes frequently.

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

Thread 12 (Thread 0x7f17f38f5910 (LWP 4831)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f18014ba53b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006438eb in ?? ()
#4  0x00007f18014b9485 in QThreadPrivate::start (arg=0xb2e380) at thread/qthread_unix.cpp:188
#5  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f17f29f5910 (LWP 4833)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f18014ba53b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f18042bdde2 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#4  0x00007f18014b9485 in QThreadPrivate::start (arg=0xc6b040) at thread/qthread_unix.cpp:188
#5  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 10 (Thread 0x7f17f2153910 (LWP 4834)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f18014ba53b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f18042bdde2 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#4  0x00007f18014b9485 in QThreadPrivate::start (arg=0x11f9cb0) at thread/qthread_unix.cpp:188
#5  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f17e5875910 (LWP 4835)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f17eb9a9671 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f17e3734910 (LWP 4836)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f17eb9b4e69 in interruptable_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f17eb9b7621 in video_out_loop () from /usr/lib64/libxine.so.1
#3  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f17e2f33910 (LWP 4837)):
#0  0x00007f1800a4dd03 in poll () from /lib64/libc.so.6
#1  0x00007f17fb3a059c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f17fb3a08e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f18015c73f6 in QEventDispatcherGlib::processEvents (this=0x1777580, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f180159d712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f180159dae4 in QEventLoop::exec (this=0x7f17e2f33000, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f18014b671b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f17ebc043f4 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f18014b9485 in QThreadPrivate::start (arg=0x1776ff0) at thread/qthread_unix.cpp:188
#9  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f17e2528910 (LWP 4840)):
#0  0x00007f1800a49acb in read () from /lib64/libc.so.6
#1  0x00007f17f01172f5 in read (__nbytes=<value optimized out>, __buf=<value optimized out>, __fd=<value optimized out>) at /usr/include/bits/unistd.h:45
#2  snd_ctl_hw_read (__nbytes=<value optimized out>, __buf=<value optimized out>, __fd=<value optimized out>) at control_hw.c:324
#3  0x00007f17f0112058 in snd_hctl_handle_events (hctl=0x7f17ec0ca4e0) at hcontrol.c:786
#4  0x00007f17f011bda9 in snd_mixer_handle_events (mixer=0x7f17ec0dd160) at mixer.c:847
#5  0x00007f17e252ec94 in ao_alsa_handle_event_thread () from /usr/lib64/xine/plugins/1.28/xineplug_ao_out_alsa.so
#6  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f17e1d27910 (LWP 4841)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f17eb9ba713 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f17ddcbf910 (LWP 4857)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f18014ba53b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f18042bdde2 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#4  0x00007f18014b9485 in QThreadPrivate::start (arg=0x274ee20) at thread/qthread_unix.cpp:188
#5  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f17dfcc3910 (LWP 4877)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f18014ba53b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f18042bdde2 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#4  0x00007f18014b9485 in QThreadPrivate::start (arg=0x443f480) at thread/qthread_unix.cpp:188
#5  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f17df4c2910 (LWP 4878)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f18014ba53b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f18042bdde2 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#4  0x00007f18014b9485 in QThreadPrivate::start (arg=0x443f9c0) at thread/qthread_unix.cpp:188
#5  0x00007f180077065d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1806d39750 (LWP 4830)):
[KCrash Handler]
#5  size (this=<value optimized out>) at ../../src/corelib/tools/qstring.h:104
#6  QString::operator== (this=<value optimized out>) at tools/qstring.cpp:1912
#7  0x00007f1803489396 in ?? () from /usr/lib64/libkio.so.5
#8  0x00007f1803485f96 in ?? () from /usr/lib64/libkio.so.5
#9  0x00007f1803489094 in ?? () from /usr/lib64/libkio.so.5
#10 0x00007f18015b3fbc in QMetaObject::activate (sender=0xb2f8c0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x3da7c00) at kernel/qobject.cpp:3113
#11 0x00007f18015ea76e in QSocketNotifier::activated (this=0x2900290069, _t1=14) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#12 0x00007f18015b8953 in QSocketNotifier::event (this=0xb2f8c0, e=0x7fff4418c130) at kernel/qsocketnotifier.cpp:316
#13 0x00007f180211e2ac in QApplicationPrivate::notify_helper (this=0x968f40, receiver=0xb2f8c0, e=0x7fff4418c130) at kernel/qapplication.cpp:4065
#14 0x00007f180212557e in QApplication::notify (this=0x7fff4418f890, receiver=0xb2f8c0, e=0x7fff4418c130) at kernel/qapplication.cpp:4030
#15 0x00007f1802f60016 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#16 0x00007f180159eddc in QCoreApplication::notifyInternal (this=0x7fff4418f890, receiver=0xb2f8c0, event=0x7fff4418c130) at kernel/qcoreapplication.cpp:610
#17 0x00007f18015c76fa in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#18 socketNotifierSourceDispatch (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:110
#19 0x00007f17fb39cdee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f17fb3a07b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f17fb3a08e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f18015c73a3 in QEventDispatcherGlib::processEvents (this=0x937dd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#23 0x00007f18021b131e in QGuiEventDispatcherGlib::processEvents (this=0x2900290069, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00007f180159d712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#25 0x00007f180159dae4 in QEventLoop::exec (this=0x7fff4418c390, flags=) at kernel/qeventloop.cpp:201
#26 0x00007f180257b7ee in QDialog::exec (this=0x4582da0) at dialogs/qdialog.cpp:498
#27 0x00007f1802ee63a5 in KMessageBox::createKMessageBox(KDialog*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib64/libkdeui.so.5
#28 0x00007f1802ee7620 in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) ()
   from /usr/lib64/libkdeui.so.5
#29 0x00007f1802ee8db1 in KMessageBox::informationListWId(unsigned long, QString const&, QStringList const&, QString const&, QString const&, QFlags<KMessageBox::Option>) ()
   from /usr/lib64/libkdeui.so.5
#30 0x00007f1802ee8f1f in KMessageBox::informationList(QWidget*, QString const&, QStringList const&, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libkdeui.so.5
#31 0x00007f17cdcc4cc7 in ?? () from /usr/lib64/kde4/kipiplugin_metadataedit.so
#32 0x00007f17cdcc5324 in ?? () from /usr/lib64/kde4/kipiplugin_metadataedit.so
#33 0x00007f18015b3fbc in QMetaObject::activate (sender=0x40779a0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x3da7c00) at kernel/qobject.cpp:3113
#34 0x00007f1802118457 in QAction::triggered (this=0x2900290069, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#35 0x00007f180211989f in QAction::activate (this=0x40779a0, event=<value optimized out>) at kernel/qaction.cpp:1167
#36 0x00007f18024e961d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x40779a0, action_e=Trigger, self=true) at widgets/qmenu.cpp:967
#37 0x00007f18024ef52a in QMenuPrivate::activateAction (this=0x42ee4c0, action=0x40779a0, action_e=Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#38 0x00007f180303203e in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#39 0x00007f180216ccf0 in QWidget::event (this=0x42e23d0, event=0x7fff4418d960) at kernel/qwidget.cpp:7554
#40 0x00007f18024f1ceb in QMenu::event (this=0x42e23d0, e=0x7fff4418d960) at widgets/qmenu.cpp:2358
#41 0x00007f180211e2ac in QApplicationPrivate::notify_helper (this=0x968f40, receiver=0x42e23d0, e=0x7fff4418d960) at kernel/qapplication.cpp:4065
#42 0x00007f18021253c1 in QApplication::notify (this=<value optimized out>, receiver=0x42e23d0, e=0x7fff4418d960) at kernel/qapplication.cpp:3767
#43 0x00007f1802f60016 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#44 0x00007f180159eddc in QCoreApplication::notifyInternal (this=0x7fff4418f890, receiver=0x42e23d0, event=0x7fff4418d960) at kernel/qcoreapplication.cpp:610
#45 0x00007f1802124c90 in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#46 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#47 0x00007f180218b11e in QETWidget::translateMouseEvent (this=0x42e23d0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#48 0x00007f1802189d9a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff4418f490) at kernel/qapplication_x11.cpp:3550
#49 0x00007f18021b1b6c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x00007f17fb39cdee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f17fb3a07b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f17fb3a08e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f18015c73a3 in QEventDispatcherGlib::processEvents (this=0x937dd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#54 0x00007f18021b131e in QGuiEventDispatcherGlib::processEvents (this=0x2900290069, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#55 0x00007f180159d712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#56 0x00007f180159dae4 in QEventLoop::exec (this=0x7fff4418f7c0, flags=) at kernel/qeventloop.cpp:201
#57 0x00007f180159fc99 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#58 0x0000000000669302 in ?? ()
#59 0x00007f18009a4a7d in __libc_start_main () from /lib64/libc.so.6
#60 0x0000000000458849 in _start ()

This bug may be a duplicate of or related to bug 237896

Reported using DrKonqi
Comment 1 Johannes Wienke 2010-08-02 10:09:34 UTC

*** This bug has been marked as a duplicate of bug 222974 ***
Comment 2 caulier.gilles 2017-08-16 12:53:16 UTC
Since digiKam 5.0.0, KDirWatch was been replaced by QFileSytemWatcher. It will
not reproducible.

Gilles Caulier