Bug 195831

Summary: Crash just after finished using "New Album from Selection"
Product: [Applications] digikam Reporter: Michael Liddle <michael>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, jafo, osterfeld
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Michael Liddle 2009-06-09 23:54:44 UTC
Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527)) "release 127"
Qt Version: 4.5.1
Operating System: Linux 2.6.25.20-0.4-default i686

What I was doing when the application crashed:
New album created from a sub-selection of a larger album, involved moving of ~300 images. I don't have much more to add though unfortunately.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 0 (LWP 15416)]

Thread 14 (Thread 0xb3135b90 (LWP 15463)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ec15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58ac732 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x0828dc39 in ?? ()
#4  0xb58ab71e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb584b175 in start_thread () from /lib/libpthread.so.0
#6  0xb56aadae in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb2042b90 (LWP 20851)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ec15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58ac732 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7211c62 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#4  0xb58ab71e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb584b175 in start_thread () from /lib/libpthread.so.0
#6  0xb56aadae in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb2843b90 (LWP 20852)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ec15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58ac732 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7211c62 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#4  0xb58ab71e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb584b175 in start_thread () from /lib/libpthread.so.0
#6  0xb56aadae in clone () from /lib/libc.so.6

Thread 11 (Thread 0xaf2b3b90 (LWP 20932)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ef42 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb16d06d1 in ?? () from /usr/lib/libxine.so.1

Thread 10 (Thread 0xae675b90 (LWP 20935)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ef42 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb16df12e in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 0xade74b90 (LWP 20936)):
#0  0xb584dc46 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb511ae21 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb511b76d in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb511b9f8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb59cb597 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb599e00a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb599e44a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb58a83c9 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xb000a839 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb58ab71e in ?? () from /usr/lib/libQtCore.so.4
#10 0xb584b175 in start_thread () from /lib/libpthread.so.0
#11 0xb56aadae in clone () from /lib/libc.so.6

Thread 8 (Thread 0xad63eb90 (LWP 20971)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ec15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58ac732 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7211c62 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#4  0xb58ab71e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb584b175 in start_thread () from /lib/libpthread.so.0
#6  0xb56aadae in clone () from /lib/libc.so.6

Thread 7 (Thread 0xac97db90 (LWP 20997)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb56a11a7 in poll () from /lib/libc.so.6
#2  0xacaedfc4 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xac17cb90 (LWP 20998)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ec15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb16e2f23 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa9b7bb90 (LWP 21960)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ec15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58ac732 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7211c62 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#4  0xb58ab71e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb584b175 in start_thread () from /lib/libpthread.so.0
#6  0xb56aadae in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa4277b90 (LWP 23593)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ec15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58ac732 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7211c62 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#4  0xb58ab71e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb584b175 in start_thread () from /lib/libpthread.so.0
#6  0xb56aadae in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa3a76b90 (LWP 23594)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ec15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58ac732 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7211c62 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#4  0xb58ab71e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb584b175 in start_thread () from /lib/libpthread.so.0
#6  0xb56aadae in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa3271b90 (LWP 5689)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb584ec15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58ac732 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7211c62 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#4  0xb58ab71e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb584b175 in start_thread () from /lib/libpthread.so.0
#6  0xb56aadae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb49266d0 (LWP 15416)):
[KCrash Handler]
#6  0xb6d8828d in KIO::Slave::deref () from /usr/lib/libkio.so.5
#7  0xb6d88a7c in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#8  0xb6d8af03 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#9  0xb59b5d68 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb59b74f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb6c94057 in KIO::Connection::readyRead () from /usr/lib/libkio.so.5
#12 0xb6c959c3 in ?? () from /usr/lib/libkio.so.5
#13 0xb6c95da6 in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#14 0xb59ae95b in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#15 0xb59b0448 in QObject::event () from /usr/lib/libQtCore.so.4
#16 0xb5e5655c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#17 0xb5e5e88e in QApplication::notify () from /usr/lib/libQtGui.so.4
#18 0xb6a5393d in KApplication::notify () from /usr/lib/libkdeui.so.5
#19 0xb599f9cb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#20 0xb59a0615 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#21 0xb59a080d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#22 0xb59cb92f in ?? () from /usr/lib/libQtCore.so.4
#23 0xb51182f9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0xb511b87b in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb511b9f8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0xb59cb578 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#27 0xb5ef69f5 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb599e00a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb599e44a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0xb59a08d9 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#31 0xb5e563d7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#32 0x082b37bb in ?? ()
#33 0xb55f35f5 in __libc_start_main () from /lib/libc.so.6
#34 0x0808d741 in _start ()

Reported using DrKonqi
Comment 1 Andi Clemens 2009-06-26 09:57:09 UTC
Seems to be an KDE issue, not digiKam directly. Judging from your report you use an unstable KDE release, so it is quite possible that something is not working correctly at the moment with the kioslaves.
Comment 2 Frank Osterfeld 2009-07-17 21:33:53 UTC

*** This bug has been marked as a duplicate of bug 191589 ***
Comment 3 Sean Reifschneider 2009-11-09 04:27:15 UTC
(In reply to comment #1)
> Seems to be an KDE issue, not digiKam directly. Judging from your report you
> use an unstable KDE release, so it is quite possible that something is not
> working correctly at the moment with the kioslaves.

I don't believe this is a KDE issue, I'm fairly certain it's a regression in digiKam 1.0 beta 5.  It also does *NOT* look like a duplicate of 191581.

I say this because it worked fine for me under digiKam 1.0 beta 4 and started failing when I installed beta 5, without upgrading KDE.

To reproduce:

Select several images.  (Original reporter said 300, I've had it happen with only a handful of images, say 5 to 30)

Right-click and select "New album from selection".

Type in name of new album and create album.

Expected result: New album is created with the selected items in it.

Actual result: digiKam crashes.  Upon re-starting digiKam, the album was created, but no images were moved into it.
Comment 4 caulier.gilles 2022-01-20 21:31:38 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=191589