Bug 309613 - Crash on exit after unsucessful photo time adjustment
Summary: Crash on exit after unsucessful photo time adjustment
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-TimeAdjust (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-05 22:55 UTC by sava
Modified: 2018-09-22 08:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sava 2012-11-05 22:55:12 UTC
Application: digikam (2.8.0)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed: I was trying to change the time in the metadata for several photos (batch). The operation worked twice before, then it choked. I tried to shut down Digikam, then I got the notification it had crashed during the process.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2fd4972a00 (LWP 4256))]

Thread 9 (Thread 0x7f2faf4b7700 (LWP 4258)):
#0  0x00007f2fcdd098bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2fc7054f6f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2fc7018914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2fc7018d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2fc7018ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2fcec18c16 in QEventDispatcherGlib::processEvents (this=0x7f2fa00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f2fcebe92bf in QEventLoop::processEvents (this=this@entry=0x7f2faf4b6b50, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f2fcebe9548 in QEventLoop::exec (this=0x7f2faf4b6b50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f2fceaeab10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f2fcebc99af in QInotifyFileSystemWatcherEngine::run (this=0x29af0e0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f2fceaedaec in QThreadPrivate::start (arg=0x29af0e0) at thread/qthread_unix.cpp:338
#11 0x00007f2fc95f4e9a in start_thread (arg=0x7f2faf4b7700) at pthread_create.c:308
#12 0x00007f2fcdd16cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f2faecb6700 (LWP 4267)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2fceaee04b in wait (time=18446744073709551615, this=0x2983fc0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x29766b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2fd1f4ba47 in Digikam::ParkingThread::run() () from /usr/lib/libdigikamcore.so.2
#4  0x00007f2fceaedaec in QThreadPrivate::start (arg=0x29766a0) at thread/qthread_unix.cpp:338
#5  0x00007f2fc95f4e9a in start_thread (arg=0x7f2faecb6700) at pthread_create.c:308
#6  0x00007f2fcdd16cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2fad489700 (LWP 4268)):
#0  0x00007f2fcdd0b303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2fc7018d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2fc7018ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2fcec18c16 in QEventDispatcherGlib::processEvents (this=0x7f2f980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2fcebe92bf in QEventLoop::processEvents (this=this@entry=0x7f2fad488b50, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2fcebe9548 in QEventLoop::exec (this=0x7f2fad488b50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2fceaeab10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2fcebc99af in QInotifyFileSystemWatcherEngine::run (this=0x30af990) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2fceaedaec in QThreadPrivate::start (arg=0x30af990) at thread/qthread_unix.cpp:338
#9  0x00007f2fc95f4e9a in start_thread (arg=0x7f2fad489700) at pthread_create.c:308
#10 0x00007f2fcdd16cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2f84b80700 (LWP 4519)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2fceaee04b in wait (time=18446744073709551615, this=0x49a1700) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x49a08e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2f92c37bca in KIPIPlugins::KPRawThumbThread::run() () from /usr/lib/libkipiplugins.so.2
#4  0x00007f2fceaedaec in QThreadPrivate::start (arg=0x49a0d70) at thread/qthread_unix.cpp:338
#5  0x00007f2fc95f4e9a in start_thread (arg=0x7f2f84b80700) at pthread_create.c:308
#6  0x00007f2fcdd16cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2f77fff700 (LWP 4535)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2fceaee04b in wait (time=18446744073709551615, this=0x69ff220) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x69fb9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2f925d30e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x71fe400, th=0x7f2f5c0025c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2f925d592b in ThreadWeaver::WorkingHardState::applyForWork (this=0x69fd080, th=0x7f2f5c0025c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2f925d479f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f2f77ffeb80, parent=0x71fe400, th=th@entry=0x7f2f5c0025c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2f925d482b in ThreadWeaver::Thread::run (this=0x7f2f5c0025c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2fceaedaec in QThreadPrivate::start (arg=0x7f2f5c0025c0) at thread/qthread_unix.cpp:338
#8  0x00007f2fc95f4e9a in start_thread (arg=0x7f2f77fff700) at pthread_create.c:308
#9  0x00007f2fcdd16cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2f75bfa700 (LWP 4536)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2fceaee04b in wait (time=18446744073709551615, this=0x69ff220) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x69fb9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2f925d30e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x71fe400, th=0x7f2f8c0016c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2f925d592b in ThreadWeaver::WorkingHardState::applyForWork (this=0x69fd080, th=0x7f2f8c0016c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2f925d479f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f2f75bf9b80, parent=0x71fe400, th=th@entry=0x7f2f8c0016c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2f925d482b in ThreadWeaver::Thread::run (this=0x7f2f8c0016c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2fceaedaec in QThreadPrivate::start (arg=0x7f2f8c0016c0) at thread/qthread_unix.cpp:338
#8  0x00007f2fc95f4e9a in start_thread (arg=0x7f2f75bfa700) at pthread_create.c:308
#9  0x00007f2fcdd16cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2f93ffe700 (LWP 4537)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2fceaee04b in wait (time=18446744073709551615, this=0x69ff220) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x69fb9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2f925d30e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x71fe400, th=0x7f2f8c0018e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2f925d592b in ThreadWeaver::WorkingHardState::applyForWork (this=0x69fd080, th=0x7f2f8c0018e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2f925d479f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f2f93ffdb80, parent=0x71fe400, th=th@entry=0x7f2f8c0018e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2f925d482b in ThreadWeaver::Thread::run (this=0x7f2f8c0018e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2fceaedaec in QThreadPrivate::start (arg=0x7f2f8c0018e0) at thread/qthread_unix.cpp:338
#8  0x00007f2fc95f4e9a in start_thread (arg=0x7f2f93ffe700) at pthread_create.c:308
#9  0x00007f2fcdd16cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2f85c4c700 (LWP 4538)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2fceaee04b in wait (time=18446744073709551615, this=0x69ff220) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x69fb9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2f925d30e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x71fe400, th=0x7f2f8c0041a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2f925d592b in ThreadWeaver::WorkingHardState::applyForWork (this=0x69fd080, th=0x7f2f8c0041a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2f925d479f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f2f85c4bb80, parent=0x71fe400, th=th@entry=0x7f2f8c0041a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2f925d482b in ThreadWeaver::Thread::run (this=0x7f2f8c0041a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2fceaedaec in QThreadPrivate::start (arg=0x7f2f8c0041a0) at thread/qthread_unix.cpp:338
#8  0x00007f2fc95f4e9a in start_thread (arg=0x7f2f85c4c700) at pthread_create.c:308
#9  0x00007f2fcdd16cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2fd4972a00 (LWP 4256)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f2f92c35f41 in KIPIPlugins::KPImageInfo::KPImageInfoPrivate::setAttribute(QString const&, QVariant const&) () from /usr/lib/libkipiplugins.so.2
#8  0x00007f2f92c33e62 in KIPIPlugins::KPImageInfo::setDate(QDateTime const&) () from /usr/lib/libkipiplugins.so.2
#9  0x00007f2f88f37511 in KIPITimeAdjustPlugin::TimeAdjustDialog::slotApplyClicked() () from /usr/lib/kde4/kipiplugin_timeadjust.so
#10 0x00007f2f88f357a0 in KIPITimeAdjustPlugin::TimeAdjustDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/kipiplugin_timeadjust.so
#11 0x00007f2fcebfff5f in QMetaObject::activate (sender=0x5e325a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#12 0x00007f2f88f37751 in KIPITimeAdjustPlugin::TimeAdjustDialog::slotButtonClicked(int) () from /usr/lib/kde4/kipiplugin_timeadjust.so
#13 0x00007f2fd0235414 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#14 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdialog.moc:127
#15 0x00007f2fcebfff5f in QMetaObject::activate (sender=0x5f12740, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2d92e870) at kernel/qobject.cpp:3547
#16 0x00007f2fcec05e2e in QSignalMapper::mapped (this=this@entry=0x5f12740, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:115
#17 0x00007f2fcec06035 in QSignalMapper::map (this=0x5f12740, sender=0x567b150) at kernel/qsignalmapper.cpp:266
#18 0x00007f2fcebfff5f in QMetaObject::activate (sender=0x567b150, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2d92ea00) at kernel/qobject.cpp:3547
#19 0x00007f2fcfc36422 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#20 0x00007f2fcf989d2e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x5f19470) at widgets/qabstractbutton.cpp:548
#21 0x00007f2fcf98a560 in QAbstractButtonPrivate::click (this=this@entry=0x5f19470) at widgets/qabstractbutton.cpp:541
#22 0x00007f2fcf98a7cc in QAbstractButton::mouseReleaseEvent (this=0x567b150, e=0x7fff2d92f2a0) at widgets/qabstractbutton.cpp:1123
#23 0x00007f2fcf61b850 in QWidget::event (this=0x567b150, event=0x7fff2d92f2a0) at kernel/qwidget.cpp:8371
#24 0x00007f2fcf5cbe9c in QApplicationPrivate::notify_helper (this=this@entry=0x282f900, receiver=receiver@entry=0x567b150, e=e@entry=0x7fff2d92f2a0) at kernel/qapplication.cpp:4562
#25 0x00007f2fcf5d0b6b in QApplication::notify (this=<optimized out>, receiver=0x567b150, e=0x7fff2d92f2a0) at kernel/qapplication.cpp:4105
#26 0x00007f2fd02d41d6 in KApplication::notify (this=0x7fff2d9303b0, receiver=0x567b150, event=0x7fff2d92f2a0) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007f2fcebea56e in QCoreApplication::notifyInternal (this=0x7fff2d9303b0, receiver=0x567b150, event=0x7fff2d92f2a0) at kernel/qcoreapplication.cpp:915
#28 0x00007f2fcf5cccd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QApplicationPrivate::sendMouseEvent (receiver=0x567b150, event=0x7fff2d92f2a0, alienWidget=0x567b150, nativeWidget=0x5e32070, buttonDown=0x7f2fd00a8308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#30 0x00007f2fcf64a554 in QETWidget::translateMouseEvent (this=this@entry=0x5e32070, event=event@entry=0x7fff2d92fa20) at kernel/qapplication_x11.cpp:4622
#31 0x00007f2fcf64944f in QApplication::x11ProcessEvent (this=0x7fff2d9303b0, event=0x7fff2d92fa20) at kernel/qapplication_x11.cpp:3737
#32 0x00007f2fcf670fa2 in x11EventSourceDispatch (s=0x281f340, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f2fc7018ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f2fc7018de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f2fc7018ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f2fcec18bf6 in QEventDispatcherGlib::processEvents (this=0x27c1c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f2fcf670c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f2fcebe92bf in QEventLoop::processEvents (this=this@entry=0x7fff2d92fdf0, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f2fcebe9548 in QEventLoop::exec (this=0x7fff2d92fdf0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f2fcebee708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#41 0x00000000006cbd33 in main ()

