Bug 274768 - digikam crashed @DatabaseConfigElement::element
Summary: digikam crashed @DatabaseConfigElement::element
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Schema (show other bugs)
Version: 1.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-02 17:04 UTC by steve liddle
Modified: 2017-07-26 16:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments
attachment-15087-0.html (1.38 KB, text/html)
2015-07-03 07:28 UTC, steve liddle
Details
attachment-18135-0.html (1.62 KB, text/html)
2015-07-03 08:24 UTC, steve liddle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description steve liddle 2011-06-02 17:04:18 UTC
Application: digikam (1.4.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-29-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
trying to add keywords to 404 jpg files, that seems to have worked and am now adding keywords to smaller groups
the app greyscreened and the force quit application could not find digikam, but when I rebooted the digikam was blocking the reboot, so it was forced shut
much better than windows where if it crashes, tough as generally no feedback to maker:(

The crash can be reproduced some of the time.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7fb0e95b07c0 (LWP 2143))]

Thread 7 (Thread 0x7fb0d50fb700 (LWP 2144)):
#0  0x00007fb0e0db0203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb0ddc3b009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fb0ddc3b7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007fb0d58323c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fb0ddc607e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007fb0e22e9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fb0e0dbc92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fb0c873e700 (LWP 2145)):
[KCrash Handler]
#6  0x00007fb0e0d09ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fb0e0d0d6b0 in abort () at abort.c:92
#8  0x00007fb0e256b864 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x00007fb0e256ba42 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fb0e66c17d0 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fb0c873d190) at global/qglobal.cpp:2305
#10 0x00007fb0e256bbf5 in qFatal (msg=0x861 <Address 0x861 out of bounds>) at global/qglobal.cpp:2488
#11 0x00007fb0e654358f in operator-> (databaseType=...) at /build/buildd/digikam-1.4.0/libs/database/databaseconfigelement.cpp:62
#12 Digikam::DatabaseConfigElement::element (databaseType=...) at /build/buildd/digikam-1.4.0/libs/database/databaseconfigelement.cpp:261
#13 0x00007fb0e652d7d1 in Digikam::DatabaseCoreBackend::configElement (this=<value optimized out>) at /build/buildd/digikam-1.4.0/libs/database/databasecorebackend.cpp:461
#14 0x00007fb0e652e286 in Digikam::DatabaseCoreBackend::getDBAction (this=0x861, actionName=...) at /build/buildd/digikam-1.4.0/libs/database/databasecorebackend.cpp:466
#15 0x00007fb0e5ff0016 in Digikam::AlbumDB::changeImageInformation (this=<value optimized out>, imageId=<value optimized out>, uncheckedInfos=<value optimized out>, fields=<value optimized out>) at /build/buildd/digikam-1.4.0/libs/database/albumdb.cpp:1323
#16 0x00007fb0e604ca19 in Digikam::ImageScanner::scanImageInformation (this=<value optimized out>) at /build/buildd/digikam-1.4.0/libs/database/imagescanner.cpp:315
#17 0x00007fb0e5ffd616 in Digikam::CollectionScanner::scanModifiedFile (this=0x7fb0c873dd40, info=..., scanInfo=<value optimized out>) at /build/buildd/digikam-1.4.0/libs/database/collectionscanner.cpp:786
#18 0x00007fb0e5ffd7fc in Digikam::CollectionScanner::scanFileNormal (this=0x7fb0c873dd40, fi=..., scanInfo=...) at /build/buildd/digikam-1.4.0/libs/database/collectionscanner.cpp:723
#19 0x00007fb0e5ffe868 in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>) at /build/buildd/digikam-1.4.0/libs/database/collectionscanner.cpp:662
#20 0x00007fb0e600001a in Digikam::CollectionScanner::partialScan (this=0x7fb0c873dd40, albumRoot=<value optimized out>, album=...) at /build/buildd/digikam-1.4.0/libs/database/collectionscanner.cpp:342
#21 0x00007fb0e60003c5 in Digikam::CollectionScanner::partialScan (this=0x7fb0c873dd40, filePath=...) at /build/buildd/digikam-1.4.0/libs/database/collectionscanner.cpp:294
#22 0x00000000006eea0e in Digikam::ScanController::run (this=0x175a8e0) at /build/buildd/digikam-1.4.0/digikam/scancontroller.cpp:552
#23 0x00007fb0e257427e in QThreadPrivate::start (arg=0x175a8e0) at thread/qthread_unix.cpp:266
#24 0x00007fb0e22e9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#25 0x00007fb0e0dbc92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb0c7f3d700 (LWP 2182)):
#0  0x00007fb0e22eb665 in __pthread_mutex_lock (mutex=0x1799388) at pthread_mutex_lock.c:61
#1  0x00007fb0ddc3aa43 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007fb0ddc3ae78 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fb0ddc3b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007fb0e26941e6 in QEventDispatcherGlib::processEvents (this=0x19569e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007fb0e2666a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fb0e2666dec in QEventLoop::exec (this=0x7fb0c7f3cd90, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fb0e25712fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007fb0e257427e in QThreadPrivate::start (arg=0x199fe50) at thread/qthread_unix.cpp:266
#9  0x00007fb0e22e9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fb0e0dbc92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb0c6fb0700 (LWP 2183)):
#0  0x00007fff599ff904 in clock_gettime ()
#1  0x00007fb0d90980bf in clock_gettime (clock_id=1, tp=0x7fb0c6fafac0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007fb0e25c994f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007fb0e26961fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fb0e2696225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fb0e26943dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fb0c6fafbfc) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fb0e2694485 in timerSourcePrepare (source=0x1, timeout=0x7fb0c6fafac0) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fb0ddc3aa11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007fb0ddc3ae78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007fb0ddc3b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007fb0e26941e6 in QEventDispatcherGlib::processEvents (this=0x1c59220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007fb0e2666a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007fb0e2666dec in QEventLoop::exec (this=0x7fb0c6fafd90, flags=) at kernel/qeventloop.cpp:201
#14 0x00007fb0e25712fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007fb0e257427e in QThreadPrivate::start (arg=0x1a78560) at thread/qthread_unix.cpp:266
#16 0x00007fb0e22e9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#17 0x00007fb0e0dbc92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb0aa2d7700 (LWP 2192)):
#0  0x00007fff599ff904 in clock_gettime ()
#1  0x00007fb0d90980bf in clock_gettime (clock_id=1, tp=0x7fb0aa2d6a80) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007fb0e25c994f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007fb0e26961fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fb0e2696225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fb0e26943dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fb0aa2d6bbc) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fb0e2694485 in timerSourcePrepare (source=0x1, timeout=0x7fb0aa2d6a80) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fb0ddc3aa11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007fb0ddc3ae78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007fb0ddc3b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007fb0e26941e6 in QEventDispatcherGlib::processEvents (this=0x1cd45a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007fb0e2666a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007fb0e2666dec in QEventLoop::exec (this=0x7fb0aa2d6d50, flags=) at kernel/qeventloop.cpp:201
#14 0x00007fb0e25712fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007fb0e26465f8 in QInotifyFileSystemWatcherEngine::run (this=0x1cd3ff0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fb0e257427e in QThreadPrivate::start (arg=0x1cd3ff0) at thread/qthread_unix.cpp:266
#17 0x00007fb0e22e9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#18 0x00007fb0e0dbc92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb0a7a04700 (LWP 2199)):
#0  0x00007fb0e26945bd in socketNotifierSourceCheck (source=0x2a4a340) at kernel/qeventdispatcher_glib.cpp:83
#1  0x00007fb0ddc3a66a in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007fb0ddc3b023 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fb0ddc3b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007fb0e26941e6 in QEventDispatcherGlib::processEvents (this=0x2a4a420, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007fb0e2666a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fb0e2666dec in QEventLoop::exec (this=0x7fb0a7a03d50, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fb0e25712fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007fb0e26465f8 in QInotifyFileSystemWatcherEngine::run (this=0x2a49d90) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fb0e257427e in QThreadPrivate::start (arg=0x2a49d90) at thread/qthread_unix.cpp:266
#10 0x00007fb0e22e9971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007fb0e0dbc92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb0e95b07c0 (LWP 2143)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb0e2574e3b in wait (this=<value optimized out>, mutex=0x175a200, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x175a200, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb0e2573edc in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:652
#4  0x00000000006ee3bf in Digikam::ScanController::shutDown (this=<value optimized out>) at /build/buildd/digikam-1.4.0/digikam/scancontroller.cpp:290
#5  0x00000000006f2e1b in Digikam::ScanController::~ScanController (this=0x175a26c, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.4.0/digikam/scancontroller.cpp:273
#6  0x00000000006f2fd7 in ~ScanControllerCreator () at /build/buildd/digikam-1.4.0/digikam/scancontroller.cpp:221
#7  destroy () at /build/buildd/digikam-1.4.0/digikam/scancontroller.cpp:222
#8  0x00007fb0e0d0f4f2 in __run_exit_handlers (status=1) at exit.c:78
#9  exit (status=1) at exit.c:100
#10 0x00007fb0d3a71746 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x00007fb0e3fcce98 in KApplication::xioErrhandler (this=0x7fff599f70e0, dpy=0x14e84f0) at ../../kdeui/kernel/kapplication.cpp:416
#12 0x00007fb0df6cb86e in _XIOError () from /usr/lib/libX11.so.6
#13 0x00007fb0df6d3415 in ?? () from /usr/lib/libX11.so.6
#14 0x00007fb0df6d39b0 in _XReply () from /usr/lib/libX11.so.6
#15 0x00007fb0df6c0fe0 in XQueryPointer () from /usr/lib/libX11.so.6
#16 0x00007fb0e330ccdd in QCursor::pos () at kernel/qcursor_x11.cpp:158
#17 0x00007fb0e327e535 in QApplicationPrivate::dispatchEnterLeave (enter=<value optimized out>, leave=<value optimized out>) at kernel/qapplication.cpp:2717
#18 0x00007fb0e3300c19 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff599f6c20) at kernel/qapplication_x11.cpp:3532
#19 0x00007fb0e332d0e2 in x11EventSourceDispatch (s=0x14ca460, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#20 0x00007fb0ddc37342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007fb0ddc3b2a8 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007fb0ddc3b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007fb0e2694193 in QEventDispatcherGlib::processEvents (this=0x1487280, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#24 0x00007fb0e332ca4e in QGuiEventDispatcherGlib::processEvents (this=0x175a26c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007fb0e2666a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007fb0e2666dec in QEventLoop::exec (this=0x7fff599f6f50, flags=) at kernel/qeventloop.cpp:201
#27 0x00007fb0e266aebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#28 0x000000000077cc1d in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam-1.4.0/digikam/main.cpp:195

