Bug 245776

Summary: Crashes when selecting Settings
Product: [Applications] digikam Reporter: Vincent-Xavier JUMEL <endymion+kde>
Component: Setup-ConfigFilesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: bartosz.jedrzejczak, caulier.gilles, jjdmol, paulo.miguel.dias
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Vincent-Xavier JUMEL 2010-07-26 14:04:41 UTC
Application: digikam (1.3.0)
KDE Platform Version: 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723)) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-gentoo-r2 x86_64
Distribution: "Gentoo Base System release 2.0.1"

-- Information about the crash:
I've rmeoved both digikamrc and kiprc but digikam still crashes when calling configuration tool.

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7f7733ea9710 (LWP 12632)):
#0  0x00007f7744dc128c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f77462a9b3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00000000006ed03b in Digikam::ScanController::run (this=0xc233d0) at /var/tmp/portage/media-gfx/digikam-1.3.0/work/digikam-1.3.0/digikam/scancontroller.cpp:516
#3  0x00007f77462a8ae5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f7744dbc8e4 in start_thread () from /lib/libpthread.so.0
#5  0x00007f774533c27d in clone () from /lib/libc.so.6

Thread 9 (Thread 0x7f77336a8710 (LWP 12634)):
#0  0x00007f77453335c3 in poll () from /lib/libc.so.6
#1  0x00007f7742aa6119 in g_main_context_poll (context=0xcb7ac0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0xcb7ac0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x00007f7742aa656c in IA__g_main_context_iteration (context=0xcb7ac0, may_block=1) at gmain.c:2654
#4  0x00007f77463c1036 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f7746396392 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f774639676c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f77462a600b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f77462a8ae5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f7744dbc8e4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f774533c27d in clone () from /lib/libc.so.6

Thread 8 (Thread 0x7f773113d710 (LWP 12635)):
#0  0x00007f77463c1274 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#1  0x00007f7742aa5b21 in IA__g_main_context_prepare (context=0xeca4c0, priority=<value optimized out>) at gmain.c:2280
#2  0x00007f7742aa5f88 in g_main_context_iterate (context=0xeca4c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2571
#3  0x00007f7742aa656c in IA__g_main_context_iteration (context=0xeca4c0, may_block=1) at gmain.c:2654
#4  0x00007f77463c1036 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f7746396392 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f774639676c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f77462a600b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f77462a8ae5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f7744dbc8e4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f774533c27d in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7f773093c710 (LWP 12636)):
#0  0x00007f7744dc128c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f77462a9b3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f774901a6ec in Digikam::ParkingThread::run (this=0xcfde10) at /var/tmp/portage/media-gfx/digikam-1.3.0/work/digikam-1.3.0/libs/threads/threadmanager.cpp:101
#3  0x00007f77462a8ae5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f7744dbc8e4 in start_thread () from /lib/libpthread.so.0
#5  0x00007f774533c27d in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7f773013b710 (LWP 12637)):
#0  0x00007f77453335c3 in poll () from /lib/libc.so.6
#1  0x00007f7742aa6119 in g_main_context_poll (context=0xcde480, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0xcde480, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x00007f7742aa656c in IA__g_main_context_iteration (context=0xcde480, may_block=1) at gmain.c:2654
#4  0x00007f77463c1036 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f7746396392 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f774639676c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f77462a600b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f77462a8ae5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f7744dbc8e4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f774533c27d in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f772f93a710 (LWP 12638)):
#0  0x00007f7744dbf015 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f7742aa5b53 in IA__g_main_context_prepare (context=0xc6f200, priority=<value optimized out>) at gmain.c:2282
#2  0x00007f7742aa5f88 in g_main_context_iterate (context=0xc6f200, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2571
#3  0x00007f7742aa656c in IA__g_main_context_iteration (context=0xc6f200, may_block=1) at gmain.c:2654
#4  0x00007f77463c1036 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f7746396392 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f774639676c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f77462a600b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f77462a8ae5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f7744dbc8e4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f774533c27d in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f77294e7710 (LWP 12640)):
#0  0x00007f77453335c3 in poll () from /lib/libc.so.6
#1  0x00007f7742aa6119 in g_main_context_poll (context=0x1ba1950, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x1ba1950, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x00007f7742aa656c in IA__g_main_context_iteration (context=0x1ba1950, may_block=1) at gmain.c:2654
#4  0x00007f77463c1036 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f7746396392 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f774639676c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f77462a600b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f7746376c78 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f77462a8ae5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f7744dbc8e4 in start_thread () from /lib/libpthread.so.0
#11 0x00007f774533c27d in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f7725e0c710 (LWP 12647)):
#0  IA__g_main_context_prepare (context=0x3148930, priority=<value optimized out>) at gmain.c:2270
#1  0x00007f7742aa5f88 in g_main_context_iterate (context=0x3148930, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2571
#2  0x00007f7742aa656c in IA__g_main_context_iteration (context=0x3148930, may_block=1) at gmain.c:2654
#3  0x00007f77463c1036 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f7746396392 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f774639676c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f77462a600b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f7746376c78 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f77462a8ae5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f7744dbc8e4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f774533c27d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f7722605710 (LWP 12657)):
#0  0x00007f7744dc15f9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f77462a9aa2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f774629eb61 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f77462a8ae5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f7744dbc8e4 in start_thread () from /lib/libpthread.so.0
#5  0x00007f774533c27d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f774bb947e0 (LWP 12629)):
[KCrash Handler]
#6  0x00007f7746d3d681 in QAction::icon() const () from /usr/lib64/qt4/libQtGui.so.4
#7  0x00007f774a4d8586 in KIPI::PluginLoader::Info::icon (this=0xa9bf18) at /var/tmp/portage/kde-base/libkipi-4.5.9999/work/libkipi-4.5.9999/libs/libkipi/libkipi/pluginloader.cpp:171
#8  0x00007f774a4da3a9 in PluginCheckBox (this=0x4a4a3e0, parent=<value optimized out>) at /var/tmp/portage/kde-base/libkipi-4.5.9999/work/libkipi-4.5.9999/libs/libkipi/libkipi/pluginloader.cpp:357
#9  ConfigWidget (this=0x4a4a3e0, parent=<value optimized out>) at /var/tmp/portage/kde-base/libkipi-4.5.9999/work/libkipi-4.5.9999/libs/libkipi/libkipi/pluginloader.cpp:382
#10 0x00007f774a4da569 in KIPI::PluginLoader::configWidget (this=<value optimized out>, parent=0x4a4bbb0)
    at /var/tmp/portage/kde-base/libkipi-4.5.9999/work/libkipi-4.5.9999/libs/libkipi/libkipi/pluginloader.cpp:346
