Bug 303878 - digikam crashed after clicking "Photo -> Adjust Date and Time"
Summary: digikam crashed after clicking "Photo -> Adjust Date and Time"
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-TimeAdjust (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-21 08:53 UTC by Günter Ohmer
Modified: 2018-09-22 08:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments
digikam crashed after clicking "Photo -> Adjust Date and Time" (66.47 KB, image/jpeg)
2012-07-21 17:41 UTC, Günter Ohmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Günter Ohmer 2012-07-21 08:53:49 UTC
Application: digikam (2.8.0)
KDE Platform Version: 4.8.4 (4.8.4) "release 513"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.16-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

digikam crashed after clicking "Photo -> Adjust Date and Time"

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f27572ec700 (LWP 5635)):
#0  0x00007f2770fdce6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2774c98b2b in wait (time=18446744073709551615, this=0xe04870) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xe04768, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e0558 in ?? ()
#4  0x00007f2774c9861b in QThreadPrivate::start (arg=0xe04500) at thread/qthread_unix.cpp:307
#5  0x00007f2768556454 in ?? () from /usr/lib64/libGL.so.1
#6  0x00007f2770fd8f05 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f277329110d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2756aeb700 (LWP 5636)):
#0  0x00007f276e2f625e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f276e2f6ab2 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f276e2f6f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2774dc5e36 in QEventDispatcherGlib::processEvents (this=0x7f27480008e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2774d95842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2774d95a97 in QEventLoop::exec (this=0x7f2756aeac90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2774c955f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2774d7562f in QInotifyFileSystemWatcherEngine::run (this=0xe06a20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2774c9861b in QThreadPrivate::start (arg=0xe06a20) at thread/qthread_unix.cpp:307
#9  0x00007f2768556454 in ?? () from /usr/lib64/libGL.so.1
#10 0x00007f2770fd8f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f277329110d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f27562d4700 (LWP 5638)):
#0  0x00007f2770fdce6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2774c98b2b in wait (time=18446744073709551615, this=0xf7f490) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xe1f258, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2777442fd7 in ?? () from /usr/lib64/libdigikamcore.so.2
#4  0x00007f2774c9861b in QThreadPrivate::start (arg=0xe1f240) at thread/qthread_unix.cpp:307
#5  0x00007f2768556454 in ?? () from /usr/lib64/libGL.so.1
#6  0x00007f2770fd8f05 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f277329110d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f271f397700 (LWP 5663)):
#0  0x00007f2770fdce6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2774c98b2b in wait (time=18446744073709551615, this=0x41c0920) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x41bfd68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f274051d224 in KIPIPlugins::KPRawThumbThread::run (this=0x4742a20) at /usr/src/debug/digikam-software-compilation/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:107
#4  0x00007f2774c9861b in QThreadPrivate::start (arg=0x4742a20) at thread/qthread_unix.cpp:307
#5  0x00007f2768556454 in ?? () from /usr/lib64/libGL.so.1
#6  0x00007f2770fd8f05 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f277329110d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2779bc2800 (LWP 5634)):
[KCrash Handler]
#6  0x0000000000531fe0 in ?? ()
#7  0x00007f2777de36ed in KIPI::ImageInfo::attributes (this=<optimized out>) at /usr/src/debug/libkipi-4.8.4/libkipi/imageinfo.cpp:102
#8  0x00007f274051800d in attribute (name=..., this=0x4c30e30) at /usr/src/debug/digikam-software-compilation/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:72
#9  hasAttribute (name=..., this=0x4c30e30) at /usr/src/debug/digikam-software-compilation/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:97
#10 KIPIPlugins::KPImageInfo::isExactDate (this=0x7fffa7b44b70) at /usr/src/debug/digikam-software-compilation/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:264
#11 0x00007f2734993569 in KIPITimeAdjustPlugin::TimeAdjustDialog::readApplicationTimestamps (this=0xe24880) at /usr/src/debug/digikam-software-compilation/extra/kipi-plugins/timeadjust/timeadjustdialog.cpp:289
#12 0x00007f273499380d in KIPITimeAdjustPlugin::TimeAdjustDialog::slotReadTimestamps (this=0xe24880) at /usr/src/debug/digikam-software-compilation/extra/kipi-plugins/timeadjust/timeadjustdialog.cpp:253
#13 0x00007f2734993c99 in KIPITimeAdjustPlugin::TimeAdjustDialog::addItems (this=0xe24880, imageUrls=...) at /usr/src/debug/digikam-software-compilation/extra/kipi-plugins/timeadjust/timeadjustdialog.cpp:237
#14 0x00007f2734991377 in KIPITimeAdjustPlugin::Plugin_TimeAdjust::slotActivate (this=0x442f580) at /usr/src/debug/digikam-software-compilation/extra/kipi-plugins/timeadjust/plugin_timeadjust.cpp:129
#15 0x00007f2734991500 in KIPITimeAdjustPlugin::Plugin_TimeAdjust::qt_metacall (this=0x442f580, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/digikam-software-compilation/build/extra/kipi-plugins/timeadjust/plugin_timeadjust.moc:73
#16 0x00007f2774daae49 in QMetaObject::activate (sender=0x4447990, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa7b44fd0) at kernel/qobject.cpp:3575
#17 0x00007f2773e94b52 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#18 0x00007f2773e94d3f in QAction::activate (this=0x4447990, event=<optimized out>) at kernel/qaction.cpp:1257
#19 0x00007f27742e2139 in QMenuPrivate::activateCausedStack (this=0x1144ef0, causedStack=..., action=0x4447990, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#20 0x00007f27742e8292 in QMenuPrivate::activateAction (this=0x1144ef0, action=0x4447990, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#21 0x00007f27758dd2a0 in KMenu::mouseReleaseEvent (this=0x1103fb0, e=0x7fffa7b45ba0) at /usr/src/debug/kdelibs-4.8.4/kdeui/widgets/kmenu.cpp:464
#22 0x00007f2773eeb644 in QWidget::event (this=0x1103fb0, event=0x7fffa7b45ba0) at kernel/qwidget.cpp:8371
#23 0x00007f27742e982b in QMenu::event (this=0x1103fb0, e=0x7fffa7b45ba0) at widgets/qmenu.cpp:2469
#24 0x00007f2773e9afe4 in notify_helper (e=0x7fffa7b45ba0, receiver=0x1103fb0, this=0xc27bc0) at kernel/qapplication.cpp:4551
#25 QApplicationPrivate::notify_helper (this=0xc27bc0, receiver=0x1103fb0, e=0x7fffa7b45ba0) at kernel/qapplication.cpp:4523
#26 0x00007f2773ea0683 in QApplication::notify (this=<optimized out>, receiver=0x1103fb0, e=0x7fffa7b45ba0) at kernel/qapplication.cpp:4094
#27 0x00007f277581c746 in KApplication::notify (this=0x7fffa7b469b0, receiver=0x1103fb0, event=0x7fffa7b45ba0) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#28 0x00007f2774d96d0c in QCoreApplication::notifyInternal (this=0x7fffa7b469b0, receiver=0x1103fb0, event=0x7fffa7b45ba0) at kernel/qcoreapplication.cpp:915
#29 0x00007f2773e9bfb2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#30 QApplicationPrivate::sendMouseEvent (receiver=0x1103fb0, event=0x7fffa7b45ba0, alienWidget=0x0, nativeWidget=0x1103fb0, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#31 0x00007f2773f18481 in QETWidget::translateMouseEvent (this=0x1103fb0, event=<optimized out>) at kernel/qapplication_x11.cpp:4447
#32 0x00007f2773f16c7a in QApplication::x11ProcessEvent (this=0x7fffa7b469b0, event=0x7fffa7b46460) at kernel/qapplication_x11.cpp:3636
#33 0x00007f2773f3ea12 in x11EventSourceDispatch (s=0xc2ba30, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007f276e2f658d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f276e2f6d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f276e2f6f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f2774dc5dcf in QEventDispatcherGlib::processEvents (this=0xbc95e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f2773f3e69e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f2774d95842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f2774d95a97 in QEventLoop::exec (this=0x7fffa7b46830, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f2774d9a8b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#42 0x000000000049761b in ?? ()
#43 0x00007f27731d723d in __libc_start_main () from /lib64/libc.so.6
#44 0x0000000000498df5 in _start ()

