Bug 328835

Summary: Crash when opening "Configure Digikam" settings
Product: [Applications] digikam Reporter: Kristian Karl <kristian.hermann.karl>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: CLOSED FIXED    
Severity: crash CC: caulier.gilles, tpr
Priority: NOR    
Version: 4.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.0.0
Sentry Crash Report:

Description Kristian Karl 2013-12-15 13:24:51 UTC
When opening "Configure Digikam" settings digikam crashes

Reproducible: Always

Steps to Reproduce:
1. Select main from menu "Settings" -> "Configure digiKam..."
2. Program crashes
Actual Results:  
Program crash

Expected Results:  
Configure digiKam dialog to be displayed

Could not get a descent stacktrace. Looks like a recursive calls:
=== START OF STACKTRACE===
#0 QStyleOptionViewItem::QStyleOptionViewItem(int)() at /lib64/libQtGui.so.4
#1 QStyleOptionViewItemV2::QStyleOptionViewItemV2(int)() at /lib64/libQtGui.so.4
#2 QStyleOptionViewItemV3::QStyleOptionViewItemV3(int)() at /lib64/libQtGui.so.4
#3 QStyleOptionViewItemV4::QStyleOptionViewItemV4()() at /lib64/libQtGui.so.4
#4 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#5 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#6 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#7 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#8 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#9 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#10 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#11 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#12 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#13 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#14 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#15 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#16 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#17 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#18 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#19 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#20 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#21 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#22 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#23 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#24 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
:
:
#9899 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
#9900 KWidgetItemDelegatePrivate::initializeModel(QModelIndex const&)() at /lib64/libkdeui.so.5
=== END OF STACKTRACE===


These are the last [debug] log lines:
libpng warning: iCCP: known incorrect sRGB profile
digikam(25796)/digikam (core) Digikam::AlbumFilterModel::setSearchTextSettings: new search text settings:  "" : hasResult =  true , validRows =  27
*** Program received signal SIGSEGV (Segmentation fault) ***
Comment 1 Kristian Karl 2013-12-15 13:25:27 UTC
The source code compiled is the latest from master.
Comment 2 Christoph Feck 2013-12-15 13:59:52 UTC
Are you using kdelibs from git? If yes, please update.
Comment 3 Kristian Karl 2013-12-15 19:15:54 UTC
No, but I'm on Fedora 20, using kdelibs-devel-4.11.97-1.fc20.x86_64
Comment 4 Teemu Rytilahti 2013-12-16 01:46:18 UTC
Caused by a bug in kdelibs, which has already been fixed apparently.

*** This bug has been marked as a duplicate of bug 328578 ***
Comment 5 Kristian Karl 2013-12-22 12:04:06 UTC
Yeah, I can confirm that using KDE 4.12.0 fixes this crash.