Bug 283480

Summary: digiKam crash in setup
Product: [Applications] digikam Reporter: Gerhard Hoogterp <gerhard>
Component: Setup-DatabaseAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, cfeck
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Gerhard Hoogterp 2011-10-06 16:29:51 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 x86_64
Distribution: Ubuntu 11.04

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

segfault at start during the initialisation of the program. Just like with 2.2.1

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f01a5fd3700 (LWP 10445)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01c1b1782b in wait (this=<value optimized out>, mutex=0x26b4608, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x26b4608, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005be7e0 in Digikam::ScanController::run (this=0x272ac30) at /build/buildd/digikam-2.2.0/core/digikam/database/scancontroller.cpp:647
#4  0x00007f01c1b17175 in QThreadPrivate::start (arg=0x272ac30) at thread/qthread_unix.cpp:320
#5  0x00007f01ad62156c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f01c07f3d8c in start_thread (arg=0x7f01a5fd3700) at pthread_create.c:304
#7  0x00007f01c0af104d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f01a57d2700 (LWP 10446)):
#0  0x00007f01c0ae3f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f01bb180104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f01bb180639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f01c1c29446 in QEventDispatcherGlib::processEvents (this=0x26c1be0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f01c1bfd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f01c1bfdabc in QEventLoop::exec (this=0x7f01a57d1a50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f01c1b14924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f01c1bdfc2f in QInotifyFileSystemWatcherEngine::run (this=0x26c5280) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f01c1b17175 in QThreadPrivate::start (arg=0x26c5280) at thread/qthread_unix.cpp:320
#9  0x00007f01ad62156c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f01c07f3d8c in start_thread (arg=0x7f01a57d2700) at pthread_create.c:304
#11 0x00007f01c0af104d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f01c964aa40 (LWP 10444)):
[KCrash Handler]
#6  Digikam::DatabaseCoreBackend::setDatabaseErrorHandler (this=0x0, handler=0x268f190) at /build/buildd/digikam-2.2.0/core/libs/database/databasecorebackend.cpp:1624
#7  0x0000000000593fea in Digikam::AlbumManager::setDatabase (this=0x26b2bb0, params=..., priority=<value optimized out>, suggestedAlbumRoot=...) at /build/buildd/digikam-2.2.0/core/digikam/album/albummanager.cpp:728
#8  0x000000000068f4ec in main (argc=5, argv=0x7fff923a75b8) at /build/buildd/digikam-2.2.0/core/digikam/main/main.cpp:185

Possible duplicates by query: bug 282097, bug 282047.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-10-06 21:44:16 UTC
> /build/buildd/digikam-2.2.0/core/libs/database/databasecorebackend.cpp

Are you sure you built version 2.2.2, not 2.2.0 (as the filename suggests)?
Comment 2 Marcel Wiesweg 2011-10-07 16:05:11 UTC
think "crashes with 2.2.0 as it did with 2.1.1"

*** This bug has been marked as a duplicate of bug 282047 ***
Comment 3 caulier.gilles 2022-01-20 16:52:42 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=282047