Bug 179650 - crash when clearing album quick search if album UI empty
Summary: crash when clearing album quick search if album UI empty
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Filters (show other bugs)
Version: 0.10.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-04 22:21 UTC by Mikolaj Machowski
Modified: 2023-12-01 12:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikolaj Machowski 2009-01-04 22:21:43 UTC
Version:            (using Devel)
Compiler:          gcc4.3.2 
OS:                Linux
Installed from:    Compiled sources

Sometimes after start main part (Album UI) is empty - no images, no introductory text. In such situation when I enter something in quick search of albums and later clear this (Backspace, or black arrow) digiKam crashes.

Application: digiKam (digikam), signal SIGSEGV
 [?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb4d706d0 (LWP 17914))]

Thread 14 (Thread 0xb3861b90 (LWP 17922)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb699eb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb69fc0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0x0826e1a9 in Digikam::ScanController::run ()
#4  0xb69fb320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x0927a508 in ?? ()
#6  0x00000000 in ?? ()

Thread 13 (Thread 0xb25e8b90 (LWP 17928)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb699eb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb69fc0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb771aa22 in Digikam::LoadSaveThread::run () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#4  0xb69fb320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x093e6898 in ?? ()
#6  0x00000000 in ?? ()

Thread 12 (Thread 0xb2de9b90 (LWP 17929)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb699eb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb69fc0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb771aa22 in Digikam::LoadSaveThread::run () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#4  0xb69fb320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x09261940 in ?? ()
#6  0x00000000 in ?? ()

Thread 11 (Thread 0xb01f2b90 (LWP 17930)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb699eec2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb1d6240b in metronom_sync_loop (this=0x9542f68) at metronom.c:871
#3  0xb699b315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb5fa0dde in clone () from /lib/i686/libc.so.6

Thread 10 (Thread 0xaf590b90 (LWP 17931)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5f99101 in select () from /lib/i686/libc.so.6
#2  0xb1d8b435 in xine_usec_sleep (usec=0) at utils.c:457
#3  0xb1d6fd8b in video_out_loop (this_gen=0x9547a60) at video_out.c:1246
#4  0xb699b315 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb5fa0dde in clone () from /lib/i686/libc.so.6

Thread 9 (Thread 0xaed8fb90 (LWP 17932)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5f96367 in poll () from /lib/i686/libc.so.6
#2  0xb534dd6a in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb534e0a8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6afc717 in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0xb6ad46fa in QEventLoop::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#6  0xb6ad48ba in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#7  0xb69f84c3 in QThread::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#8  0xb1dabb39 in Phonon::Xine::XineThread::run () from /home/mikolaj/kde/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb69fb320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#10 0x09546c98 in ?? ()
#11 0x00000000 in ?? ()

Thread 8 (Thread 0xae56db90 (LWP 17935)):
#0  0xb07b3c32 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#1  0xb07bfcc9 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#2  0xaf9d6ee2 in ao_alsa_handle_event_thread (data=0x9957d70) at audio_alsa_out.c:175
#3  0xb699b315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb5fa0dde in clone () from /lib/i686/libc.so.6

Thread 7 (Thread 0xadd6cb90 (LWP 17936)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb699eb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb1d72980 in ao_loop (this_gen=0x996f788) at audio_out.c:345
#3  0xb699b315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb5fa0dde in clone () from /lib/i686/libc.so.6

Thread 6 (Thread 0xad54ab90 (LWP 17937)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb699eb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb69fc0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb771aa22 in Digikam::LoadSaveThread::run () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#4  0xb69fb320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x09c04688 in ?? ()
#6  0x00000000 in ?? ()

Thread 5 (Thread 0xacd23b90 (LWP 17941)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5f99101 in select () from /lib/i686/libc.so.6
#2  0xb6ab9b87 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0x00000006 in ?? ()
#4  0xacd232c8 in ?? ()
#5  0x00000000 in ?? ()

Thread 4 (Thread 0xabce1b90 (LWP 17978)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb699eb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb69fc0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb771aa22 in Digikam::LoadSaveThread::run () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#4  0xb69fb320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x09b78d90 in ?? ()
#6  0x00000000 in ?? ()

Thread 3 (Thread 0xac522b90 (LWP 21191)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb699eb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb69fc0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb771aa22 in Digikam::LoadSaveThread::run () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#4  0xb69fb320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x0943dc40 in ?? ()
#6  0x00000000 in ?? ()

Thread 2 (Thread 0xa9ec9b90 (LWP 21192)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb699eb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb69fc0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb771aa22 in Digikam::LoadSaveThread::run () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#4  0xb69fb320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x09ff8c40 in ?? ()
#6  0x00000000 in ?? ()

Thread 1 (Thread 0xb4d706d0 (LWP 17914)):
[KCrash Handler]
#6  0x081c2887 in Digikam::Album::id ()
#7  0x081e214a in Digikam::AlbumFolderView::slotTextFolderFilterChanged ()
#8  0x081e8e32 in Digikam::AlbumFolderView::qt_metacall ()
#9  0xb6ae780a in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#10 0xb6ae7d82 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#11 0xb777f393 in Digikam::SearchTextBar::signalSearchTextSettings () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#12 0xb777f40f in Digikam::SearchTextBar::slotTextChanged () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#13 0xb777f8dd in Digikam::SearchTextBar::qt_metacall () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#14 0xb6ae780a in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#15 0xb6ae7d82 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#16 0xb65a7b33 in QLineEdit::textChanged () from /usr/lib/qt4/lib/libQtGui.so.4
#17 0xb65ae519 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#18 0x09baad30 in ?? ()
#19 0xbfed8774 in ?? ()
#20 0xbfed8774 in ?? ()
#21 0x0000ad36 in ?? ()
#22 0x01000104 in ?? ()
#23 0x09baad30 in ?? ()
#24 0x01010004 in ?? ()
#25 0x00000000 in ?? ()
Comment 1 Marcel Wiesweg 2009-01-05 18:14:30 UTC
SVN commit 906154 by mwiesweg:

Fix a possible source of a crash

CCBUG: 179650

 M  +7 -10     albumfolderview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=906154
Comment 2 Marcel Wiesweg 2009-01-05 18:19:01 UTC
The backtrace is not clear, because album->id() is not called in this method.
There is a chance my commit fixed the problem, but there is a good chance it does not.
I am interested in this white-window behavior you decribe. Is it in any way reproducible? Can you select an album in the left side bar and everything works?
Comment 3 Mikolaj Machowski 2009-01-05 18:53:18 UTC
Yes, after choosing something on the left everything works - this is not reincarnation of much hated splitter bug :)

To reproduce just remove album (sorry, this has nothing common with restart). No album is getting focus so central area is empty... Have some idea... Yep, the same happens after removing tag. Other panels are not affected - only Albums and Tags.

Crucial part is that nothing in the left panel has focus - is highlighted with blue in Default theme.

Waiting for recompilation. Waiting. Waiting. Waiting.

Bad luck (this one from Tag crash, exactly the same as from Album crash):

from /lib/i686/libc.so.6

Thread 3 (Thread 0xad5f2b90 (LWP 9268)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6a79b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb6ad70b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb77f5a22 in Digikam::LoadSaveThread::run () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#4  0xb6ad6320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x0ad681b8 in ?? ()
#6  0x00000000 in ?? ()

Thread 2 (Thread 0xac58ab90 (LWP 9270)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6a79b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb6ad70b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb77f5a22 in Digikam::LoadSaveThread::run () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#4  0xb6ad6320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x0aee0130 in ?? ()
#6  0x00000000 in ?? ()

Thread 1 (Thread 0xb4e4b6d0 (LWP 9254)):
[KCrash Handler]
#6  0x081c29b7 in Digikam::Album::id ()
#7  0x08279df4 in Digikam::TagFolderView::slotTextTagFilterChanged ()
#8  0x0827e780 in Digikam::TagFolderView::qt_metacall ()
#9  0xb6bc280a in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#10 0xb6bc2d82 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#11 0xb785a3b3 in Digikam::SearchTextBar::signalSearchTextSettings () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#12 0xb785a42f in Digikam::SearchTextBar::slotTextChanged () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#13 0xb785a8fd in Digikam::SearchTextBar::qt_metacall () from /home/mikolaj/kde/lib/libdigikamcore.so.1
#14 0xb6bc280a in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#15 0xb6bc2d82 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#16 0xb6682b33 in QLineEdit::textChanged () from /usr/lib/qt4/lib/libQtGui.so.4
#17 0xb6689519 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#18 0x0ad21038 in ?? ()
#19 0xbfbb2c84 in ?? ()
#20 0xb80b6ff4 in ?? () from /lib/ld-linux.so.2
#21 0x00009c16 in ?? ()
#22 0x01000104 in ?? ()
#23 0x0ad21038 in ?? ()
#24 0x01010004 in ?? ()
#25 0x00000000 in ?? ()

Comment 4 Mikolaj Machowski 2009-01-05 20:09:40 UTC
Recompiled digiKam with debug support, there is a bit more info (pasting only last section, the rest is unchanged):

Thread 1 (Thread 0xb4aa86d0 (LWP 16787)):
[KCrash Handler]
#6  Digikam::Album::id (this=0x92c96b8) at /home/mikolaj/kde/src/extragear/graphics/digikam/digikam/album.cpp:188
#7  0x081a89d1 in Digikam::AlbumFolderView::slotTextFolderFilterChanged (this=0x92c96b8, settings=@0x92c0eac) at /home/mikolaj/kde/src/extragear/graphics/digikam/digikam/albumfolderview.cpp:284
#8  0x081aa572 in Digikam::AlbumFolderView::qt_metacall (this=0x92c96b8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfdfee8c)
    at /home/mikolaj/kde/build/extragear/graphics/digikam/digikam/albumfolderview.moc:96
#9  0xb6a4e80a in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#10 0xb6a4ed82 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#11 0xb76c9413 in Digikam::SearchTextBar::signalSearchTextSettings (this=0x92bbfb8, _t1=@0x92c0eac) at /home/mikolaj/kde/build/extragear/graphics/digikam/digikam/searchtextbar.moc:84
#12 0xb76c94a6 in Digikam::SearchTextBar::slotTextChanged (this=0x92bbfb8, text=@0xbfdff004) at /home/mikolaj/kde/src/extragear/graphics/digikam/libs/widgets/common/searchtextbar.cpp:133
#13 0xb76c956d in Digikam::SearchTextBar::qt_metacall (this=0x92bbfb8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfdfefcc)
    at /home/mikolaj/kde/build/extragear/graphics/digikam/digikam/searchtextbar.moc:73
#14 0xb6a4e80a in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#15 0xb6a4ed82 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#16 0xb650eb33 in QLineEdit::textChanged () from /usr/lib/qt4/lib/libQtGui.so.4
#17 0xb6515519 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#18 0x092bbfb8 in ?? ()
#19 0xbfdff004 in ?? ()
#20 0xb7f02ff4 in ?? () from /lib/ld-linux.so.2
#21 0x00005c16 in ?? ()
#22 0x01000104 in ?? ()
#23 0x092bbfb8 in ?? ()
#24 0x01010004 in ?? ()
#25 0x00000000 in ?? ()

Konsole output, these are only first lines. digiKam make queries for several hunderd lines:

digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: Failure executing query:
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: "SELECT id FROM Albums WHERE albumRoot=? AND relativePath=?;"
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: "database is locked Unable to fetch row" 5
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: Bound values:  (QVariant(int, 1) ,  QVariant(QString, "/Stare") )
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: Detected locked database file. There is an active transaction.

digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: Failure executing query:
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: "REPLACE INTO Albums (albumRoot, relativePath, date, caption, collection) VALUES(?, ?, ?, ?, ?);"
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: "database is locked Unable to fetch row" 5
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: Bound values:  (QVariant(int, 1) ,  QVariant(QString, "/Stare") ,  QVariant(QString, "2008-12-26") ,  QVariant(QString, "") ,  QVariant(QString, "") )
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: Detected locked database file. There is an active transaction.

digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: Failure executing query:
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: "SELECT id, album, name, status, category, modificationDate, uniqueHash FROM Images WHERE album=?;"
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: "database is locked Unable to fetch row" 5
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: Bound values:  (QVariant(int, 0) )
digikam(16787)/digikam (core) Digikam::DImg::load: "/home/mikolaj/Imgs/Stare/drzewa.jpg"  : JPEG file identified
digikam(16787)/digikam (core) Digikam::ImageScanner::addImage: Adding new item "/home/mikolaj/Imgs/Stare/drzewa.jpg"
digikam(16787)/digikam (core) Digikam::DatabaseBackend::exec: Detected locked database file. There is an active transaction.

Comment 5 Marcel Wiesweg 2009-01-06 19:47:15 UTC
SVN commit 906732 by mwiesweg:

Fix crash when returning from filtering with no current album, and properly handle this case.

CCBUG: 179650

 M  +8 -1      folderview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=906732
Comment 6 Marcel Wiesweg 2009-01-06 21:41:48 UTC
Your toolchain swallowed the important part of the backtrace (#1):

#0  Digikam::Album::id (this=0x0) at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/digikam/album.cpp:188
#1  0x000000000061ea22 in Digikam::FolderView::collapseView (this=0x14574d0, mode=<value optimized out>)                        
    at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/digikam/folderview.cpp:647                         
#2  0x00000000006509b0 in Digikam::TagFolderView::slotTextTagFilterChanged (this=0x14574d0, settings=@0x1460f58)                
    at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/digikam/tagfolderview.cpp:253                      

But thanks to your hint of deleting the current tag, I could easily reproduce and fix this. This bug is fixed.

Unrelated to this, all these "database is locked" errors from your output log look very unusual, this is not normal behavior.
Comment 7 Mikolaj Machowski 2009-01-06 22:17:28 UTC
I recreated each step and output was practically identical to what I posted. Maybe you fixed different bug? (Waiting for recompilation ;)

Interesting this about locked database messages: they will appear only when asking for debug info. When closing normally I don't see them, and even after crash when rejecting "show details" there will be none.

Complete backtrace when waiting:

Application: digiKam (digikam), signal SIGSEGV
 [?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb4ac36d0 (LWP 12844))]

Thread 12 (Thread 0xb35b4b90 (LWP 12851)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5ee0ac6 in nanosleep () from /lib/i686/libc.so.6
#2  0xb5ee08ae in sleep () from /lib/i686/libc.so.6
#3  0xb2b95349 in ?? () from /usr/lib/qt4/plugins/sqldrivers/libqsqlite.so
#4  0x00000000 in ?? ()

Thread 11 (Thread 0xb233bb90 (LWP 12856)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6920b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb697e0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb7696b72 in Digikam::LoadSaveThread::run (this=0x9faea10) at /home/mikolaj/kde/src/extragear/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#4  0xb697d320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x09faea00 in ?? ()
#6  0x00000000 in ?? ()

Thread 10 (Thread 0xb2b3cb90 (LWP 12857)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6920b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb697e0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb7696b72 in Digikam::LoadSaveThread::run (this=0xa0bda78) at /home/mikolaj/kde/src/extragear/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#4  0xb697d320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x0a0bda68 in ?? ()
#6  0x00000000 in ?? ()

Thread 9 (Thread 0xaff46b90 (LWP 12858)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6920ec2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb032240b in metronom_sync_loop (this=0xa221ff8) at metronom.c:871
#3  0xb691d315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb5f22dde in clone () from /lib/i686/libc.so.6

Thread 8 (Thread 0xaf2e4b90 (LWP 12859)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5f1b101 in select () from /lib/i686/libc.so.6
#2  0xb034b435 in xine_usec_sleep (usec=0) at utils.c:457
#3  0xb032fd8b in video_out_loop (this_gen=0xa226b08) at video_out.c:1246
#4  0xb691d315 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb5f22dde in clone () from /lib/i686/libc.so.6

Thread 7 (Thread 0xaeae3b90 (LWP 12860)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5f18367 in poll () from /lib/i686/libc.so.6
#2  0xb5172d6a in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb51730a8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6a7e717 in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0xb6a566fa in QEventLoop::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#6  0xb6a568ba in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#7  0xb697a4c3 in QThread::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#8  0xb036bb39 in Phonon::Xine::XineThread::run () from /home/mikolaj/kde/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb697d320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#10 0x0a225d40 in ?? ()
#11 0x00000000 in ?? ()

Thread 6 (Thread 0xae2c1b90 (LWP 12863)):
#0  0xb5f182f9 in poll () from /lib/i686/libc.so.6
#1  0xaf72ae93 in ao_alsa_handle_event_thread (data=0xa636db0) at audio_alsa_out.c:150
#2  0xb691d315 in start_thread () from /lib/i686/libpthread.so.0
#3  0xb5f22dde in clone () from /lib/i686/libc.so.6

Thread 5 (Thread 0xadac0b90 (LWP 12864)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6920b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb0332980 in ao_loop (this_gen=0xa64e7c0) at audio_out.c:345
#3  0xb691d315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb5f22dde in clone () from /lib/i686/libc.so.6

Thread 4 (Thread 0xaa3ffb90 (LWP 12880)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6920b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb697e0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb7696b72 in Digikam::LoadSaveThread::run (this=0xb55db70) at /home/mikolaj/kde/src/extragear/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#4  0xb697d320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x0b55db60 in ?? ()
#6  0x00000000 in ?? ()

Thread 3 (Thread 0xad295b90 (LWP 12899)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5f1b101 in select () from /lib/i686/libc.so.6
#2  0xb6a3bb87 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0x00000006 in ?? ()
#4  0xb697d320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x09e83aa0 in ?? ()
#6  0x00000000 in ?? ()

Thread 2 (Thread 0xaca3db90 (LWP 12938)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6920b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb697e0b2 in QWaitCondition::wait () from /usr/lib/qt4/lib/libQtCore.so.4
#3  0xb7696b72 in Digikam::LoadSaveThread::run (this=0xc12e168) at /home/mikolaj/kde/src/extragear/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#4  0xb697d320 in ?? () from /usr/lib/qt4/lib/libQtCore.so.4
#5  0x0c12e158 in ?? ()
#6  0x00000000 in ?? ()

Thread 1 (Thread 0xb4ac36d0 (LWP 12844)):
[KCrash Handler]
#6  Digikam::Album::id (this=0xb50efc0) at /home/mikolaj/kde/src/extragear/graphics/digikam/digikam/album.cpp:188
#7  0x081a89d1 in Digikam::AlbumFolderView::slotTextFolderFilterChanged (this=0xb50efc0, settings=@0xb515224) at /home/mikolaj/kde/src/extragear/graphics/digikam/digikam/albumfolderview.cpp:284
#8  0x081aa572 in Digikam::AlbumFolderView::qt_metacall (this=0xb50efc0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd1b63c)
    at /home/mikolaj/kde/build/extragear/graphics/digikam/digikam/albumfolderview.moc:96
#9  0xb6a6980a in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#10 0xb6a69d82 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#11 0xb76e4413 in Digikam::SearchTextBar::signalSearchTextSettings (this=0xb503228, _t1=@0xb515224) at /home/mikolaj/kde/build/extragear/graphics/digikam/digikam/searchtextbar.moc:84
#12 0xb76e44a6 in Digikam::SearchTextBar::slotTextChanged (this=0xb503228, text=@0xbfd1b7b4) at /home/mikolaj/kde/src/extragear/graphics/digikam/libs/widgets/common/searchtextbar.cpp:133
#13 0xb76e456d in Digikam::SearchTextBar::qt_metacall (this=0xb503228, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd1b77c)
    at /home/mikolaj/kde/build/extragear/graphics/digikam/digikam/searchtextbar.moc:73
#14 0xb6a6980a in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#15 0xb6a69d82 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#16 0xb6529b33 in QLineEdit::textChanged () from /usr/lib/qt4/lib/libQtGui.so.4
#17 0xb6530519 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#18 0x0b503228 in ?? ()
#19 0xbfd1b7b4 in ?? ()
#20 0xb7f1dff4 in ?? () from /lib/ld-linux.so.2
#21 0x00000c16 in ?? ()
#22 0x01000104 in ?? ()
#23 0x0b503228 in ?? ()
#24 0x01010004 in ?? ()
#25 0x00000000 in ?? ()

Comment 8 Marcel Wiesweg 2009-01-07 17:32:26 UTC
1. Create a tag Test/AB
2. Select tag
3. Delete tag with context menu
4. Type ABC to search bar
5. Clear searchbar

=> no crash here, it crashed before the commit

As to your "database locked" messages, if this appears only in the very abnormal situation after a crash, we can ignore them.
Comment 9 Mikolaj Machowski 2009-01-07 19:37:37 UTC
Sorry, of course I confirm FIXED :) Just wanted to show that I couldn't reproduce your output.