Bug 190273

Summary: crash after hitting ok after batch convert
Product: [Applications] digikam Reporter: DrSlony <bugs>
Component: Plugin-Bqm-ConvertAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 0.4.0
Sentry Crash Report:

Description DrSlony 2009-04-21 18:26:04 UTC
Version:            (using KDE 4.2.2)
Compiler:          gcc-4.3.2-r3 
OS:                Linux
Installed from:    Gentoo Packages

Batch > Convert Images (from tiff 16 to jpg, remove originals) > Start > ...wait... > OK, then crash.

When I restart digiKam-0.10.0, my newly created jpgs have proper thumbnails but file sizes are reported as 0. Restarting digiKam or doing Tools > Scan for New Images doesn't help with getting their proper sizes displayed.
Comment 1 DrSlony 2009-04-21 18:26:50 UTC
Backtrace:

Application: digiKam (digikam), signal SIGSEGV
0x000000325ae9fe21 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 28705)]

Thread 11 (Thread 0x7fedd1113950 (LWP 28706)):
#0  0x000000325ba0ada9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000033c1a5a98b in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x000000000063b9bf in ?? ()
#3  0x00000033c1a59c8f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#5  0x000000325aed048d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fedca17d950 (LWP 28708)):
#0  0x000000325ba0ada9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000033c1a5a98b in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000003fc3f3da4b in Digikam::LoadSaveThread::run () from /usr/lib64/libdigikamcore.so.1
#3  0x00000033c1a59c8f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#5  0x000000325aed048d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fedc997c950 (LWP 28709)):
#0  0x000000325ba0ada9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000033c1a5a98b in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000003fc3f3da4b in Digikam::LoadSaveThread::run () from /usr/lib64/libdigikamcore.so.1
#3  0x00000033c1a59c8f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#5  0x000000325aed048d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fedc33bd950 (LWP 28710)):
#0  0x000000325ba0b02d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fedc76227d8 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#3  0x000000325aed048d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fedc1b57950 (LWP 28711)):
#0  0x000000325aec9b92 in select () from /lib/libc.so.6
#1  0x00007fedc764518a in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007fedc762de79 in ?? () from /usr/lib64/libxine.so.1
#3  0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#4  0x000000325aed048d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fedc1356950 (LWP 28712)):
#0  0x000000325ba08538 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x000000325ea386d8 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x000000325ea38a65 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x000000325ea38ff7 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00000033c1b3ded0 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00000033c1b1b3b4 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00000033c1b1b538 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00000033c1a5759e in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fedc7876aae in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x00000033c1a59c8f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#10 0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#11 0x000000325aed048d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fedc094b950 (LWP 28715)):
#0  0x000000325ba0d86b in read () from /lib/libpthread.so.0
#1  0x0000003268e3e605 in ?? () from /usr/lib64/libasound.so.2
#2  0x0000003268e3a259 in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#3  0x0000003268e42b35 in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#4  0x00007fedc09508c3 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#6  0x000000325aed048d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fedc014a950 (LWP 28716)):
#0  0x000000325ba0ada9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fedc762f597 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fedc76302dd in ?? () from /usr/lib64/libxine.so.1
#3  0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#4  0x000000325aed048d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fedbf8bd950 (LWP 28717)):
#0  0x000000325ba0ada9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000033c1a5a98b in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000003fc3f3da4b in Digikam::LoadSaveThread::run () from /usr/lib64/libdigikamcore.so.1
#3  0x00000033c1a59c8f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#5  0x000000325aed048d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fedb7490950 (LWP 28740)):
#0  0x000000325aec9b92 in select () from /lib/libc.so.6
#1  0x00000033c1b01e44 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00000033c1a59c8f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x000000325ba06ff7 in start_thread () from /lib/libpthread.so.0
#4  0x000000325aed048d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fedd2b54750 (LWP 28705)):
[KCrash Handler]
#5  0x00000033c1b31e03 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00000033c1b30bce in QSignalMapper::map () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00000033c1b31ba2 in QSignalMapper::qt_metacall () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00000033c1b2c7f0 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#9  0x0000003fbe4e119b in QAbstractButton::clicked () from /usr/lib64/qt4/libQtGui.so.4
#10 0x0000003fbe2b7c60 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#11 0x0000003fbe2b89aa in ?? () from /usr/lib64/qt4/libQtGui.so.4
#12 0x0000003fbe2b8b5f in QAbstractButton::mouseReleaseEvent () from /usr/lib64/qt4/libQtGui.so.4
#13 0x0000003fbdfe0a90 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#14 0x0000003fbdf9c30d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#15 0x0000003fbdfa4630 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#16 0x0000003fbf2099b4 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#17 0x00000033c1b1c65e in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#18 0x0000003fbdfa30f6 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#19 0x0000003fbdff4d8c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#20 0x0000003fbdff3d10 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#21 0x0000003fbe015ddb in ?? () from /usr/lib64/qt4/libQtGui.so.4
#22 0x000000325ea35bf6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x000000325ea38de5 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x000000325ea38ff7 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00000033c1b3deb9 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#26 0x0000003fbe015746 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00000033c1b1b3b4 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00000033c1b1b538 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00000033c1b1d0d4 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#30 0x000000000065d9ca in ?? ()
#31 0x000000325ae1e5c6 in __libc_start_main () from /lib/libc.so.6
#32 0x00000000004573b9 in _start ()
Comment 2 caulier.gilles 2009-04-21 18:34:49 UTC
I can't reproduce the problem here with current implementation...

Andi ?
Comment 3 Andi Clemens 2009-04-21 18:48:47 UTC
I can confirm the crash!
Happens as soon as you hit "close".

Andi
Comment 4 Andi Clemens 2009-04-30 10:17:15 UTC
I've made some changes in current SVN, maybe they fixed the problem. Can you test it?

Andi
Comment 5 Andi Clemens 2009-05-12 20:34:25 UTC
DrSlony,

we have released a new KIPI-plugins version, can you try to check if the problem is still occurring to you?

Andi
Comment 6 Andi Clemens 2009-05-15 12:36:19 UTC
I will close this one now, I'm sure it is fixed.
Feel free to re-open it when you discover the crash with kipi-plugins 0.3.0 or current SVN version.

Andi
Comment 7 DrSlony 2009-05-15 12:55:29 UTC
Sorry I cannot test it, I don't use the SVN version only the one from Gentoo portage.
Comment 8 Andi Clemens 2009-05-15 12:58:13 UTC
Well then portage will have 0.3.0 soon I guess... But I'm sure it is fixed, because this is exactly the same backtrace I had as I fixed it.

Andi