[Digikam-users] Fwd: Crash in 0.9 SVN with Exiv2 0.10

Caulier Gilles caulier.gilles at kdemail.net
Wed Jul 12 13:15:41 BST 2006


Duncan,

I suspect a digiKam linking problem. Like you have merged both Exiv2 version 
(0.9.1 and 0.10) in your system before, i recomend you to clean up properlly 
all using make distclean (better way is to remove all local source code 
repository and re-checkout from scrach...

Also, I'm using also a Dynax 5D here with a lot of MRW files (around 500 
here). I cannot reproduce the crash here on my computers (3 speed computers 
in my office, and my laptop and my host computer at home).

The crash come from the digiKam startup and mix the editor plugin and the 
internal Exiv2::minolta makernote. Of course these implementations are 
complety independant (the image plugins do not use Exiv2), but at the digiKam 
startup, the albums collection is parsed to find new items (if you have 
checked the right option in setup of course)

I suspect that a MRW file is parsed and sometihng is wrong in memory, and make 
alterations in current image plugin loaded in memory.

Andreas, i forward this message for informations... If you have ideas, let's 
me hear... Also, like you use digiKam now in your computer, can you reproduce 
this problem ?

Gilles

----------  Message transmis  ----------

Subject: [Digikam-users] Crash in 0.9 SVN with Exiv2 0.10
Date: Mardi 11 Juillet 2006 11:25 AM
From: Duncan Hill <digikam at nacnud.force9.co.uk>
To: "digiKam - Digital Photo Management for the masses" 
<digikam-users at kde.org>

Using tagged Exiv2 after Gilles pointed out that 0.9.1 wasn't right in my ldd
output.  Now digikam crashes on startup.  Fresh build from this morning.

$ ldd /usr/bin/digikam | grep exiv
        libexiv2-0.10.so => /usr/local/lib/libexiv2-0.10.so (0xb78f0000)

URL: svn://anonsvn.kde.org/home/kde/trunk/extragear/libs
Repository Root: svn://anonsvn.kde.org/home/kde
Repository UUID: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Revision: 560749

URL: svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/digikam
Repository Root: svn://anonsvn.kde.org/home/kde
Repository UUID: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Revision: 560753

KIPI (loading): Loaded RawConverter
KIPI (loading): KIPI::PluginLoader: Loaded plugin RawConverter
terminate called after throwing an instance of 'Exiv2::Error'
KCrash: Application 'digikam' crashing...

Rather annoying, as I was trying to narrow down why digikam was writing
corrupt jpegs from mrw files.

-------------------------------------------------------
-------------- next part --------------
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1240151840 (LWP 821)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb61a89a1 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb61aa2b9 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb637cc1e in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#10 0xb637a915 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#11 0xb637a94a in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb637aa7e in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0xb79feaff in Exiv2::ExifTags::registerMakerTagInfo (
    ifdId=Exiv2::ifdIdNotSet, tagInfo=0x6) at tags.cpp:339
#14 0xb79e4b87 in RegisterMn (this=0xb439a8a8) at minoltamn.cpp:882
#15 0xb4343713 in __static_initialization_and_destruction_0 (
    __initialize_p=<value optimized out>, __priority=<value optimized out>)
    at minoltamn.hpp:200
#16 0xb436f9b1 in __do_global_ctors_aux ()
   from /opt/exiv2/lib/libexiv2-0.9.1.so
#17 0xb43049f5 in _init () from /opt/exiv2/lib/libexiv2-0.9.1.so
#18 0xb7fc62ab in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#19 0xb7fc635d in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#20 0xb627df40 in getutmpx () from /lib/tls/i686/cmov/libc.so.6
#21 0xb7fc6106 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#22 0xb627e938 in _dl_open () from /lib/tls/i686/cmov/libc.so.6
#23 0xb63a7cb8 in ?? () from /lib/tls/i686/cmov/libdl.so.2
#24 0xfffffffe in ?? ()
#25 0xbffce310 in ?? ()
#26 0xb7fd0be0 in _rtld_global () from /lib/ld-linux.so.2
#27 0xb7fd0778 in ?? () from /lib/ld-linux.so.2
#28 0xbffce310 in ?? ()
#29 0xb7fd0be0 in _rtld_global () from /lib/ld-linux.so.2
#30 0xbffce2b8 in ?? ()
#31 0xb7fc6106 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#32 0xb7fc6106 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#33 0xb63a82bb in dlerror () from /lib/tls/i686/cmov/libdl.so.2
#34 0xb63a7d11 in dlopen () from /lib/tls/i686/cmov/libdl.so.2
#35 0xb71bac64 in lt_dladderror () from /usr/lib/libkdecore.so.4
#36 0xb71bb46f in lt_dlpreload_default () from /usr/lib/libkdecore.so.4
#37 0xb71bc467 in lt_dlopen () from /usr/lib/libkdecore.so.4
#38 0xb710c4fb in KLibLoader::library () from /usr/lib/libkdecore.so.4
#39 0xb7ed5484 in createInstanceFromLibrary<Digikam::ImagePlugin> (
    libraryName=0x86e80a0 "digikamimageplugin_core", parent=0x86ddc30, 
    name=0x86e0e20 "ImagePlugin_Core", args=@0xbffce59c, error=0xbffce56c)
    at componentfactory.h:132
#40 0xb7ed55c2 in createInstanceFromService<Digikam::ImagePlugin> (
    service=@0xbffce574, parent=0x86ddc30, name=0x86e0e20 "ImagePlugin_Core", 
    args=@0xbffce59c, error=0xbffce56c) at componentfactory.h:216
#41 0xb7ed5b6b in Digikam::ImagePluginLoader::loadPluginsFromList (
    this=0x86ddc30, list=@0xbffce6d0) at imagepluginloader.cpp:129
#42 0xb7ed68e4 in ImagePluginLoader (this=0x86ddc30, parent=0x8144300, 
    splash=0x813cd50) at imagepluginloader.cpp:100
#43 0xb7d45646 in Digikam::DigikamApp::loadPlugins (this=0x8144300)
    at digikamapp.cpp:1414
#44 0xb7d4a9de in DigikamApp (this=0x8144300) at digikamapp.cpp:158
#45 0x0804a86d in main (argc=1, argv=0xbffcea34) at main.cpp:248


More information about the Digikam-users mailing list