Reported using DrKonqi
Comment 1 caulier.gilles 2011-06-05 21:17:39 UTC
1.4.0 is pretty old. Please try with last stable 1.9.0...

Gilles Caulier
Comment 2 steve liddle 2011-06-05 23:39:48 UTC
will do so when next on linux, pretty sure I got it off your website, shame
it was not the latest release :(

On 5 June 2011 20:17, Gilles Caulier <caulier.gilles@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=274768
>
>
> Gilles Caulier <caulier.gilles@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |caulier.gilles@gmail.com
>          Component|general                     |Database
>
>
>
>
> --- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2011-06-05
> 21:17:39 ---
> 1.4.0 is pretty old. Please try with last stable 1.9.0...
>
> Gilles Caulier
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 caulier.gilles 2011-07-06 11:16:31 UTC
We need feedback using a recent version. 2.0.0 RC is out, please test...

Thanks in advance

Gilles Caulier
Comment 4 steve liddle 2011-07-06 20:59:25 UTC
will look at it on the weekend, too tired in week

On 6 July 2011 12:16, Gilles Caulier <caulier.gilles@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=274768
>
>
> Gilles Caulier <caulier.gilles@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|UNCONFIRMED                 |RESOLVED
>         Resolution|                            |WAITINGFORINFO
>
>
>
>
> --- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2011-07-06
> 11:16:31 ---
> We need feedback using a recent version. 2.0.0 RC is out, please test...
>
> Thanks in advance
>
> Gilles Caulier
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 5 caulier.gilles 2015-07-03 05:59:49 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 6 steve liddle 2015-07-03 07:28:37 UTC
Created attachment 93465 [details]
attachment-15087-0.html

hi

no longer have linux installed on that pc, not sure I even have the same pc
either

On 3 July 2015 at 06:59, Gilles Caulier <caulier.gilles@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=274768
>
> --- Comment #5 from Gilles Caulier <caulier.gilles@gmail.com> ---
> New digiKam 4.11.0 is available.
>
> https://www.digikam.org/node/740
>
> Can you reproduce the problem with this release ?
>
> Gilles Caulier
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 7 steve liddle 2015-07-03 08:24:38 UTC
Created attachment 93467 [details]
attachment-18135-0.html

hi

got linux mint 17 installed on a rarely used netbook and probably some
virtual drives.

digikam died and have a ms webcam

you do realise that the initial posting is over 4 years old ?

time to close the thread :)

On 3 July 2015 at 08:32, Gilles Caulier <caulier.gilles@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=274768
>
> Gilles Caulier <caulier.gilles@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>    Version Fixed In|                            |4.12.0
>          Resolution|WAITINGFORINFO              |FIXED
>
> --
> You are receiving this mail because:
> You reported the bug.
>