Bug 253551 - Digikam crashes after deleting a tag
Summary: Digikam crashes after deleting a tag
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Engine (show other bugs)
Version: 1.2.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 23:21 UTC by Paul
Modified: 2022-01-22 16:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2010-10-07 23:21:15 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I found I had two tags: flowers, and Flowers.  After tagging the combined photos with Flowers, I deleted the flowers tag; verified that's what I wanted, and.... crash

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

Thread 16 (Thread 0x7f4c7c344710 (LWP 6943)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4c91e2372b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x20186e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x20186e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006e1d9b in Digikam::ScanController::run (this=0x2018370) at /build/buildd/digikam-1.2.0/digikam/scancontroller.cpp:516
#4  0x00007f4c91e22775 in QThreadPrivate::start (arg=0x2018370) at thread/qthread_unix.cpp:248
#5  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f4c78a61710 (LWP 6945)):
#0  0x00007f4c90ebbf83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c8e1b74a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4c8e1b78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4c91f40566 in QEventDispatcherGlib::processEvents (this=0x22bf6f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f4c91f15992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f4c91f15d6c in QEventLoop::exec (this=0x7f4c78a60d70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f4c91e1fd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f4c91e22775 in QThreadPrivate::start (arg=0x2268d00) at thread/qthread_unix.cpp:248
#8  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f4c73fff710 (LWP 6946)):
#0  0x00007f4c90ebbf83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c8e1b74a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4c8e1b78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4c91f40566 in QEventDispatcherGlib::processEvents (this=0x2006fe0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f4c91f15992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f4c91f15d6c in QEventLoop::exec (this=0x7f4c73ffed70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f4c91e1fd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f4c91e22775 in QThreadPrivate::start (arg=0x228cbd0) at thread/qthread_unix.cpp:248
#8  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f4c737fe710 (LWP 6947)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4c91e2372b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x22bcef8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x22bcef8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4c9577c532 in Digikam::LoadSaveThread::run (this=0x22bcee0) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f4c91e22775 in QThreadPrivate::start (arg=0x22bcee0) at thread/qthread_unix.cpp:248
#5  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f4c72ffd710 (LWP 6948)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f4c72ffca60 in ?? ()
#2  0x00007fffccb4c852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x7f4c727fc710 (LWP 6949)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f4c727fba60 in ?? ()
#2  0x00007fffccb4c852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x7f4c6a700710 (LWP 6950)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f4c705a3081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f4c692c4710 (LWP 6951)):
#0  0x00007f4c90ec0fe3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f4c705cc2c5 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f4c705b0c99 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f4c68ac3710 (LWP 6952)):
#0  0x00007f4c91b953ff in __pthread_mutex_lock (mutex=0x2896e08) at pthread_mutex_lock.c:62
#1  0x00007f4c8e1b75d1 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4c8e1b78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4c91f40566 in QEventDispatcherGlib::processEvents (this=0x2896d10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f4c91f15992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f4c91f15d6c in QEventLoop::exec (this=0x7f4c68ac2d10, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f4c91e1fd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f4c707ff440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f4c91e22775 in QThreadPrivate::start (arg=0x2896750) at thread/qthread_unix.cpp:248
#9  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f4c62d8b710 (LWP 6958)):
#0  0x00007f4c90ebbf83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c680bd915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f4c66b86710 (LWP 6959)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4c705b3e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4c66385710 (LWP 6960)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4c91e2372b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x29daa88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x29daa88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4c9577c532 in Digikam::LoadSaveThread::run (this=0x29daa70) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f4c91e22775 in QThreadPrivate::start (arg=0x29daa70) at thread/qthread_unix.cpp:248
#5  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4c640f1710 (LWP 6967)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4c91e2372b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2cfa008, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2cfa008, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4c9577c532 in Digikam::LoadSaveThread::run (this=0x2cf9ff0) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f4c91e22775 in QThreadPrivate::start (arg=0x2cf9ff0) at thread/qthread_unix.cpp:248
#5  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4c61d89710 (LWP 6968)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4c91e2372b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2da2158, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2da2158, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4c9577c532 in Digikam::LoadSaveThread::run (this=0x2da2140) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f4c91e22775 in QThreadPrivate::start (arg=0x2da2140) at thread/qthread_unix.cpp:248
#5  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4c6258a710 (LWP 6978)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4c91e2372b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x42d09a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x42d09a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4c9577c532 in Digikam::LoadSaveThread::run (this=0x42d0990) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f4c91e22775 in QThreadPrivate::start (arg=0x42d0990) at thread/qthread_unix.cpp:248
#5  0x00007f4c91b929ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4c90ec86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4c9877b7e0 (LWP 6942)):
[KCrash Handler]
#5  0x00007f4c916c8423 in __dynamic_cast () from /usr/lib/libstdc++.so.6
#6  0x0000000000492d84 in Digikam::ImageDescEditTab::slotTagStateChanged (this=0x2ae2650, album=0x42eda90, checkState=Qt::Unchecked)
    at /build/buildd/digikam-1.2.0/libs/imageproperties/imagedescedittab.cpp:716
#7  0x000000000049a658 in Digikam::ImageDescEditTab::qt_metacall (this=0x2ae2650, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffccb27e90)
    at /build/buildd/digikam-1.2.0/obj-x86_64-linux-gnu/digikam/imagedescedittab.moc:133
#8  0x00007f4c91f29e3f in QMetaObject::activate (sender=0x2b4fc90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#9  0x00000000006171bb in Digikam::AbstractCheckableAlbumModel::checkStateChanged (this=0x42eda90, _t1=0x42eda90, _t2=Qt::Unchecked)
    at /build/buildd/digikam-1.2.0/obj-x86_64-linux-gnu/digikam/abstractalbummodel.moc:320
#10 0x0000000000619e78 in Digikam::AbstractCheckableAlbumModel::resetAllCheckedAlbums (this=0x2b4fc90) at /build/buildd/digikam-1.2.0/libs/models/abstractalbummodel.cpp:802
#11 0x0000000000493d30 in Digikam::ImageDescEditTab::updateTagsView (this=0x2ae2650) at /build/buildd/digikam-1.2.0/libs/imageproperties/imagedescedittab.cpp:846
#12 0x0000000000493fe0 in Digikam::ImageDescEditTab::setInfos (this=0x2ae2650, infos=...) at /build/buildd/digikam-1.2.0/libs/imageproperties/imagedescedittab.cpp:615
#13 0x000000000049a4a2 in Digikam::ImageDescEditTab::setItem (this=0x2ae2650, info=...) at /build/buildd/digikam-1.2.0/libs/imageproperties/imagedescedittab.cpp:577
#14 0x0000000000487d4a in Digikam::ImagePropertiesSideBarDB::slotChangedTab (this=0x28aa1e0, tab=0x2ae2650) at /build/buildd/digikam-1.2.0/libs/imageproperties/imagepropertiessidebardb.cpp:276
#15 0x0000000000486d00 in Digikam::ImagePropertiesSideBarDB::itemChanged (this=0x28aa1e0, infos=<value optimized out>, rect=<value optimized out>, img=<value optimized out>)
    at /build/buildd/digikam-1.2.0/libs/imageproperties/imagepropertiessidebardb.cpp:179
#16 0x000000000048723e in Digikam::ImagePropertiesSideBarDB::itemChanged (this=0x28aa1e0, infos=<value optimized out>)
    at /build/buildd/digikam-1.2.0/libs/imageproperties/imagepropertiessidebardb.cpp:160
#17 0x000000000069a632 in Digikam::DigikamView::slotDispatchImageSelected (this=0x21ed1b0) at /build/buildd/digikam-1.2.0/digikam/digikamview.cpp:1001
#18 0x00000000006a02bd in Digikam::DigikamView::qt_metacall (this=0x21ed1b0, _c=QMetaObject::InvokeMetaMethod, _id=-860717824, _a=0x7fffccb284f0)
    at /build/buildd/digikam-1.2.0/obj-x86_64-linux-gnu/digikam/digikamview.moc:349
#19 0x00007f4c91f29e3f in QMetaObject::activate (sender=0x2e9d4e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#20 0x00007f4c91f26a63 in QObject::event (this=0x2e9d4e0, e=0x7fffccb28c40) at kernel/qobject.cpp:1212
#21 0x00007f4c92e0122c in QApplicationPrivate::notify_helper (this=0x1de12e0, receiver=0x2e9d4e0, e=0x7fffccb28c40) at kernel/qapplication.cpp:4300
#22 0x00007f4c92e076fb in QApplication::notify (this=0x7fffccb28fb0, receiver=0x2e9d4e0, e=0x7fffccb28c40) at kernel/qapplication.cpp:4183
#23 0x00007f4c93d67526 in KApplication::notify (this=0x7fffccb28fb0, receiver=0x2e9d4e0, event=0x7fffccb28c40) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f4c91f1706c in QCoreApplication::notifyInternal (this=0x7fffccb28fb0, receiver=0x2e9d4e0, event=0x7fffccb28c40) at kernel/qcoreapplication.cpp:704
#25 0x00007f4c91f43d42 in QCoreApplication::sendEvent (this=0x1de4f80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x1de4f80) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007f4c91f40848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#28 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#29 0x00007f4c8e1b38c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f4c8e1b7748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f4c8e1b78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f4c91f40513 in QEventDispatcherGlib::processEvents (this=0x1da6aa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007f4c92eb146e in QGuiEventDispatcherGlib::processEvents (this=0x42eda90, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f4c91f15992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f4c91f15d6c in QEventLoop::exec (this=0x7fffccb28ee0, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f4c91f19aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x000000000077fa9b in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/main.cpp:193

Possible duplicates by query: bug 226586.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-10-08 09:14:42 UTC

*** This bug has been marked as a duplicate of bug 226586 ***
Comment 2 terri.bugs 2010-10-09 11:07:16 UTC
Giles,

are you sure you duplicated this bug correctly? As I don't think this and bug 226586 (Digikam 1.2 crashes after My Tags window goes blank) are duplicates. This bug could be a duplicate of Bug 239896 (digikam hangs and/or crashes after adding tags). 

I have done the exact same thing as the reporter (removed a tag and applied the change) with similar results, although I have done it to a group of photos with other operations mixed in as well. The crash in 239896 could simply be result of this very simple operation (removing a single tag).
Comment 3 caulier.gilles 2010-10-09 14:16:34 UTC
Your backtrace is the same than #226586 : 

[KCrash Handler]
#5  0x00007ff8a6f9c83a in __dynamic_cast () from /usr/lib/libstdc++.so.6
#6  0x000000000049dd8f in Digikam::ImageDescEditTab::slotTagStateChanged
(this=0x276a6e0, album=0x47c9740, checkState=Qt::Unchecked)
    at
/home/terri/graphics/digikam/libs/imageproperties/imagedescedittab.cpp:720

From this file :

[KCrash Handler]
#5  0x00007f4c916c8423 in __dynamic_cast () from /usr/lib/libstdc++.so.6
#6  0x0000000000492d84 in Digikam::ImageDescEditTab::slotTagStateChanged
(this=0x2ae2650, album=0x42eda90, checkState=Qt::Unchecked)
    at
/build/buildd/digikam-1.2.0/libs/imageproperties/imagedescedittab.cpp:716

Trace from #239896 is completly different :

[KCrash Handler]
#5  QBasicAtomicInt::ref () at
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#6  QSqlQueryPrivate::shared_null () at kernel/qsqlquery.cpp:75
#7  0x00007feea8dfebc3 in QSqlQuery (this=0x7fee8e361020, db=...) at
kernel/qsqlquery.cpp:295
#8  0x00007feea7de3835 in Digikam::DatabaseCoreBackend::prepareQuery
(this=<value optimized out>, sql=...) at
/build/buildd/digikam-1.2.0/libs/database/databasecorebackend.cpp:484
#9  0x00007feea7de56a9 in Digikam::DatabaseCoreBackend::execQuery
(this=0x7fee8e360f60, sql=..., boundValue1=..., boundValue2=...)
    at /build/buildd/digikam-1.2.0/libs/database/databasecorebackend.cpp:365
#10 0x00007feea7de575f in Digikam::DatabaseCoreBackend::execSql
(this=0x21f61d0, sql=<value optimized out>, boundValue1=<value optimized out>,
boundValue2=<value optimized out>, 
    values=0x7fee8e361140, lastInsertId=0x7fee8e360f0c) at
/build/buildd/digikam-1.2.0/libs/database/databasecorebackend.cpp:301
#11 0x00007feea78ae63f in Digikam::AlbumDB::getIdenticalFiles (this=0x21f64b0,
fileSize=<value optimized out>, uniqueHash=<value optimized out>, sourceId=-1)
    at /build/buildd/digikam-1.2.0/libs/database/albumdb.cpp:1614
