Bug 246065

Summary: digikam crashes at startup
Product: [Applications] digikam Reporter: nospam
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, nospam
Priority: NOR    
Version: 1.3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description nospam 2010-07-28 19:24:00 UTC
Application: digikam (1.3.0)
KDE Platform Version: 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723))
Qt Version: 4.6.3
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I started digikam aftter logon to kde 4.4.4 /4.5 Desktop.
digikam always crashes.


starting digikam on commandline results in the following error:
SqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
digikam: Fatal IO error: client killed
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/kraxel/.kde4/socket-kerbos/kdeinit4__0

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f4273d42910 (LWP 8776)):
[KCrash Handler]
#6  0x00007f428734337a in Digikam::DImg::load(QString const&, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding) () from /usr/lib64/libdigikamcore.so.1
#7  0x00007f4287343bd3 in Digikam::DImg::loadImageInfo(QString const&, bool, bool, bool) () from /usr/lib64/libdigikamcore.so.1
#8  0x00007f4286f7a943 in Digikam::ImageScanner::loadFromDisk() () from /usr/lib64/libdigikamdatabase.so.1
#9  0x00007f4286f7ff08 in Digikam::ImageScanner::newFile(int) () from /usr/lib64/libdigikamdatabase.so.1
#10 0x00007f4286f31590 in Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) () from /usr/lib64/libdigikamdatabase.so.1
#11 0x00007f4286f3230b in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.1
#12 0x00007f4286f32227 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.1
#13 0x00007f4286f32227 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.1
#14 0x00007f4286f32de7 in Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) () from /usr/lib64/libdigikamdatabase.so.1
#15 0x00007f4286f33160 in Digikam::CollectionScanner::completeScan() () from /usr/lib64/libdigikamdatabase.so.1
#16 0x00000000006ea825 in ?? ()
#17 0x00007f42851e1f95 in ?? () from /usr/lib64/libQtCore.so.4
#18 0x00007f4281ce665d in start_thread () from /lib64/libpthread.so.0
#19 0x00007f4283854e1d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f428a00a7c0 (LWP 8775)):
#0  0x00007f4281ceb049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f42851e2fdb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f42851e202c in QThread::wait(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00000000006ebeba in ?? ()
#4  0x00000000006ecd3c in ?? ()
#5  0x00000000006ecdd7 in ?? ()
#6  0x00007f42837b9065 in ?? () from /lib64/libc.so.6
#7  0x00007f42837b90b5 in exit () from /lib64/libc.so.6
#8  0x00007f428448e3a8 in ?? () from /usr/lib64/libQtGui.so.4
#9  0x00007f4285c229a8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#10 0x00007f42824802be in _XIOError () from /usr/lib64/libX11.so.6
#11 0x00007f4282487c95 in ?? () from /usr/lib64/libX11.so.6
#12 0x00007f4282488547 in _XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007f428247124b in XEventsQueued () from /usr/lib64/libX11.so.6
#14 0x00007f42844c63dc in ?? () from /usr/lib64/libQtGui.so.4
#15 0x00007f427c80ccca in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f427c80d4b0 in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f427c80d8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f42852fb1e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#19 0x00007f42844c621e in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00007f42852d0432 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#21 0x00007f42852d080c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#22 0x00000000006eb8b3 in ?? ()
#23 0x0000000000698cf3 in ?? ()
#24 0x00000000007720bd in ?? ()
#25 0x00007f42837a2a7d in __libc_start_main () from /lib64/libc.so.6
#26 0x000000000047a699 in _start ()

Possible duplicates by query: bug 244529, bug 243011, bug 242818, bug 242518, bug 242305.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-07-29 07:20:55 UTC
digiKam debug package is missing. backtrace is uncomplete. Please install it and try again.

Gilles Caulier
Comment 2 nospam 2010-08-02 21:24:20 UTC
Created attachment 49757 [details]
New crash information added by DrKonqi

digikam (1.3.0) on KDE Platform 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723)) using Qt 4.6.3

I just started digikam. it always crashes with segfault

-- Backtrace (Reduced):
#6  ref (this=<value optimized out>) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  QString (this=<value optimized out>) at /usr/include/QtCore/qstring.h:715
#8  RawDecodingSettings (this=<value optimized out>) at /usr/include/libkdcraw/rawdecodingsettings.h:46
#9  DRawDecoding (this=<value optimized out>) at /usr/src/debug/digikam-1.3.0/libs/dimg/drawdecoding.h:49
#10 Digikam::DImg::load (this=<value optimized out>) at /usr/src/debug/digikam-1.3.0/libs/dimg/dimg.cpp:434
Comment 3 Marcel Wiesweg 2010-08-12 16:45:02 UTC
Crashes inside constructor. This probably indicates a binary compatibility problem, version mismatch etc. between digikam, the libkdcraw for which digikam was compiled, and libkdcraw.
Comment 4 caulier.gilles 2010-10-06 11:20:59 UTC

*** This bug has been marked as a duplicate of bug 242305 ***
Comment 5 caulier.gilles 2019-12-25 17:22:58 UTC
Not reproducible using digiKam 7.0.0 beta1.