<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>246478</bug_id>
          
          <creation_ts>2010-08-02 03:37:37 +0000</creation_ts>
          <short_desc>Digikam crashes  when a metadata comment is applied to  multiple pictures.</short_desc>
          <delta_ts>2017-08-16 12:53:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Metadata-Engine</component>
          <version>unspecified</version>
          <rep_platform>Unlisted Binaries</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jay Treiman">jay.treiman</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>5.7.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>997204</commentid>
    <comment_count>0</comment_count>
    <who name="Jay Treiman">jay.treiman</who>
    <bug_when>2010-08-02 03:37:37 +0000</bug_when>
    <thetext>Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.3.5 (KDE 4.3.5) &quot;release 0&quot;
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: &quot;openSUSE 11.2 (x86_64)&quot;

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=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at pthread_create.c:297
#6  0x00007f1800a56e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()
The current source language is &quot;auto; currently asm&quot;.

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=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f180159d712 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, __buf=&lt;value optimized out&gt;, __fd=&lt;value optimized out&gt;) at /usr/include/bits/unistd.h:45
#2  snd_ctl_hw_read (__nbytes=&lt;value optimized out&gt;, __buf=&lt;value optimized out&gt;, __fd=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at ../../src/corelib/tools/qstring.h:104
#6  QString::operator== (this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, to_signal_index=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at kernel/qcoreapplication.h:213
#18 socketNotifierSourceDispatch (event=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:407
#23 0x00007f18021b131e in QGuiEventDispatcherGlib::processEvents (this=0x2900290069, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00007f180159d712 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, 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&amp;, QString const&amp;, QStringList const&amp;, QString const&amp;, bool*, QFlags&lt;KMessageBox::Option&gt;, QString const&amp;, QMessageBox::Icon) () from /usr/lib64/libkdeui.so.5
#28 0x00007f1802ee7620 in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon, QString const&amp;, QStringList const&amp;, QString const&amp;, bool*, QFlags&lt;KMessageBox::Option&gt;, QString const&amp;) ()
   from /usr/lib64/libkdeui.so.5
#29 0x00007f1802ee8db1 in KMessageBox::informationListWId(unsigned long, QString const&amp;, QStringList const&amp;, QString const&amp;, QString const&amp;, QFlags&lt;KMessageBox::Option&gt;) ()
   from /usr/lib64/libkdeui.so.5
#30 0x00007f1802ee8f1f in KMessageBox::informationList(QWidget*, QString const&amp;, QStringList const&amp;, QString const&amp;, QString const&amp;, QFlags&lt;KMessageBox::Option&gt;) () 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=&lt;value optimized out&gt;, to_signal_index=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;) at kernel/qaction.cpp:1167
#36 0x00007f18024e961d in QMenuPrivate::activateCausedStack (this=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at ../../src/corelib/kernel/qcoreapplication.h:216
#46 QApplicationPrivate::sendMouseEvent (event=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at kernel/qapplication.cpp:2924
#47 0x00007f180218b11e in QETWidget::translateMouseEvent (this=0x42e23d0, event=&lt;value optimized out&gt;) at kernel/qapplication_x11.cpp:4343
#48 0x00007f1802189d9a in QApplication::x11ProcessEvent (this=&lt;value optimized out&gt;, event=0x7fff4418f490) at kernel/qapplication_x11.cpp:3550
#49 0x00007f18021b1b6c in x11EventSourceDispatch (s=&lt;value optimized out&gt;, callback=&lt;value optimized out&gt;, user_data=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:407
#54 0x00007f18021b131e in QGuiEventDispatcherGlib::processEvents (this=0x2900290069, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:202
#55 0x00007f180159d712 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>997254</commentid>
    <comment_count>1</comment_count>
    <who name="Johannes Wienke">languitar</who>
    <bug_when>2010-08-02 10:09:34 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 222974 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1694904</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2017-08-16 12:53:16 +0000</bug_when>
    <thetext>Since digiKam 5.0.0, KDirWatch was been replaced by QFileSytemWatcher. It will
not reproducible.

Gilles Caulier</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>