#12 0x00007feea790b382 in Digikam::ImageScanner::scanFromIdenticalFile
(this=0x7fee8e361260) at
/build/buildd/digikam-1.2.0/libs/database/imagescanner.cpp:153
#13 0x00007feea790d7aa in Digikam::ImageScanner::newFile (this=0x7fee8e361260,
albumId=105) at /build/buildd/digikam-1.2.0/libs/database/imagescanner.cpp:100
#14 0x00007feea78befcb in Digikam::CollectionScanner::scanNewFile
(this=0x7fee8e361d20, info=..., albumId=105) at
/build/buildd/digikam-1.2.0/libs/database/collectionscanner.cpp:756
#15 0x00007feea78bfd4b in Digikam::CollectionScanner::scanAlbum (this=<value
optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /build/buildd/digikam-1.2.0/libs/database/collectionscanner.cpp:665
#16 0x00007feea78bfc69 in Digikam::CollectionScanner::scanAlbum (this=<value
optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /build/buildd/digikam-1.2.0/libs/database/collectionscanner.cpp:683
#17 0x00007feea78bfc69 in Digikam::CollectionScanner::scanAlbum (this=<value
optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /build/buildd/digikam-1.2.0/libs/database/collectionscanner.cpp:683
#18 0x00007feea78c124a in Digikam::CollectionScanner::partialScan
(this=0x7fee8e361d20, albumRoot=<value optimized out>, album=...)
    at /build/buildd/digikam-1.2.0/libs/database/collectionscanner.cpp:336
#19 0x00007feea78c15d5 in Digikam::CollectionScanner::partialScan
(this=0x7fee8e361d20, filePath=...) at
/build/buildd/digikam-1.2.0/libs/database/collectionscanner.cpp:288

Gilles Caulier
Comment 4 caulier.gilles 2022-01-22 16:48:07 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=226586