Bug 184687 - crash after deleting an empty album
Summary: crash after deleting an empty album
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Trash (show other bugs)
Version: 0.10.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-17 18:24 UTC by Nadav Kavalerchik
Modified: 2017-08-15 05:32 UTC (History)
2 users (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 Nadav Kavalerchik 2009-02-17 18:24:30 UTC
Version:           0.10.0-rc1 (using 4.2.00 (KDE 4.2.0), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.26-1-amd64

i had to old images in an album. i moved them to a new album (drag and drop)
they moved fine. i right click the album to delete it. it was deleted and immediately crashed.

here is the crash report:

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f2c7c207950 (LWP 7320)]
[New Thread 0x7f2c82dd2950 (LWP 7319)]
[New Thread 0x7f2c81cc8950 (LWP 7318)]
[New Thread 0x7f2c8257a950 (LWP 7253)]
[New Thread 0x7f2c8448d950 (LWP 7238)]
[New Thread 0x7f2c84caf950 (LWP 7237)]
[New Thread 0x7f2c856b9950 (LWP 7234)]
[New Thread 0x7f2c85eba950 (LWP 7233)]
[New Thread 0x7f2c87b63950 (LWP 7232)]
[New Thread 0x7f2c90485950 (LWP 7231)]
[New Thread 0x7f2c8fc84950 (LWP 7230)]
[New Thread 0x7f2c940ec950 (LWP 7227)]
0x00007f2c9d6d3b51 in nanosleep () from /lib/libc.so.6
[Current thread is 1 (Thread 0x7f2ca4597700 (LWP 7225))]

Thread 13 (Thread 0x7f2c940ec950 (LWP 7227)):
#0  0x00007f2c9c4d8c09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2c9e19b159 in QWaitCondition::wait (this=0x1165368, mutex=0x1165360, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00000000006470c3 in ?? ()
#3  0x00007f2c9e19a162 in QThreadPrivate::start (arg=0x1164f60) at thread/qthread_unix.cpp:185
#4  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#5  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f2c8fc84950 (LWP 7230)):
#0  0x00007f2c9c4d8c09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2c9e19b159 in QWaitCondition::wait (this=0x1487a80, mutex=0x1487a78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f2ca19af31c in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#3  0x00007f2c9e19a162 in QThreadPrivate::start (arg=0x1487a60) at thread/qthread_unix.cpp:185
#4  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#5  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f2c90485950 (LWP 7231)):
#0  0x00007f2c9c4d8c09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2c9e19b159 in QWaitCondition::wait (this=0x11abf50, mutex=0x11abf48, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f2ca19af31c in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#3  0x00007f2c9e19a162 in QThreadPrivate::start (arg=0x11abf30) at thread/qthread_unix.cpp:185
#4  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#5  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f2c87b63950 (LWP 7232)):
#0  0x00007f2c9c4d8e8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2c8d4e0cb1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#3  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f2c85eba950 (LWP 7233)):
#0  0x00007f2c9d6fcd62 in select () from /lib/libc.so.6
#1  0x00007f2c8d509304 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f2c8d4ee79b in ?? () from /usr/lib/libxine.so.1
#3  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#4  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f2c856b9950 (LWP 7234)):
#0  0x00007f2c9c4d63a1 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f2c998bfc6a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f2c998bff6a in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f2c998c042b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f2c9e2aa73e in QEventDispatcherGlib::processEvents (this=0x1ceaf20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:321
#5  0x00007f2c9e280cb2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -2056548272}) at kernel/qeventloop.cpp:143
#6  0x00007f2c9e280e3d in QEventLoop::exec (this=0x7f2c856b9090, flags={i = -2056548192}) at kernel/qeventloop.cpp:194
#7  0x00007f2c9e197218 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:458
#8  0x00007f2c8d73b634 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x00007f2c9e19a162 in QThreadPrivate::start (arg=0x1cea8f0) at thread/qthread_unix.cpp:185
#10 0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#11 0x00007f2c9d70350d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2c84caf950 (LWP 7237)):
#0  0x00007f2c9d6f70fb in read () from /lib/libc.so.6
#1  0x00007f2c8dbad845 in ?? () from /usr/lib/libasound.so.2
#2  0x00007f2c8dba8cd8 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007f2c8dbb26c5 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f2c84cb4838 in ?? () from /usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
#5  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#6  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2c8448d950 (LWP 7238)):
#0  0x00007f2c9c4d8c09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2c8d4f1c13 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#3  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2c8257a950 (LWP 7253)):
#0  0x00007f2c9c4d8c09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2c9e19b159 in QWaitCondition::wait (this=0x41683a0, mutex=0x4168398, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f2ca19af31c in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#3  0x00007f2c9e19a162 in QThreadPrivate::start (arg=0x4168380) at thread/qthread_unix.cpp:185
#4  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#5  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2c81cc8950 (LWP 7318)):
#0  0x00007f2c9c4d8c09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2c9e19b159 in QWaitCondition::wait (this=0x6edbb60, mutex=0x6edbb58, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f2ca19af31c in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#3  0x00007f2c9e19a162 in QThreadPrivate::start (arg=0x6edbb40) at thread/qthread_unix.cpp:185
#4  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#5  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2c82dd2950 (LWP 7319)):
#0  0x00007f2c9c4d8c09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2c9e19b159 in QWaitCondition::wait (this=0x693fb70, mutex=0x693fb68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f2ca19af31c in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#3  0x00007f2c9e19a162 in QThreadPrivate::start (arg=0x693fb50) at thread/qthread_unix.cpp:185
#4  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#5  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2c7c207950 (LWP 7320)):
#0  0x00007f2c9c4d8c09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2c9e19b159 in QWaitCondition::wait (this=0x55a2690, mutex=0x55a2688, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f2ca19af31c in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#3  0x00007f2c9e19a162 in QThreadPrivate::start (arg=0x55a2670) at thread/qthread_unix.cpp:185
#4  0x00007f2c9c4d4faa in start_thread () from /lib/libpthread.so.0
#5  0x00007f2c9d70350d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2ca4597700 (LWP 7225)):
#0  0x00007f2c9d6d3b51 in nanosleep () from /lib/libc.so.6
#1  0x00007f2c9d6d3977 in sleep () from /lib/libc.so.6
#2  0x00007f2ca01bf519 in KCrash::startDrKonqi (argv=0x7fffac6dd3a8, argc=17) at ../../kdeui/util/kcrash.cpp:412
#3  0x00007f2ca01bfe6a in KCrash::defaultCrashHandler (sig=11) at ../../kdeui/util/kcrash.cpp:337
#4  <signal handler called>
#5  0x00007f2c9dee75f8 in __dynamic_cast () from /usr/lib/libstdc++.so.6
#6  0x000000000061f4b1 in ?? ()
#7  0x0000000000620301 in ?? ()
#8  0x00007f2ca2589c39 in Q3ScrollView::viewportMouseMoveEvent (this=0x3d96d20, e=0x7fffac6de220) at widgets/q3scrollview.cpp:1789
#9  0x00007f2ca258b508 in Q3ScrollView::eventFilter (this=0x3d96d20, obj=0x3d9a480, e=0x7fffac6de220) at widgets/q3scrollview.cpp:1487
#10 0x00007f2ca252f03e in Q3ListView::eventFilter (this=0x3d96d20, o=0x3d9a480, e=0x7fffac6de220) at itemviews/q3listview.cpp:3771
#11 0x00007f2c9e281668 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x3d9a480, event=0x7fffac6de220) at kernel/qcoreapplication.cpp:694
#12 0x00007f2c9ee12a2c in QApplicationPrivate::notify_helper (this=0x1025f80, receiver=0x3d9a480, e=0x7fffac6de220) at kernel/qapplication.cpp:3799
#13 0x00007f2c9ee1b04a in QApplication::notify (this=<value optimized out>, receiver=0x3d9a480, e=0x7fffac6de220) at kernel/qapplication.cpp:3528
#14 0x00007f2ca0159fab in KApplication::notify (this=0x7fffac6deed0, receiver=0x3d9a480, event=0x7fffac6de220) at ../../kdeui/kernel/kapplication.cpp:307
#15 0x00007f2c9e282391 in QCoreApplication::notifyInternal (this=0x7fffac6deed0, receiver=0x3d9a480, event=0x7fffac6de220) at kernel/qcoreapplication.cpp:587
#16 0x00007f2c9ee1a3e8 in QApplicationPrivate::sendMouseEvent (receiver=0x3d9a480, event=0x7fffac6de220, alienWidget=0x3d9a480, nativeWidget=0x3d95360, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f2c9f7980e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#17 0x00007f2c9ee7e939 in QETWidget::translateMouseEvent (this=0x3d95360, event=<value optimized out>) at kernel/qapplication_x11.cpp:4044
#18 0x00007f2c9ee7d82f in QApplication::x11ProcessEvent (this=0x7fffac6deed0, event=0x7fffac6deae0) at kernel/qapplication_x11.cpp:3162
#19 0x00007f2c9eea4cb4 in x11EventSourceDispatch (s=0x1029700, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#20 0x00007f2c998bcaab in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007f2c998c026d in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f2c998c042b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007f2c9e2aa71f in QEventDispatcherGlib::processEvents (this=0x1025d30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#24 0x00007f2c9eea447f in QGuiEventDispatcherGlib::processEvents (this=0x555ae00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#25 0x00007f2c9e280cb2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1402081840}) at kernel/qeventloop.cpp:143
#26 0x00007f2c9e280e3d in QEventLoop::exec (this=0x7fffac6dee10, flags={i = -1402081760}) at kernel/qeventloop.cpp:194
#27 0x00007f2c9e2832ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#28 0x000000000066b861 in ?? ()
#29 0x00007f2c9d6535a6 in __libc_start_main () from /lib/libc.so.6
#30 0x0000000000457dc9 in _start ()
Comment 1 caulier.gilles 2009-02-17 18:33:09 UTC
Crash appears in icon view.

Please try to reproduce the problem with RC published recently. we have fixed some issues about.

Thanks in advance

Gilles Caulier
Comment 2 caulier.gilles 2009-02-17 18:33:58 UTC
Oups, digiKam 0.10.0-rc2 i want mean :

http://www.digikam.org/node/425

Gilles Caulier
Comment 3 Nadav Kavalerchik 2009-02-17 19:23:58 UTC
before even trying the new rc2... i tried to reproduce this (since i am rearrenging my albums... you know... dusting :-) and could not reproduce it.
not sure if i am happy or not about it, yet ;-)

thou, i will soon upgrade to rc2 and give it a try.
thanks.
Comment 4 Marcel Wiesweg 2009-03-23 18:14:56 UTC
Nadav, 0.10.0 final is out. Please give it a try. I strongly suspect that this is a well known bug that is fixed in final.
Comment 5 Nadav Kavalerchik 2009-03-23 19:16:52 UTC
i can confirm this issue is fix in version 0.10.0 svn 933374

here is konsole log to confirm my test:

digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images"
digikam(5899) KSharedUiServerProxy::KSharedUiServerProxy: kuiserver registered
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד"
digikam(5899) Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 2223 "/root/images/גילעד/New Album/_IV27085.JPG"
digikam(5899) Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 2224 "/root/images/גילעד/New Album/resized_image001.jpg"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד/New Album"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד/New Album"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד/New Album"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד/New Album"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד/New Album"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד/New Album"
digikam(5899) Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 2225 "/root/images/גילעד/_IV27085.JPG"
digikam(5899) Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 2226 "/root/images/גילעד/resized_image001.jpg"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד"
digikam(5899) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/root/images/גילעד"
timeChanged