Bug 187569 - crash on star removing when filtering by stars
Summary: crash on star removing when filtering by stars
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Filters (show other bugs)
Version: 0.10.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 05:44 UTC by Lorand Somogyi
Modified: 2017-08-14 21:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorand Somogyi 2009-03-19 05:44:43 UTC
Version:           0.10.0-rc2 (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

Case: Stars and filters
=========================

How to reproduce:
1. Select a bigger album where stars are applied.
2. Select filtering by 1 or more stars
3. Select an image and remove all stars from it, and I get:

------------------------------------- cut ------------------------------------- 
Application: digiKam (digikam), signal SIGSEGV
[Current thread is 0 (LWP 26245)]

Thread 10 (Thread 0xb2f57b90 (LWP 26246)):
#0  0xb7f43424 in __kernel_vsyscall ()
#1  0xb538f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54912ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb567d9b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0x0828f3c9 in Digikam::ScanController::run (this=0x8cc2698) at /build/buildd/digikam-0.10.0~rc2/digikam/scancontroller.cpp:412
#5  0xb567c96e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb538b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb548249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb22f1b90 (LWP 26342)):
#0  0xb7f43424 in __kernel_vsyscall ()
#1  0xb538f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54912ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb567d9b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71682da in Digikam::LoadSaveThread::run (this=0x8d09e78) at /build/buildd/digikam-0.10.0~rc2/libs/threadimageio/loadsavethread.cpp:131
#5  0xb567c96e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb538b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb548249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb16ffb90 (LWP 26343)):
#0  0xb7f43424 in __kernel_vsyscall ()
#1  0xb538f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54912ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb567d9b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71682da in Digikam::LoadSaveThread::run (this=0x8cebea0) at /build/buildd/digikam-0.10.0~rc2/libs/threadimageio/loadsavethread.cpp:131
#5  0xb567c96e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb538b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb548249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xaea04b90 (LWP 26344)):
#0  0xb7f43424 in __kernel_vsyscall ()
#1  0xb538f412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5491344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaf81eb23 in ?? () from /usr/lib/libxine.so.1

Thread 6 (Thread 0xadd23b90 (LWP 26345)):
#0  0xb7f43424 in __kernel_vsyscall ()
#1  0xb547a7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xaf8486ce in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 5 (Thread 0xad522b90 (LWP 26346)):
#0  0xb7f43424 in __kernel_vsyscall ()
#1  0xb5477ae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb4a5a61b in IA__g_poll (fds=0x94926b0, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.20.0/glib/gpoll.c:127
#3  0xb4a4ce52 in g_main_context_iterate (context=0x9491558, block=1, dispatch=1, self=0x9492688) at /build/buildd/glib2.0-2.20.0/glib/gmain.c:2761
#4  0xb4a4d138 in IA__g_main_context_iteration (context=0x9491558, may_block=1) at /build/buildd/glib2.0-2.20.0/glib/gmain.c:2511
#5  0xb579c467 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb576f07a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb576f4ba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb5679639 in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xaf86c20a in Phonon::Xine::XineThread::run (this=0x907cba8) at /build/buildd/phonon-4.3.1/xine/xinethread.cpp:143
#10 0xb567c96e in ?? () from /usr/lib/libQtCore.so.4
#11 0xb538b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb548249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xacd21b90 (LWP 26349)):
#0  0xb54916d7 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0xae172b19 in ?? () from /usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xac520b90 (LWP 26350)):
#0  0xb7f43424 in __kernel_vsyscall ()
#1  0xb538f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54912ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaf82fcce in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xaacadb90 (LWP 26365)):
#0  0xb7f43424 in __kernel_vsyscall ()
#1  0xb538f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54912ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb567d9b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71682da in Digikam::LoadSaveThread::run (this=0x9b6ced8) at /build/buildd/digikam-0.10.0~rc2/libs/threadimageio/loadsavethread.cpp:131
#5  0xb567c96e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb538b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb548249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb463d700 (LWP 26245)):
[KCrash Handler]
#6  Digikam::IconItem::setEditRating (this=0x0, val=false) at /build/buildd/digikam-0.10.0~rc2/digikam/iconitem.cpp:197
#7  0x08270861 in Digikam::IconView::takeItem (this=0x8d25380, item=0xaa4ace0) at /build/buildd/digikam-0.10.0~rc2/digikam/iconview.cpp:588
#8  0x08271ff7 in Digikam::IconGroupItem::takeItem (this=0xaa4a278, item=0xaa4ace0) at /build/buildd/digikam-0.10.0~rc2/digikam/icongroupitem.cpp:158
#9  0x08272f37 in ~IconItem (this=0xaa4ace0) at /build/buildd/digikam-0.10.0~rc2/digikam/iconitem.cpp:80
#10 0x081f7eaa in ~AlbumIconItem (this=0xaa4ace0) at /build/buildd/digikam-0.10.0~rc2/digikam/albumiconitem.cpp:89
#11 0x081e3871 in Digikam::AlbumIconView::slotImageListerDeleteItem (this=0x8d25380, item=@0xa8293f0) at /build/buildd/digikam-0.10.0~rc2/digikam/albumiconview.cpp:486
#12 0x081eec64 in Digikam::AlbumIconView::qt_metacall (this=0x8d25380, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbfc60310)
    at /build/buildd/digikam-0.10.0~rc2/obj-i486-linux-gnu/digikam/albumiconview.moc:201
#13 0xb5786cb8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb5787942 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0x08204e05 in Digikam::AlbumLister::signalDeleteFilteredItem (this=0x8d993c0, _t1=@0xa8293f0) at /build/buildd/digikam-0.10.0~rc2/obj-i486-linux-gnu/digikam/albumlister.moc:143
#16 0x08206854 in Digikam::AlbumLister::slotFilterItems (this=0x8d993c0) at /build/buildd/digikam-0.10.0~rc2/digikam/albumlister.cpp:559
#17 0x08208693 in Digikam::AlbumLister::qt_metacall (this=0x8d993c0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc60408)
    at /build/buildd/digikam-0.10.0~rc2/obj-i486-linux-gnu/digikam/albumlister.moc:104
#18 0xb5786cb8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb5787942 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb57c2727 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#21 0xb578c70e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#22 0xb578116f in QObject::event () from /usr/lib/libQtCore.so.4
#23 0xb5c40f5c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#24 0xb5c4925e in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0xb686470d in KApplication::notify (this=0xbfc60b54, receiver=0x8d25400, event=0xbfc6088c) at /build/buildd/kde4libs-4.2.1a/kdeui/kernel/kapplication.cpp:307
#26 0xb5770a4b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#27 0xb579fd81 in ?? () from /usr/lib/libQtCore.so.4
#28 0xb579c4f0 in ?? () from /usr/lib/libQtCore.so.4
#29 0xb4a49a58 in IA__g_main_context_dispatch (context=0x8bc8690) at /build/buildd/glib2.0-2.20.0/glib/gmain.c:1814
#30 0xb4a4cfbb in g_main_context_iterate (context=0x8bc8690, block=1, dispatch=1, self=0x8bc64c8) at /build/buildd/glib2.0-2.20.0/glib/gmain.c:2448
#31 0xb4a4d138 in IA__g_main_context_iteration (context=0x8bc8690, may_block=1) at /build/buildd/glib2.0-2.20.0/glib/gmain.c:2511
#32 0xb579c448 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#33 0xb5ce2425 in ?? () from /usr/lib/libQtGui.so.4
#34 0xb576f07a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb576f4ba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#36 0xb5771969 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#37 0xb5c40dd7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#38 0x082b4ceb in main (argc=5, argv=0xbfc60db4) at /build/buildd/digikam-0.10.0~rc2/digikam/main.cpp:190
------------------------------------- cut -------------------------------------
Comment 1 caulier.gilles 2009-03-19 17:42:36 UTC
Lorand,

Try final release of digiKam 0.10.0, out 2 days ago. I think this crash is fixed...

Gilles Caulier
Comment 2 Lorand Somogyi 2009-03-19 22:23:28 UTC
Gilles, 

you're wright it's fixed in 0.10.0, work as expected. 

Thx, 
Lorand.