Bug 158911 - digikam crashes before RAW convert
Summary: digikam crashes before RAW convert
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: BatchQueueManager-RAWProcessing (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 16:49 UTC by Sputnik
Modified: 2020-08-13 15:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sputnik 2008-03-07 16:49:26 UTC
Version:           0.9.2-final (using 3.5.9, Kubuntu (gutsy) 4:3.5.9-0ubuntu1~gutsy1~ppa1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-14-generic

I have found three possibilities to do batch converting from RAW to jpg in digikam. 2 of them do crash here reproducable.

This does not work: "RAW Image Converter", "Batch Process/Batch RAW Converter".
This has worked, but cut off the metadata: "Batch Process/Image Converter"(?)

Here is the backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
...
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1248602432 (LWP 13211)]
[New Thread -1252316272 (LWP 13533)]
[New Thread -1260708976 (LWP 13532)]
(no debugging symbols found)
...
(no debugging symbols found)
[KCrash handler]
#6  0xb61c786e in QObject::parent () from /usr/lib/libqt-mt.so.3
#7  0xb61c803f in QWidget::parentWidget () from /usr/lib/libqt-mt.so.3
#8  0xb62d36a9 in QWidget::topLevelWidget () from /usr/lib/libqt-mt.so.3
#9  0xb62d9161 in QWidget::focusData () from /usr/lib/libqt-mt.so.3
#10 0xb62db8c4 in QWidget::~QWidget () from /usr/lib/libqt-mt.so.3
#11 0xb6bd14b7 in KNumInput::~KNumInput () from /usr/lib/libkdeui.so.4
#12 0xb6bd1503 in KIntNumInput::~KIntNumInput () from /usr/lib/libkdeui.so.4
#13 0xb41ca333 in KDcrawIface::DcrawSettingsWidget::setUseCACorrection ()
   from /usr/lib/libkdcraw.so.2
#14 0xb3fb4bb2 in KIPIRawConverterPlugin::BatchDialog::readSettings ()
   from /usr/lib/kde3/kipiplugin_rawconverter.so
#15 0xb3fb593c in KIPIRawConverterPlugin::BatchDialog::BatchDialog ()
   from /usr/lib/kde3/kipiplugin_rawconverter.so
#16 0xb3faad30 in Plugin_RawConverter::slotActivateBatch ()
   from /usr/lib/kde3/kipiplugin_rawconverter.so
#17 0xb3fab3f8 in Plugin_RawConverter::qt_invoke ()
   from /usr/lib/kde3/kipiplugin_rawconverter.so
#18 0xb629e893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0xb629f338 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0xb6bee6d9 in KAction::activated () from /usr/lib/libkdeui.so.4
#21 0xb6c30f72 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#22 0xb6d2eb3d in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#23 0xb6d2ee01 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#24 0xb629e893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0xb662a8ec in QSignal::signal () from /usr/lib/libqt-mt.so.3
#26 0xb62be842 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#27 0xb63c4fd3 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#28 0xb6bf511e in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#29 0xb62d5681 in QWidget::event () from /usr/lib/libqt-mt.so.3
#30 0xb6235af0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#31 0xb6237cae in QApplication::notify () from /usr/lib/libqt-mt.so.3
#32 0xb69e1a32 in KApplication::notify () from /usr/lib/libkdecore.so.4
#33 0xb61c827d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#34 0xb61c6bbf in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#35 0xb61c4fcc in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#36 0xb61dc1a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#37 0xb62501ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#38 0xb624ffde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#39 0xb6237699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#40 0x0804b06d in main ()
Comment 1 caulier.gilles 2008-03-07 17:33:20 UTC
Sound like a broken kipi-plugins package _or_ libkdcraw.

Please check your system...

Gilles Caulier
Comment 2 Angelo Naselli 2008-03-08 15:10:56 UTC
Achim could you check it please?
Comment 3 Achim Bohnet 2008-03-12 13:10:57 UTC
Hi Sputnik,

what's the output of:

LANG=C dpkg -l digikam\* kipi-plugin\* libkdcraw\* libkexiv\* libexiv\* libkipi\*
Comment 4 Sputnik 2008-03-12 13:33:32 UTC
Moin Achim!

It's 

LANG=C dpkg -l digikam\* kipi-plugin\* libkdcraw\* libkexiv\* libexiv\* libkipi\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                 Version              Description
+++-====================-====================-========================================================
ii  digikam              2:0.9.2-2ubuntu2     digital photo management application for KDE
ii  digikam-0.9.3        beta3-1              Package created with checkinstall 1.6.1
un  digikam-doc          <none>               (no description available)
un  digikamimageplugins  <none>               (no description available)
un  digikamplugins       <none>               (no description available)
ii  kipi-plugins         0.1.4-1build1        image manipulation/handling plugins for KIPI aware progr
ii  kipi-plugins-0.1.5   beta1-1              Package created with checkinstall 1.6.1
un  kipi-plugins-doc     <none>               (no description available)
un  libexiv2             <none>               (no description available)
ii  libexiv2-0           0.15-1ubuntu2        EXIF/IPTC metadata manipulation library
rc  libexiv2-0.12        0.12-0ubuntu3~ach0fe EXIF/IPTC metadata manipulation library
ii  libexiv2-dev         0.15-1ubuntu2        EXIF/IPTC metadata manipulation library - development fi
un  libexiv2-doc         <none>               (no description available)
un  libexiv2c2a          <none>               (no description available)
ii  libkdcraw            0.1.2-1              Package created with checkinstall 1.6.1
ii  libkdcraw1           0.1.1-2              Raw picture decoding C++ library (runtime)
in  libkdcraw2           <none>               (no description available)
ii  libkexiv2            0.1.6-1              Package created with checkinstall 1.6.1
rc  libkexiv2-0          0.1.1-0ubuntu1       Qt like interface for the libexiv2 library (runtime)
ii  libkexiv2-1          0.1.5-1ubuntu2       Qt like interface for the libexiv2 library (runtime)
in  libkexiv2-3          <none>               (no description available)
ii  libkipi              0.1.5-1              Package created with checkinstall 1.6.1
ii  libkipi0             0.1.5-2              library for apps that want to use kipi-plugins (runtime
un  libkipi0c2           <none>               (no description available)


Thanks for your great work!

btw. I have a problem with the last update...

It looks like this now:
WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
  libkdcraw2 libkexiv2-3
Diese Pakete ohne Überprüfung installieren [j/N]? j
(Lese Datenbank ... 212676 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke libkdcraw2 (aus .../libkdcraw2_0.1.3-1~ach0gutsy1_i386.deb) ...
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/libkdcraw2_0.1.3-1~ach0gutsy1_i386.deb (--unpack):
 Versuche, »/usr/lib/libkdcraw2/kdcraw« zu überschreiben, welches auch in Paket libkdcraw ist
Entpacke libkexiv2-3 (aus .../libkexiv2-3_0.1.6-1ubuntu3~ach0gutsy1_i386.deb) ...
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/libkexiv2-3_0.1.6-1ubuntu3~ach0gutsy1_i386.deb (--unpack):
 Versuche, »/usr/lib/libkexiv2.so.3.0.0« zu überschreiben, welches auch in Paket libkexiv2 ist
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/libkdcraw2_0.1.3-1~ach0gutsy1_i386.deb
 /var/cache/apt/archives/libkexiv2-3_0.1.6-1ubuntu3~ach0gutsy1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


All the best for you!
Comment 5 Achim Bohnet 2008-03-14 10:38:28 UTC
Hi Arne,

about install problems:

my gutsy backport pkgs install, when the locally
build checkinstall pkgs where removed.

Checkinstall does not, and can not without help for libs, create
thee right package names.  Therefore the conflicts.


about the crash:

it looks like again the checkinstall pkgs kipi-plugins-0.1.5
and a mixture of libkdcraw APIs  is the problem.

In kubuntu/hardy it needs new libkdcraw, digikam, and kphotoalbum
pkgs to update to kipi-plugins 0.1.5.

Have not check gutsy yet, but hopefully I get pkgs this weekend,
then this crash should vanish.
Comment 6 Achim Bohnet 2008-03-14 10:42:31 UTC
I close the bugs as the problem is a local install mixture
of libs.

@Sputnik: Feel free to remind me by e-mail regularily when
I don't get the gutsty  digikam 0.9.3 / kipi-plugins 0.1.5
backport into my gutsy repository.

Achim