Bug 129739 - slideshow crash with nef files
Summary: slideshow crash with nef files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-Presentation (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-24 11:13 UTC by Marcus Popp
Modified: 2022-01-17 05:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Popp 2006-06-24 11:13:15 UTC
Version:           0.9.0-svn (using KDE KDE 3.5.3)
Installed from:    Ubuntu Packages

compiled with './configure --enable-debug=full'
e.g. file: http://slave.paranoidbsd.org/photo/dsc-0002.nef
if I run digikam by gdb the applicaton hangs.

if I just run it from konsole I get this console output:
TIFFReadDirectory: Warning, /data/photo/storage/export/20060618T1054-0001.nef: unknown field with tag 36867 (0x9003) encountered.
TIFFReadDirectory: Warning, /data/photo/storage/export/20060618T1054-0001.nef: unknown field with tag 37398 (0x9216) encountered.
TIFFReadDirectory: Warning, /data/photo/storage/export/20060618T1054-0001.nef: unknown field with tag 36867 (0x9003) encountered.
TIFFReadDirectory: Warning, /data/photo/storage/export/20060618T1054-0001.nef: unknown field with tag 37398 (0x9216) encountered.
KCrash: Application 'digikam' crashing...

and this backtrace:
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912595377392 (LWP 8086)]
0x00002aaab036e785 in nanosleep () from /lib/libc.so.6
#0  0x00002aaab036e785 in nanosleep () from /lib/libc.so.6
#1  0x00002aaab036e5f0 in sleep () from /lib/libc.so.6
#2  0x00002aaaace17c8d in KCrash::startDrKonqi ()
   from /usr/lib/libkdecore.so.4
#3  0x00002aaaace3da6c in KCrash::defaultCrashHandler ()
   from /usr/lib/libkdecore.so.4
#4  0x00002aaab030d1b0 in killpg () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
Comment 1 Angelo Naselli 2006-06-25 14:33:53 UTC
Sorry your example is perfectly working here.
I used mandriva 2006 with gwenview and digikam, both didn't crash, 
although the had the same warning messages.

Angelo 
Comment 2 caulier.gilles 2006-06-25 15:02:15 UTC
The backtrace given is not suitable. You need to tun digiKam into gdb and give the backtrace of the crash.

If there is no debug info, you need to recompile kipi and digiKam using --enable-debug=full option of .configure script.

Gilles 
Comment 3 Angelo Naselli 2006-06-25 15:14:41 UTC
> If there is no debug info, you need to recompile kipi and digiKam using --enable-debug=full option of .configure script.

or install the -debug package
Comment 4 Angelo Naselli 2006-12-09 22:21:12 UTC
No answers since the report date. If it's still valid please reopen and add comments to it
Comment 5 Valerio Fuoglio 2006-12-09 23:58:51 UTC
Test made, no problem for me.
I agree with you, if someone will reopen the bug, I'll make more tests.
Comment 6 caulier.gilles 2006-12-10 09:56:55 UTC
Angelo, Valerio,

Close this is right if NEF file don't close the plugin... But showing NEF files (and more genrealy all RAW file with SlideShow) is important.

It's easy to do to extract JPEG/TIFF thumb file embedded in RAW file. All is ready to do it using the code from RAW converter engine. I just need to share this code in the future libkdcraw library. This task need to be add in TODO list.

Gilles
Comment 7 caulier.gilles 2007-02-10 12:33:37 UTC
Marcus,

digikam from trunk (next 0.9.1) have a native slideshow tool now. it use the Preview extraction feature from digiKam core. This is want mean than you can slide RAW file without problem, and it's very fast...


Angelo, Valerio, i won't remplace the SlideShow kipi-plugin with this new Native tool in digiKam. There is no effect and it don't use OpenGL. It just slide the picture. That all. Note than Gwenview have also a native SlideShow tool...

To prevent users confusion, i would to rename the kipi-plugin Slideshow menu action from "Slideshow" to "Advanced Slideshow" or something like that. What do you think about ?

Gilles
Comment 8 Valerio Fuoglio 2007-02-10 14:21:48 UTC
No problem Gilles, for me it's OK :)

Valerio
Comment 9 caulier.gilles 2007-02-10 19:38:01 UTC
SVN commit 632341 by cgilles:

kipi-plugins from trunk : SlideShow tool : fix menu entry from "SlideShow" to "Advanced SlideShow"
CCBUGS: 129739


 M  +1 -1      plugin_slideshow.cpp  


--- trunk/extragear/libs/kipi-plugins/slideshow/plugin_slideshow.cpp #632340:632341
@@ -68,7 +68,7 @@
 {
     KIPI::Plugin::setup( widget );
     
-    m_actionSlideShow = new KAction (i18n("SlideShow..."),
+    m_actionSlideShow = new KAction (i18n("Advanced SlideShow..."),
                                      "slideshow",
                                      0,
                                      this,