Version: 0.9.2 (using KDE KDE 3.5.7) Installed from: Slackware Packages Compiler: GCC 4.1.2 OS: Linux Trying to convert a RAW file (CR2 one, from Canon EOS 350) leads to crash the program. This is the console output just before the crash: Found dcraw version: 8.77 Running RAW decoding command: /usr/lib/libkdcraw2/kdcraw -c -e ' /home/marco/Documents/Pictures/2007-10-11/IMG_8501.CR2' Using embedded RAW preview extraction Running RAW decoding command: /usr/lib/libkdcraw2/kdcraw -i -v '/home/marco/Documents/Pictures/2007-10-11/IMG_8501.CR2' KCrash: Application 'digikam' crashing... digikam: Fatal IO error: client killed digikam: Fatal IO error: client killed And this is the Backtrace: Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1246918960 (LWP 18336)] [New Thread -1255818352 (LWP 18385)] 0xb5e26cd1 in ?? () from /lib/libpthread.so.0 #0 0xb5e26cd1 in ?? () from /lib/libpthread.so.0 #1 0xb5e4a725 in ?? () from /usr/lib/libxcb.so.1 #2 0x00000003 in ?? () #3 0x0805f1d0 in ?? () #4 0x00001000 in ?? () #5 0x0805f1d0 in ?? () #6 0x0805f14c in ?? () #7 0x00000000 in ?? ()
Marco, Which libkdcraw version you use ? Gilles Caulier
I use libkdcraw version 0.1.2
You backtrace is not suitable. there is no debug info. Also, cannot reproduce the problem here. I use RAW files everyday. - Can you recompile all source code (digiKam + libkdcraw) with full debug support (./configure --enable-debug=full) ? - Can you try to reproduce this problem using digiKam 0.9.3-beta1 tarball ? Thanks in advance Gilles Caulier
I've compiled the 0.9.3-beta1 tarball and the libkdcraw as you have suggested, but the program shows the same problem. Two strange things: 1) After the recompilation, digikam reports libkdcraw as a missing library: KIPI (loading): WARNING: KLibLoader says: libkdcraw.so.1: cannot open shared object file: No such file or directory but libkdcraw is installed... so I just linked the existing libkdcraw.so to libkdcraw.so.1 2) even after the compilation with debugging enabled (--enable-debugging=full) there's no useful backtrace: 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. Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1246689584 (LWP 17389)] [New Thread -1255588976 (LWP 17441)] 0xb5becef7 in ?? () from /lib/libc.so.6 #0 0xb5becef7 in ?? () from /lib/libc.so.6 #1 0xb5e813df in ?? () from /usr/lib/libxcb.so.1 #2 0x00000004 in ?? () #3 0xbfa6cb1c in ?? () #4 0xbfa6ca9c in ?? () #5 0x00000000 in ?? ()
Marco, Something is wrong on your computer. i suspect both version of libkdcraw installed at the same time. Check your system please... Gilles
I looked carefully for overlapping installations of libkdcraw, but everything appears to be fine.. anyway i've recompiled and reinstalled libkdcraw 0.1.2 tarball. The files installed with "make install" are the following: /usr/lib/pkgconfig/libkdcraw.pc /usr/lib/libkdcraw.so.2.0.0 /usr/lib/libkdcraw2 /usr/lib/libkdcraw2/kdcraw /usr/lib/libkdcraw.so.2 /usr/lib/libkdcraw.la /usr/lib/libkdcraw.so /usr/share/icons/hicolor/64x64/apps/kdcraw.png /usr/share/icons/hicolor/48x48/apps/kdcraw.png /usr/share/icons/hicolor/128x128/apps/kdcraw.png /usr/share/icons/hicolor/32x32/apps/kdcraw.png /usr/share/locale/th/LC_MESSAGES/libkdcraw.mo /usr/share/locale/es/LC_MESSAGES/libkdcraw.mo /usr/share/locale/ca/LC_MESSAGES/libkdcraw.mo /usr/share/locale/sr@Latn/LC_MESSAGES/libkdcraw.mo /usr/share/locale/nds/LC_MESSAGES/libkdcraw.mo /usr/share/locale/da/LC_MESSAGES/libkdcraw.mo /usr/share/locale/it/LC_MESSAGES/libkdcraw.mo /usr/share/locale/pa/LC_MESSAGES/libkdcraw.mo /usr/share/locale/pt/LC_MESSAGES/libkdcraw.mo /usr/share/locale/is/LC_MESSAGES/libkdcraw.mo /usr/share/locale/sr/LC_MESSAGES/libkdcraw.mo /usr/share/locale/el/LC_MESSAGES/libkdcraw.mo /usr/share/locale/uk/LC_MESSAGES/libkdcraw.mo /usr/share/locale/sv/LC_MESSAGES/libkdcraw.mo /usr/share/locale/et/LC_MESSAGES/libkdcraw.mo /usr/share/locale/ja/LC_MESSAGES/libkdcraw.mo /usr/share/locale/de/LC_MESSAGES/libkdcraw.mo /usr/share/locale/nl/LC_MESSAGES/libkdcraw.mo /usr/share/locale/sk/LC_MESSAGES/libkdcraw.mo /usr/include/libkdcraw /usr/include/libkdcraw/rawdecodingsettings.h /usr/include/libkdcraw/kdcraw.h /usr/include/libkdcraw/dcrawbinary.h /usr/include/libkdcraw/dcrawsettingswidget.h /usr/include/libkdcraw/dcrawinfocontainer.h /usr/include/libkdcraw/rawfiles.h /usr/include/libkdcraw/libkdcraw_export.h /usr/include/libkdcraw/version.h As you can see libkdraw.so.1 in not created, so i'm forced to create it by ln -s /usr/lib/libkdcraw.so libkdcraw.so.1 in order to enable the raw conversion feature in digiKam. Should I try to install an older version of libkdcraw?
>As you can see libkdraw.so.1 in not created, so i'm forced to create it by >ln -s /usr/lib/libkdcraw.so libkdcraw.so.1 You don't need to do that. If digiKam need libkdcraw.so.1 to link, this is want mean than something running wrong on your computer during digiKam configure. >in order to enable the raw conversion feature in digiKam. >Should I try to install an older version of libkdcraw? No. Just cleanup your system and recompile/install digiKam. In digiKam source code, do : # make distclean # make -f Makefile.cvs # ./configure --enable-debug=full # make # su # make install I recommend you to use current KDE3 source code of digiKam from svn (next 0.9.3-beta2) Gilles
I've tryed to cleanup my system as you suggested, but still digiKam complains about the missing library as i reported some posts ago: KIPI (loading): WARNING: KLibLoader says: libkdcraw.so.1: cannot open shared object file: No such file or directory Should I try to recompile Libkipi or Kipi-plugins?
Yes, because libkdcraw is also used in RAW converter kipi-plugin... Gilles
Problem solved! It seems that there were some problems with kipi-plugins 0.1.2, since installing version 0.1.5-beta solved both the missing library and the crash issue. Thanks for your support! Marco Cusmai
Thanks for your patience (:=))) Gilles
Not reproducible with digiKam 7.0.0-beta1.