Reported using DrKonqi
Comment 1 caulier.gilles 2012-11-06 08:43:52 UTC
It crash when TimeAdjust plugin get image info from digiKam DB, through libkipi.

Can you try with 2.9.0 release ? Are you sure that libkipi is last one available ?

Gilles Caulier
Comment 2 caulier.gilles 2013-12-23 14:08:13 UTC
This entry still valid using last digiKam and kipi-plugins 3.5.0 ?

Gilles Caulier
Comment 3 caulier.gilles 2014-05-16 07:34:29 UTC
digiKam 4.0.0 is out :

http://www.digikam.org/node/713

Please check if this entry still valid with this new version.

Thanks in advance

Gilles Caulier
Comment 4 caulier.gilles 2014-09-08 06:51:34 UTC
This file still valid using last kipi-plugins 4.2.0 ?

Gilles Caulier
Comment 5 caulier.gilles 2015-06-26 13:46:59 UTC
New Kipi-plugins 4.11.0 is available :

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

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 6 caulier.gilles 2015-08-23 14:34:02 UTC
digiKam 4.12.0 is out :

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

We need a fresh feedback using this release please...
Thanks in advance.
Comment 7 caulier.gilles 2016-07-02 15:52:39 UTC
This plugin is now ported to digiKam BQM. Crash is not reproducible.
Gilles Caulier