Bug 282781

Summary: Crashes when reopening configuration dialog after disabling export tools
Product: [Applications] digikam Reporter: Gert Kello <gert.kello>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description Gert Kello 2011-09-26 07:35:18 UTC
Application: digikam (2.2.0)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

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

Enable "AquireImages" & close configuration dialog.
Disbale "AquireImages" & close configuration dialog.
Try to reopen configuration dialog, crash appears.

Digikam, kipi-plugins & libkipi are compiled from git master.

The crash can be reproduced every time.

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

Thread 5 (Thread 0xb6256b70 (LWP 5739)):
#0  0x00950416 in __kernel_vsyscall ()
#1  0x08e27f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0616c84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0615c1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0615c92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x041aa304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x061852df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x007b1e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x08e3673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb4740b70 (LWP 5741)):
#0  0x00950416 in __kernel_vsyscall ()
#1  0x007b648c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x08e443fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0635b467 in wait (this=0x9d4cf84, mutex=0x9d4cf80, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9d4cf84, mutex=0x9d4cf80, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081ebd49 in _start ()

Thread 3 (Thread 0xb3f3fb70 (LWP 5742)):
#0  0x01aedd41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x063b0dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0647d4f2 in updateCurrentTime (this=0x9d52234, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x9d52234, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0647bd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3f3ef3c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0647bdcd in timerSourcePrepare (source=0x9d52200, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0615afd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0615be63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x0615c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0647c577 in QEventDispatcherGlib::processEvents (this=0x9d50b98, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0644e289 in QEventLoop::processEvents (this=0xb3f3f0f0, flags=...) at kernel/qeventloop.cpp:149
#12 0x0644e522 in QEventLoop::exec (this=0xb3f3f0f0, flags=...) at kernel/qeventloop.cpp:201
#13 0x063582a0 in QThread::exec (this=0x9d4eed8) at thread/qthread.cpp:492
#14 0x0642ffdb in QInotifyFileSystemWatcherEngine::run (this=0x9d4eed8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0635ada2 in QThreadPrivate::start (arg=0x9d4eed8) at thread/qthread_unix.cpp:320
#16 0x007b1e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x08e3673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb373eb70 (LWP 5744)):
#0  0x00950416 in __kernel_vsyscall ()
#1  0x007b648c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x08e443fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0635b467 in wait (this=0x9e37c38, mutex=0x9e37c34, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9e37c38, mutex=0x9e37c34, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x0178929a in Digikam::ParkingThread::run (this=0x9e37c28) at /home/gert/devel/digikam/core/libs/threads/threadmanager.cpp:119
#6  0x0635ada2 in QThreadPrivate::start (arg=0x9e37c28) at thread/qthread_unix.cpp:320
#7  0x007b1e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x08e3673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb64d88b0 (LWP 5738)):
[KCrash Handler]
#7  0x021cf3e9 in QIcon::QIcon (this=0xbfd99da4, other=...) at image/qicon.cpp:538
#8  0x0210e91f in QAction::icon (this=0xb019440) at kernel/qaction.cpp:737
#9  0x00664178 in KIPI::PluginLoader::Info::icon (this=0xa2d8440) at /home/gert/devel/digikam/extra/libkipi/libkipi/pluginloader.cpp:192
#10 0x00664476 in PluginCheckBox (this=0xaefc078, parent=0xaefaea8) at /home/gert/devel/digikam/extra/libkipi/libkipi/pluginloader.cpp:393
#11 KIPI::ConfigWidget::ConfigWidget (this=0xaefc078, parent=0xaefaea8) at /home/gert/devel/digikam/extra/libkipi/libkipi/pluginloader.cpp:421
#12 0x00664594 in KIPI::PluginLoader::configWidget (this=0xa368d18, parent=0xaefaea8) at /home/gert/devel/digikam/extra/libkipi/libkipi/pluginloader.cpp:380
#13 0x0810aa50 in _start ()

Possible duplicates by query: bug 281250, bug 277669, bug 268242, bug 262050, bug 255733.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-09-26 07:50:33 UTC

*** This bug has been marked as a duplicate of bug 237565 ***
Comment 2 caulier.gilles 2018-02-04 10:49:13 UTC
Problem fixed in 6.0.0 where all tools are now in digiKam core