Bug 306236 - Crash on deleting text in tag search area
Summary: Crash on deleting text in tag search area
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Models (show other bugs)
Version: 2.8.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-04 08:11 UTC by unapiedra
Modified: 2022-01-14 11:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unapiedra 2012-09-04 08:11:06 UTC
Application: digikam (2.8.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

Selecting text in tag-search area and deleting it using Backspace key. 

A group of photos were selected.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2f46336800 (LWP 20401))]

Thread 7 (Thread 0x7f2f234cc700 (LWP 20404)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2f407a04db in wait (time=18446744073709551615, this=0x239ec20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x239eb18, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d6a30 in Digikam::ScanController::run (this=0x239e8b0) at /build/buildd/digikam-2.8.0/core/digikam/database/scancontroller.cpp:698
#4  0x00007f2f4079ffcb in QThreadPrivate::start (arg=0x239e8b0) at thread/qthread_unix.cpp:298
#5  0x00007f2f3b186e9a in start_thread (arg=0x7f2f234cc700) at pthread_create.c:308
#6  0x00007f2f3f9cc4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2f22ccb700 (LWP 20405)):
#0  0x00007f2f3b188f69 in __pthread_mutex_lock (mutex=0x7f2f14000a60) at pthread_mutex_lock.c:92
#1  0x00007f2f38e115a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2f38dd601b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2f38dd6164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f408ce426 in QEventDispatcherGlib::processEvents (this=0x7f2f140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f2f4089dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f2f4089ded7 in QEventLoop::exec (this=0x7f2f22ccad50, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2f4079cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f2f4087d9ff in QInotifyFileSystemWatcherEngine::run (this=0x23a7730) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f2f4079ffcb in QThreadPrivate::start (arg=0x23a7730) at thread/qthread_unix.cpp:298
#10 0x00007f2f3b186e9a in start_thread (arg=0x7f2f22ccb700) at pthread_create.c:308
#11 0x00007f2f3f9cc4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2f224ca700 (LWP 20411)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2f407a04db in wait (time=18446744073709551615, this=0x25e6640) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x27222b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2f43bc1a11 in Digikam::ParkingThread::run (this=0x27222a0) at /build/buildd/digikam-2.8.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f2f4079ffcb in QThreadPrivate::start (arg=0x27222a0) at thread/qthread_unix.cpp:298
#5  0x00007f2f3b186e9a in start_thread (arg=0x7f2f224ca700) at pthread_create.c:308
#6  0x00007f2f3f9cc4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2f20c65700 (LWP 20412)):
#0  0x00007f2f38e115d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2f38dd51f8 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2f38dd5f04 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2f38dd6164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f408ce426 in QEventDispatcherGlib::processEvents (this=0x7f2f0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f2f4089dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f2f4089ded7 in QEventLoop::exec (this=0x7f2f20c64d50, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2f4079cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f2f4087d9ff in QInotifyFileSystemWatcherEngine::run (this=0x2a4cab0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f2f4079ffcb in QThreadPrivate::start (arg=0x2a4cab0) at thread/qthread_unix.cpp:298
#10 0x00007f2f3b186e9a in start_thread (arg=0x7f2f20c65700) at pthread_create.c:308
#11 0x00007f2f3f9cc4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2efc3fb700 (LWP 20433)):
#0  idleTimerSourcePrepare (source=0x7f2ef4001470, timeout=0x7f2efc3fabbc) at kernel/qeventdispatcher_glib.cpp:208
#1  0x00007f2f38dd5846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2f38dd5f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2f38dd6164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f408ce426 in QEventDispatcherGlib::processEvents (this=0x7f2ef40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f2f4089dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f2f4089ded7 in QEventLoop::exec (this=0x7f2efc3fad20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2f43bc108e in Digikam::WorkerObjectRunnable::run (this=0x5cff720) at /build/buildd/digikam-2.8.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007f2f407934f2 in QThreadPoolThread::run (this=0x5601740) at concurrent/qthreadpool.cpp:107
#9  0x00007f2f4079ffcb in QThreadPrivate::start (arg=0x5601740) at thread/qthread_unix.cpp:298
#10 0x00007f2f3b186e9a in start_thread (arg=0x7f2efc3fb700) at pthread_create.c:308
#11 0x00007f2f3f9cc4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2f11261700 (LWP 20440)):
#0  0x00007f2f3bb093d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f2f3bb07efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f2f3b186e9a in start_thread (arg=0x7f2f11261700) at pthread_create.c:308
#3  0x00007f2f3f9cc4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2f46336800 (LWP 20401)):
[KCrash Handler]
#6  QModelIndex (other=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModelPrivate::filter_changed (this=0x3543cd0, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:1042
#8  0x00007f2f4184d8ea in QSortFilterProxyModelPrivate::filter_changed (this=0x3543cd0, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:1047
#9  0x00007f2f4184d8ea in QSortFilterProxyModelPrivate::filter_changed (this=0x3543cd0, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:1047
#10 0x00007f2f4184d9c1 in QSortFilterProxyModel::invalidateFilter (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:2360
#11 0x000000000057b97e in Digikam::AlbumFilterModel::setSearchTextSettings (this=0x3543160, settings=...) at /build/buildd/digikam-2.8.0/core/libs/models/albumfiltermodel.cpp:92
#12 0x00007f2f408b3281 in QMetaObject::activate (sender=0x3555f00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff37538f00) at kernel/qobject.cpp:3547
#13 0x00007f2f43be5052 in Digikam::SearchTextBar::signalSearchTextSettings (this=<optimized out>, _t1=...) at /build/buildd/digikam-2.8.0/obj-x86_64-linux-gnu/core/digikam/searchtextbar.moc:109
#14 0x00007f2f43be58b9 in Digikam::SearchTextBar::slotTextChanged (this=0x3555f00, text=...) at /build/buildd/digikam-2.8.0/core/libs/widgets/common/searchtextbar.cpp:256
#15 0x00007f2f408b3281 in QMetaObject::activate (sender=0x3555f00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff37539070) at kernel/qobject.cpp:3547
#16 0x00007f2f4208af15 in KLineEdit::userTextChanged (this=<optimized out>, _t1=...) at ./klineedit.moc:260
#17 0x00007f2f4208c147 in _k_textChanged (txt=..., this=0x3556d80) at ../../kdeui/widgets/klineedit.cpp:114
#18 qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./klineedit.moc:142
#19 KLineEdit::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./klineedit.moc:107
#20 0x00007f2f408b3281 in QMetaObject::activate (sender=0x3555f00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff375391f0) at kernel/qobject.cpp:3547
#21 0x00007f2f416b9c72 in QLineEdit::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlineedit.cpp:264
#22 0x00007f2f416b9f19 in QLineEdit::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qlineedit.cpp:140
#23 0x00007f2f408b3281 in QMetaObject::activate (sender=0x35563a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff37539360) at kernel/qobject.cpp:3547
#24 0x00007f2f4192cb35 in QLineControl::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlinecontrol_p.cpp:148
#25 0x00007f2f416beb3b in QLineControl::finishChange (this=0x35563a0, validateFromState=6, update=<optimized out>, edited=true) at widgets/qlinecontrol.cpp:660
#26 0x00007f2f416c160b in QLineControl::processKeyEvent (this=0x35563a0, event=0x7fff3753a120) at widgets/qlinecontrol.cpp:1839
#27 0x00007f2f416b5d09 in QLineEdit::keyPressEvent (this=<optimized out>, event=0x7fff3753a120) at widgets/qlineedit.cpp:1707
#28 0x00007f2f4208d1c8 in KLineEdit::keyPressEvent (this=0x3555f00, e=0x7fff3753a120) at ../../kdeui/widgets/klineedit.cpp:970
#29 0x00007f2f412ea1c8 in QWidget::event (this=0x3555f00, event=0x7fff3753a120) at kernel/qwidget.cpp:8397
#30 0x00007f2f416b82a7 in QLineEdit::event (this=0x3555f00, e=0x7fff3753a120) at widgets/qlineedit.cpp:1524
#31 0x00007f2f4208b8bb in KLineEdit::event (this=0x3555f00, ev=0x7fff3753a120) at ../../kdeui/widgets/klineedit.cpp:1403
#32 0x00007f2f41299894 in notify_helper (e=0x7fff3753a120, receiver=0x3555f00, this=0x2214700) at kernel/qapplication.cpp:4559
#33 QApplicationPrivate::notify_helper (this=0x2214700, receiver=0x3555f00, e=0x7fff3753a120) at kernel/qapplication.cpp:4531
#34 0x00007f2f4129edd5 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fff3753a120) at kernel/qapplication.cpp:4000
#35 0x00007f2f41fd39e6 in KApplication::notify (this=0x7fff3753b130, receiver=0x3555f00, event=0x7fff3753a120) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007f2f4089ee9c in QCoreApplication::notifyInternal (this=0x7fff3753b130, receiver=0x3555f00, event=0x7fff3753a120) at kernel/qcoreapplication.cpp:876
#37 0x00007f2f4133dc49 in QKeyMapper::sendKeyEvent (keyWidget=0x3555f00, grab=<optimized out>, type=QEvent::KeyPress, code=16777219, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#38 0x00007f2f4133e0bb in QKeyMapperPrivate::translateKeyEvent (this=0x2256170, keyWidget=0x3555f00, event=0x7fff3753ac10, grab=false) at kernel/qkeymapper_x11.cpp:1836
#39 0x00007f2f41318637 in QApplication::x11ProcessEvent (this=0x7fff3753b130, event=0x7fff3753ac10) at kernel/qapplication_x11.cpp:3625
#40 0x00007f2f413420d2 in x11EventSourceDispatch (s=0x2216df0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007f2f38dd5d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f2f38dd60a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f2f38dd6164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f2f408ce3bf in QEventDispatcherGlib::processEvents (this=0x21b0190, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#45 0x00007f2f41341d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f2f4089dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f2f4089ded7 in QEventLoop::exec (this=0x7fff3753afb0, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007f2f408a2f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#49 0x000000000048f63b in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.8.0/core/digikam/main/main.cpp:232

This bug may be a duplicate of or related to bug 256050.

Possible duplicates by query: bug 295041, bug 294043.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-09-04 08:37:54 UTC

*** This bug has been marked as a duplicate of bug 294043 ***
Comment 2 caulier.gilles 2022-01-14 11:59:28 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=294043