Possible duplicates by query: bug 302306.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-07-21 09:56:21 UTC
Gunter,

Which libkipi you use please ?

Smit,

Can you reproduce the crash in TimeAdjust ? The crash sound like a invalide ImageInfo returned by libkipi. When attribute() call is done it crash.... But why ?

Gilles Caulier
Comment 2 Günter Ohmer 2012-07-21 10:46:09 UTC
Am Samstag, 21. Juli 2012, 09:56:21 schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=303878
> 
> Gilles Caulier <caulier.gilles@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> CC|                            |smit.meh@gmail.com
> 
> --- Comment #1 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Gunter,
> 
> Which libkipi you use please ?
libkipi8-4.8.4-38.2.x86_64
> 
> Smit,
> 
> Can you reproduce the crash in TimeAdjust ? The crash sound like a invalide
> ImageInfo returned by libkipi. When attribute() call is done it crash....
> But why ?
> 
> Gilles Caulier
Günter Ohmer
Comment 3 Smit Mehta 2012-07-21 12:16:22 UTC
Hi

I cannot reproduce it here. Gunter, could you please check after selecting another pic as well. And if the problem still persists, could you please upload a sample pic, so that I can try to reproduce it here?

Smit
Comment 4 Günter Ohmer 2012-07-21 14:10:43 UTC
Hi Smit,

