Bug 310573

Summary: Crashed while saving in Image Editor
Product: [Applications] digikam Reporter: nino <nino>
Component: Usability-MenusAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.5.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 6.3.0
Sentry Crash Report:

Description nino 2012-11-23 21:51:55 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-33-generic x86_64
Distribution: Linux Mint 13 Maya

-- Information about the crash:
I was saving changes made to an Jpeg-file in the Image Editor.

-- 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 0x7f93a1e8fa00 (LWP 7041))]

Thread 9 (Thread 0x7f937d61a700 (LWP 7045)):
#0  0x00007f939b3112f4 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9394870036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f939487049a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f938a647406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f93948919e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9396c22e9a in start_thread (arg=0x7f937d61a700) at pthread_create.c:308
#6  0x00007f939b31ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f9375aca700 (LWP 7046)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f939c0f34db in wait (time=18446744073709551615, this=0x1c7e1b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1c7e0a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005ca1d0 in ?? ()
#4  0x00007f939c0f2fcb in QThreadPrivate::start (arg=0x1c7de40) at thread/qthread_unix.cpp:298
#5  0x00007f9396c22e9a in start_thread (arg=0x7f9375aca700) at pthread_create.c:308
#6  0x00007f939b31ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f93752c9700 (LWP 7047)):
#0  0x00007f939b311303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9394870036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9394870164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f939c221426 in QEventDispatcherGlib::processEvents (this=0x7f93640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f939c1f0c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f939c1f0ed7 in QEventLoop::exec (this=0x7f93752c8b50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f939c0effa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f939c1d09ff in QInotifyFileSystemWatcherEngine::run (this=0x1c80a00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f939c0f2fcb in QThreadPrivate::start (arg=0x1c80a00) at thread/qthread_unix.cpp:298
#9  0x00007f9396c22e9a in start_thread (arg=0x7f93752c9700) at pthread_create.c:308
#10 0x00007f939b31ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9374ac8700 (LWP 7049)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f939c0f34db in wait (time=18446744073709551615, this=0x2067510) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2067278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f939f4f8ff1 in ?? () from /usr/lib/libdigikamcore.so.2
#4  0x00007f939c0f2fcb in QThreadPrivate::start (arg=0x2067260) at thread/qthread_unix.cpp:298
#5  0x00007f9396c22e9a in start_thread (arg=0x7f9374ac8700) at pthread_create.c:308
#6  0x00007f939b31ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f934223f700 (LWP 7280)):
#0  0x00007f9396c2605d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f9328000a60) at pthread_mutex_unlock.c:290
#2  0x00007f93948ab5d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f939487002a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9394870164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f939c221426 in QEventDispatcherGlib::processEvents (this=0x7f93280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f939c1f0c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f939c1f0ed7 in QEventLoop::exec (this=0x7f934223eb50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f939c0effa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f939c1d09ff in QInotifyFileSystemWatcherEngine::run (this=0x39d8590) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f939c0f2fcb in QThreadPrivate::start (arg=0x39d8590) at thread/qthread_unix.cpp:298
#11 0x00007f9396c22e9a in start_thread (arg=0x7f934223f700) at pthread_create.c:308
#12 0x00007f939b31ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9341a3e700 (LWP 7281)):
#0  0x00007f939b30f8c1 in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f93948aa8cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f939486fba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f939486ffd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9394870164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f939c221426 in QEventDispatcherGlib::processEvents (this=0x7f931c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f939c1f0c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f939c1f0ed7 in QEventLoop::exec (this=0x7f9341a3db50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f939c0effa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f939c1d09ff in QInotifyFileSystemWatcherEngine::run (this=0x3a00050) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f939c0f2fcb in QThreadPrivate::start (arg=0x3a00050) at thread/qthread_unix.cpp:298
#11 0x00007f9396c22e9a in start_thread (arg=0x7f9341a3e700) at pthread_create.c:308
#12 0x00007f939b31ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9310ff9700 (LWP 7363)):
#0  timerSourcePrepare (source=0x7f92d40010c0, timeout=0x7f9310ff8a1c) at kernel/qeventdispatcher_glib.cpp:157
#1  0x00007f939486f846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f939486ff5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9394870164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f939c221426 in QEventDispatcherGlib::processEvents (this=0x7f92d40011a0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f939c1f0c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f939c1f0ed7 in QEventLoop::exec (this=0x7f9310ff8b80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f939c0effa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f939c0f2fcb in QThreadPrivate::start (arg=0x3bbdc70) at thread/qthread_unix.cpp:298
#9  0x00007f9396c22e9a in start_thread (arg=0x7f9310ff9700) at pthread_create.c:308
#10 0x00007f939b31ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f93117fa700 (LWP 7364)):
#0  0x00007f939b311303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9394870036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9394870164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f939c221426 in QEventDispatcherGlib::processEvents (this=0x7f92cc2cd4a0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f939c1f0c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f939c1f0ed7 in QEventLoop::exec (this=0x7f93117f9b80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f939c0effa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f939c0f2fcb in QThreadPrivate::start (arg=0x57774a0) at thread/qthread_unix.cpp:298
#8  0x00007f9396c22e9a in start_thread (arg=0x7f93117fa700) at pthread_create.c:308
#9  0x00007f939b31ccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f93a1e8fa00 (LWP 7041)):
[KCrash Handler]
#6  QAction::setEnabled (this=0x4bd3070, b=false) at kernel/qaction.cpp:1114
#7  0x00007f939d035cbb in QMenu::changeEvent (this=0x5762dd0, e=0x7fff8915ef90) at widgets/qmenu.cpp:2389
#8  0x00007f939cc3bc0f in QWidget::event (this=0x5762dd0, event=0x7fff8915ef90) at kernel/qwidget.cpp:8652
#9  0x00007f939d03e80b in QMenu::event (this=0x5762dd0, e=0x7fff8915ef90) at widgets/qmenu.cpp:2469
#10 0x00007f939cbeb894 in notify_helper (e=0x7fff8915ef90, receiver=0x5762dd0, this=0x1a341d0) at kernel/qapplication.cpp:4559
#11 QApplicationPrivate::notify_helper (this=0x1a341d0, receiver=0x5762dd0, e=0x7fff8915ef90) at kernel/qapplication.cpp:4531
#12 0x00007f939cbf0713 in QApplication::notify (this=0x7fff89162060, receiver=0x5762dd0, e=0x7fff8915ef90) at kernel/qapplication.cpp:4420
#13 0x00007f939d9253f6 in KApplication::notify (this=0x7fff89162060, receiver=0x5762dd0, event=0x7fff8915ef90) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007f939c1f1e9c in QCoreApplication::notifyInternal (this=0x7fff89162060, receiver=0x5762dd0, event=0x7fff8915ef90) at kernel/qcoreapplication.cpp:876
#15 0x00007f939cc39b03 in sendEvent (event=0x7fff8915ef90, receiver=0x5762dd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QWidgetPrivate::setEnabled_helper (this=<optimized out>, enable=false) at kernel/qwidget.cpp:3420
#17 0x00007f939cc39a5c in QWidgetPrivate::setEnabled_helper (this=0x3f0ed90, enable=false) at kernel/qwidget.cpp:3394
#18 0x00007f939cc39a5c in QWidgetPrivate::setEnabled_helper (this=0x325f4a0, enable=false) at kernel/qwidget.cpp:3394
#19 0x00007f939cc39a5c in QWidgetPrivate::setEnabled_helper (this=0x325ef40, enable=false) at kernel/qwidget.cpp:3394
#20 0x00007f939cc39a5c in QWidgetPrivate::setEnabled_helper (this=0x325e9a0, enable=false) at kernel/qwidget.cpp:3394
#21 0x00007f939f59ec40 in Digikam::ImagePropertiesGPSTab::setCurrentURL(KUrl const&) () from /usr/lib/libdigikamcore.so.2
#22 0x00007f939f5888e2 in Digikam::ImagePropertiesSideBar::slotNoCurrentItem() () from /usr/lib/libdigikamcore.so.2
#23 0x000000000049f7cb in ?? ()
#24 0x00007f939c206281 in QMetaObject::activate (sender=0x3148a90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#25 0x00007f939f5e3c8c in Digikam::EditorWindow::slotSavingStarted(QString const&) () from /usr/lib/libdigikamcore.so.2
#26 0x00007f939c206281 in QMetaObject::activate (sender=0x315fcf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8915f520) at kernel/qobject.cpp:3547
#27 0x00007f939f5d2b85 in Digikam::Canvas::signalSavingStarted(QString const&) () from /usr/lib/libdigikamcore.so.2
#28 0x00007f939c206281 in QMetaObject::activate (sender=0x3150200, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8915f660) at kernel/qobject.cpp:3547
#29 0x00007f939f5c6395 in Digikam::DImgInterface::signalSavingStarted(QString const&) () from /usr/lib/libdigikamcore.so.2
#30 0x00007f939f5d018d in Digikam::DImgInterface::saveAs(QString const&, Digikam::IOFileSettingsContainer*, bool, QString const&, Digikam::VersionFileOperation const&, QString const&) () from /usr/lib/libdigikamcore.so.2
#31 0x00007f939f5d0fb4 in Digikam::DImgInterface::saveAs(QString const&, Digikam::IOFileSettingsContainer*, bool, QString const&, Digikam::VersionFileOperation const&) () from /usr/lib/libdigikamcore.so.2
#32 0x00007f939f5f98aa in Digikam::EditorWindow::startingSaveVersion(KUrl const&, bool, bool, QString const&) () from /usr/lib/libdigikamcore.so.2
#33 0x00007f939f5fa202 in Digikam::EditorWindow::startingSaveCurrentVersion(KUrl const&) () from /usr/lib/libdigikamcore.so.2
#34 0x0000000000490f4b in _start ()

Possible duplicates by query: bug 298639, bug 286133.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-11-24 12:58:37 UTC

*** This bug has been marked as a duplicate of bug 298639 ***
Comment 2 caulier.gilles 2019-08-13 12:02:26 UTC
Fixed with bug #298639