Bug 261086

Summary: Crash at startup
Product: [Applications] digikam Reporter: Gandalf Lechner <gandalflechner>
Component: Plugin-DImg-RAWAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: caulier.gilles, Julien
Priority: NOR    
Version: 1.8.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 1.8.0
Attachments: crash report

Description Gandalf Lechner 2010-12-23 17:55:01 UTC
Version:           1.8.0 (using KDE 4.5.85) 
OS:                Linux

Digikam (today's svn) crashes at startup before the main window comes up. crash report attached.

Reproducible: Always
Comment 1 Gandalf Lechner 2010-12-23 17:56:43 UTC
Created attachment 55189 [details]
crash report
Comment 2 caulier.gilles 2010-12-23 18:58:24 UTC
Thread 1 (Thread 0x7f4d0378d7c0 (LWP 32403)):
[KCrash Handler]
#6  0x000000000047fd34 in QBasicAtomicInt::ref (this=0x0) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  0x000000000051a5a5 in QVector<QPoint>::QVector (this=0x7fffae2fc4d0, v=...) at /usr/include/qt4/QtCore/qvector.h:118
#8  0x0000000000519edf in QPolygon::QPolygon (this=0x7fffae2fc4d0, a=...) at /usr/include/qt4/QtGui/qpolygon.h:66
#9  0x000000000051a42f in Digikam::DRawDecoding::DRawDecoding (this=0x7fffae2fc3f0) at /home/gandalf/down/svn/kde4/graphics/digikam/libs/dimg/drawdecoding.h:50
#10 0x000000000072fa2c in Digikam::QueueSettings::QueueSettings (this=0x7fffae2fc3d0) at /home/gandalf/down/svn/kde4/graphics/build/digikam/utilities/queuemanager/../../../../digikam/utilities/queuemanager/queuesettingsview.h:46
#11 0x000000000072e0ca in Digikam::QueueListView::settings (this=0x97f9cd0) at /home/gandalf/down/svn/kde4/graphics/digikam/utilities/queuemanager/queuelist.cpp:884
#12 0x000000000072e2af in Digikam::QueueListView::updateDestFileNames (this=0x97f9cd0) at /home/gandalf/down/svn/kde4/graphics/digikam/utilities/queuemanager/queuelist.cpp:926

==> it sound like a binary incompatibility with your libkdcraw. digiKam need to be recompiled.

Gilles Caulier
Comment 3 Julien Narboux 2010-12-23 19:04:08 UTC
I can reproduce this crash. I recompiled kdegraphics libs and digikam withou success.

Julien
Comment 4 caulier.gilles 2010-12-23 19:09:58 UTC
Today, i imported new libkdcraw code from GoSC2010 branch to trunk. BC is broken.

You must clean digiKam, clean libkdcraw. recompile/install libkdcraw, and after cleaned cmake cache from digiKam to detect new libkdcraw installed properlly. 

recompile and install digiKam like this must solve the problem.

Also, if problem still there, remove all libkdcraw bin files installed on your system and recompile install it. After that recompile digiKam...

Gilles Caulier
Comment 5 Gandalf Lechner 2010-12-23 20:40:08 UTC
I cleaned my svn directory, compiled again, and removed the packages libkdcraw8 and libkdcraw9. no it works again :-)

many thanks to the digikam team, and happy christmas!