where can I upload the pic?

Günter

Am Samstag, 21. Juli 2012, 12:16:22 schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=303878
> 
> --- Comment #3 from Smit Mehta <smit.meh@gmail.com> ---
> Hi
> 
> I cannot reproduce it here. Gunter, could you please check after selecting
> another pic as well. And if the problem still persists, could you please
> upload a sample pic, so that I can try to reproduce it here?
> 
> Smit
Comment 5 Günter Ohmer 2012-07-21 14:20:12 UTC
Hi Smit,

the pictures are on a samba-share.

Günter

Am Samstag, 21. Juli 2012, 14:10:43 schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=303878
> 
> --- Comment #4 from Günter Ohmer <guenter.ohmer@gmx.de> ---
> Hi Smit,
> 
> where can I upload the pic?
> 
> Günter
> 
> Am Samstag, 21. Juli 2012, 12:16:22 schrieben Sie:
> > https://bugs.kde.org/show_bug.cgi?id=303878
> > 
> > --- Comment #3 from Smit Mehta <smit.meh@gmail.com> ---
> > Hi
> > 
> > I cannot reproduce it here. Gunter, could you please check after selecting
> > another pic as well. And if the problem still persists, could you please
> > upload a sample pic, so that I can try to reproduce it here?
> > 
> > Smit
Comment 6 Smit Mehta 2012-07-21 14:23:08 UTC
Hi Gunter

It will be most convenient if you could "attach" the pic in this bug. There is an option for "Add an attachment" on this page itself.

Smit
Comment 7 Günter Ohmer 2012-07-21 17:41:34 UTC
Created attachment 72671 [details]
digikam crashed after clicking "Photo -> Adjust Date and Time"
Comment 8 Smit Mehta 2012-07-23 15:55:50 UTC
Hi

I am not able to reproduce the bug here. 
@Gunter Did you try with other pics as well?
@Gilles What shall we do now?

Smit
Comment 9 Günter Ohmer 2012-07-23 16:58:02 UTC
Hi
Am Montag, 23. Juli 2012, 15:55:50 schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=303878
> 
> --- Comment #8 from Smit Mehta <smit.meh@gmail.com> ---
> Hi
> 
> I am not able to reproduce the bug here.
> @Gunter Did you try with other pics as well?
Yes,with all my pics.
I changed the date with  exiftool and it works well.
diikam also crashes when I click "Bild -->  Geo-Lokalisierung".
> @Gilles What shall we do now?
> 
> Smit
Comment 10 caulier.gilles 2012-07-23 20:45:49 UTC
gunter,

the libkipi version that you talk is KDE version. Go to Help/Components Info and look right libkipi version...

Smit,

We need to know where exactly in libkipi it crash. The line returned in backtrace do not have a sence with trubk implementation. I suspect that Gunter use an older version. Trunk must fix the problem...

Gilles Caulier
Comment 11 caulier.gilles 2012-09-16 10:16:55 UTC
*** Bug 306878 has been marked as a duplicate of this bug. ***
Comment 12 caulier.gilles 2015-06-26 13:47:26 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 13 caulier.gilles 2015-08-23 14:30:30 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 14 caulier.gilles 2016-07-02 15:54:05 UTC
This plugin is now ported to digiKam BQM. Crash is not reproducible.
Gilles Caulier