#11 0x00000000004dc00a in SetupPlugins (this=0x232c890, parent=<value optimized out>) at /var/tmp/portage/media-gfx/digikam-1.3.0/work/digikam-1.3.0/utilities/setup/setupplugins.cpp:73
#12 0x00000000004b970c in Setup (this=0x1f9e260, parent=<value optimized out>) at /var/tmp/portage/media-gfx/digikam-1.3.0/work/digikam-1.3.0/utilities/setup/setup.cpp:237
#13 0x00000000004babb0 in Digikam::Setup::exec (parent=0xcebfd0, page=Digikam::Setup::LastPageUsed) at /var/tmp/portage/media-gfx/digikam-1.3.0/work/digikam-1.3.0/utilities/setup/setup.cpp:349
#14 0x000000000069c881 in Digikam::DigikamApp::slotSetup (this=0xcebfd0, _c=QMetaObject::InvokeMetaMethod, _id=77842800, _a=0x7fff01f8e550)
    at /var/tmp/portage/media-gfx/digikam-1.3.0/work/digikam-1.3.0/digikam/digikamapp.cpp:2133
#15 Digikam::DigikamApp::qt_metacall (this=0xcebfd0, _c=QMetaObject::InvokeMetaMethod, _id=77842800, _a=0x7fff01f8e550)
    at /var/tmp/portage/media-gfx/digikam-1.3.0/work/digikam-1.3.0_build/digikam/digikamapp.moc:223
#16 0x00007f77463aac56 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f7746d3d542 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007f7746d3f5bb in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007f774715ebb1 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f7747164752 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f7747b21b8e in KMenu::mouseReleaseEvent (this=0x26552d0, e=0x55) at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kdeui/widgets/kmenu.cpp:471
#22 0x00007f7746d99982 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f774716694b in QMenu::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f7746d4364c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007f7746d4a41b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f7747a44886 in KApplication::notify (this=0x7fff01f8ff50, receiver=0x26552d0, event=0x7fff01f8f320)
    at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kdeui/kernel/kapplication.cpp:309
#27 0x00007f7746397a6c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f7746d495ee in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f7746dc9575 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f7746dc7e3a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f7746df1db2 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f7742aa2542 in g_main_dispatch (context=0xaee520) at gmain.c:1960
#33 IA__g_main_context_dispatch (context=0xaee520) at gmain.c:2513
#34 0x00007f7742aa63b8 in g_main_context_iterate (context=0xaee520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#35 0x00007f7742aa656c in IA__g_main_context_iteration (context=0xaee520, may_block=1) at gmain.c:2654
#36 0x00007f77463c0fe3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#37 0x00007f7746df19ae in ?? () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007f7746396392 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007f774639676c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007f774639b3fb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#41 0x0000000000774c7d in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/media-gfx/digikam-1.3.0/work/digikam-1.3.0/digikam/main.cpp:195

This bug may be a duplicate of or related to bug 243275.

Possible duplicates by query: bug 245775, bug 245628, bug 243275, bug 237565.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-07-26 14:15:41 UTC

*** This bug has been marked as a duplicate of bug 237565 ***
Comment 2 caulier.gilles 2010-10-15 19:13:54 UTC
*** Bug 254283 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2010-10-31 13:20:36 UTC
*** Bug 255733 has been marked as a duplicate of this bug. ***
Comment 4 Bartosz Jędrzejczak 2011-08-22 19:22:46 UTC
Created attachment 63058 [details]
New crash information added by DrKonqi

digikam (1.9.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

wanted to change the config while viewing the pictures

-- Backtrace (Reduced):
#6  ref (this=0x7fff08191310, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QIcon::QIcon (this=0x7fff08191310, other=...) at image/qicon.cpp:541
#8  0x00007f15754c5424 in QAction::icon (this=<value optimized out>) at kernel/qaction.cpp:737
#9  0x00007f157a6dea03 in KIPI::PluginLoader::Info::icon() const () from /usr/lib/libkipi.so.8
#10 0x00007f157a6deccf in KIPI::ConfigWidget::ConfigWidget(QWidget*) () from /usr/lib/libkipi.so.8
Comment 5 caulier.gilles 2018-02-04 09:17:31 UTC
Problem fixed in 6.0.0 where all tools are now in digiKam core