Bug 283480 - digiKam crash in setup
Summary: digiKam crash in setup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Database (show other bugs)
Version: 2.2.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 16:29 UTC by Gerhard Hoogterp
Modified: 2022-01-20 17:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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