Bug 191507 - converting RAW (Canon) to JPG crash
Summary: converting RAW (Canon) to JPG crash
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: BatchQueueManager-RAWProcessing (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 20:28 UTC by Alexandre Racine
Modified: 2018-03-23 11:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 0.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Racine 2009-05-03 20:28:21 UTC
Version:           0.10 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Reproductible

1-Focus on one RAW file.
2-Batch tools-Convert file
3-Choose RAW to JPG.
4-Start.
5-In my case I have a "fail" result. When I close this window, the crash happen.

The first time I did this, there was no crash. Do it multiple times to make it crash. 3 or 4 times.



--------------console------------------------

digikam(21844) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/home/aaaa/multimedia/photos originales/2009-02-02-RAW vs JPG"
digikam(21844) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/home/aaaa/multimedia/photos originales/2009-02-02-RAW vs JPG"
digikam(21844) KIPIBatchProcessImagesPlugin::BatchProcessImagesDialog::slotFinished: Convert exit ( 1 ) 

digikam(21844) Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 48954 "/home/aaaa/multimedia/photos originales/2009-02-02-RAW vs JPG/IMG_0962.jpg"
KCrash: Application 'digikam' crashing...



--------------Below is the crash report-------------------

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

Thread 6 (Thread 0x7f91d5e01950 (LWP 21845)):
#0  0x00007f91e4e382e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f91e5bd2939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x000000000064bbb3 in ?? ()
#3  0x00007f91e5bd1952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f91e4e343ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f91e512efcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f91d23a5950 (LWP 21847)):
#0  0x00007f91e4e382e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f91e5bd2939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f91e94ae62c in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007f91e5bd1952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f91e4e343ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f91e512efcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f91d1b18950 (LWP 21848)):
#0  0x00007f91e4e382e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f91e5bd2939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f91e94ae62c in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007f91e5bd1952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f91e4e343ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f91e512efcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f91c6416950 (LWP 21869)):
#0  0x00007f91e4e382e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f91e5bd2939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f91e94ae62c in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007f91e5bd1952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f91e4e343ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f91e512efcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f91c84b3950 (LWP 22046)):
#0  0x00007f91e5127742 in select () from /lib/libc.so.6
#1  0x00007f91e5c98f06 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f91e5bd1952 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f91e4e343ba in start_thread () from /lib/libpthread.so.0
#4  0x00007f91e512efcd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f91ec19f750 (LWP 21844)):
[KCrash Handler]
#5  0x00007f91e5cd45c3 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f91e5cd38d4 in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#7  0x00007f91e5cd44b0 in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#8  0x00007f91e5cd01f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0x00007f91e6ea8547 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#10 0x00007f91e6c060cb in ?? () from /usr/lib/libQtGui.so.4
#11 0x00007f91e6c07d32 in ?? () from /usr/lib/libQtGui.so.4
#12 0x00007f91e6c07f85 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#13 0x00007f91e68b497f in QWidget::event () from /usr/lib/libQtGui.so.4
#14 0x00007f91e686383d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#15 0x00007f91e686c18a in QApplication::notify () from /usr/lib/libQtGui.so.4
#16 0x00007f91e7c9826b in KApplication::notify () from /usr/lib/libkdeui.so.5
#17 0x00007f91e5cba75c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#18 0x00007f91e686b3d8 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#19 0x00007f91e68d4ec9 in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f91e68d3b38 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#21 0x00007f91e68fc514 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007f91dfc0920a in IA__g_main_context_dispatch (context=0x1783120) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#23 0x00007f91dfc0c8e0 in g_main_context_iterate (context=0x1783120, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#24 0x00007f91dfc0ca7c in IA__g_main_context_iteration (context=0x1783120, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#25 0x00007f91e5ce3e6f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#26 0x00007f91e68fbc9f in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007f91e5cb9002 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#28 0x00007f91e5cb93cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#29 0x00007f91e5cbb694 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#30 0x0000000000671a37 in ?? ()
#31 0x00007f91e50675a6 in __libc_start_main () from /lib/libc.so.6
#32 0x0000000000458839 in _start ()
Comment 1 caulier.gilles 2009-05-03 20:41:02 UTC
It hae been fixed by Andi in current implementation from svn of kipi-plugins... Can you try again with this code ?

Gilles Caulier
Comment 2 Andi Clemens 2009-05-03 20:47:41 UTC
Yes, theoretically it should be fixed ;-)

Andi
Comment 3 caulier.gilles 2009-05-03 21:25:48 UTC
andi, Angelo,

I think we must release kipi-plugins 0.3.0 before KDE 4.3 as bugfix release. Your viewpoints ?

Gilles Caulier
Comment 4 Andi Clemens 2009-05-03 22:09:02 UTC
Sure, why not...
Right now I don't have so much time to move the BatchPlugins to ImagesList, and I don't think it is necessary now. If you want to include it for this release, I guess someone else has to do this.

Andi
Comment 5 Andi Clemens 2009-05-15 12:48:58 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 6 Andi Clemens 2009-05-15 12:52:16 UTC
Alexandre,

just one hint: To convert RAW files, you should use the Batch RAW-Converter, not the normal Convert-Plugin.

Andi
Comment 7 Alexandre Racine 2009-05-15 13:42:23 UTC
Andi : In theory, I should be able to use watever option that is available in the software, no? ;)
I'll try to compile the svn version this weekend and if I found something I'll reopen.
Comment 8 Andi Clemens 2009-05-15 13:47:37 UTC
Well no, because RAW is not a normal image format :D This is why there is a RAW converter.