unable to run digikam-svn

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

unable to run digikam-svn

Pedro Venda-3
Hi everyone,

I'm having trouble running digikam-svn (trunk). My SVN scripts build the
following packages correctly:
exiv2-svn
kipi-plugins, libkdcraw, libkeg, libkexiv2, libkipi
digikam, digikamimageplugins

but after installing, digikam crashes before showing the main window:

digikam: ScanLib: Finding items not in the database or disk: 19479 ms
digikam: ScanLib: Updating items without date: 8 ms
digikam: Found dcraw version: 8.41
KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list
for host application
terminate called after throwing an instance of 'Exiv2::Error'
KCrash: Application 'digikam' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.

I tried cleaning the sources and rebuilding everything but got the same
result. Anyone has an idea of the cause? Anyone can reproduce?

Best Regards,
--

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: unable to run digikam-svn

Gilles Caulier-4
Try to start digiKam under gdb and give us a backtrace. It's explained how to do it here :
 
 
digikam & co need to be compiled with ./configure --enable-debug=full
 
Gilles Caulier

 
2007/3/2, Pedro Venda <[hidden email]>:
Hi everyone,

I'm having trouble running digikam-svn (trunk). My SVN scripts build the
following packages correctly:
exiv2-svn
kipi-plugins, libkdcraw, libkeg, libkexiv2, libkipi
digikam, digikamimageplugins

but after installing, digikam crashes before showing the main window:

digikam: ScanLib: Finding items not in the database or disk: 19479 ms
digikam: ScanLib: Updating items without date: 8 ms
digikam: Found dcraw version: 8.41
KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list
for host application
terminate called after throwing an instance of 'Exiv2::Error'
KCrash: Application 'digikam' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.

I tried cleaning the sources and rebuilding everything but got the same
result. Anyone has an idea of the cause? Anyone can reproduce?

Best Regards,
--

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users




_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: unable to run digikam-svn

Pedro Venda-3
On Friday 02 March 2007 07:39:39 Gilles Caulier wrote:
> Try to start digiKam under gdb and give us a backtrace. It's explained how
> to do it here :
>
> http://www.digikam.org/?q=contrib
>
> digikam & co need to be compiled with ./configure --enable-debug=full

ok, I'll give it a try. stand by.

>
> Gilles Caulier
>
> 2007/3/2, Pedro Venda <[hidden email]>:
> > Hi everyone,
> >
> > I'm having trouble running digikam-svn (trunk). My SVN scripts build the
> > following packages correctly:
> > exiv2-svn
> > kipi-plugins, libkdcraw, libkeg, libkexiv2, libkipi
> > digikam, digikamimageplugins
> >
> > but after installing, digikam crashes before showing the main window:
> >
> > digikam: ScanLib: Finding items not in the database or disk: 19479 ms
> > digikam: ScanLib: Updating items without date: 8 ms
> > digikam: Found dcraw version: 8.41
> > KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore
> > list
> > for host application
> > terminate called after throwing an instance of 'Exiv2::Error'
> > KCrash: Application 'digikam' crashing...
> > Could not find 'drkonqi' executable.
> > KCrash cannot reach kdeinit, launching directly.
> >
> > I tried cleaning the sources and rebuilding everything but got the same
> > result. Anyone has an idea of the cause? Anyone can reproduce?
> >
> > Best Regards,
> > --
> >
> > Pedro João Lopes Venda
> > email: pjvenda at pjvenda org
> > http://www.pjvenda.org
> >
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users


--

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: unable to run digikam-svn

Pedro Venda-3
On Friday 02 March 2007 09:08:16 Pedro Venda wrote:
> On Friday 02 March 2007 07:39:39 Gilles Caulier wrote:
> > Try to start digiKam under gdb and give us a backtrace. It's explained
> > how to do it here :
> >
> > http://www.digikam.org/?q=contrib
> >
> > digikam & co need to be compiled with ./configure --enable-debug=full
>
> ok, I'll give it a try. stand by.

not sure if this is adequate/enough, but backtrace calls #7 to #11 may be
useful.

digikam: ScanLib: Finding non-existing Albums: 357 ms
digikam: ScanLib: Finding items not in the database or disk: 17052 ms
digikam: ScanLib: Updating items without date: 41 ms
digikam: Found dcraw version: 8.41
KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list
fo
r host application
terminate called after throwing an instance of 'Exiv2::Error'

Program received signal SIGABRT, Aborted.
[Switching to Thread -1248958800 (LWP 24017)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb591f791 in raise () from /lib/libc.so.6
#2  0xb5920ec8 in abort () from /lib/libc.so.6
#3  0xb5afa4e4 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
#4  0xb5af7ed5 in ?? ()
   from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
#5  0xb5af7f12 in std::terminate ()
   from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
#6  0xb5af804a in __cxa_throw ()
   from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
#7  0xb730def9 in Exiv2::ExifTags::registerMakerTagInfo (
    ifdId=Exiv2::sigmaIfdId, tagInfo=0xb735ebc0) at tags.cpp:1189
#8  0xb7307622 in RegisterMn (this=0xb462c8a1) at sigmamn.cpp:60
#9  0xb45d5530 in __static_initialization_and_destruction_0 (
    __initialize_p=<value optimized out>, __priority=<value optimized out>)
    at sigmamn.hpp:150
#10 0xb45f3ee2 in __do_global_ctors_aux ()
   from /usr/local/digikam-trunk/lib/libexiv2-0.12.so
#11 0xb4578055 in _init () from /usr/local/digikam-trunk/lib/libexiv2-0.12.so
#12 0xb7f34be5 in call_init () from /lib/ld-linux.so.2
#13 0xb7f34cf1 in _dl_init_internal () from /lib/ld-linux.so.2
#14 0xb7f38932 in dl_open_worker () from /lib/ld-linux.so.2
#15 0xb7f34832 in _dl_catch_error () from /lib/ld-linux.so.2
---Type <return> to continue, or q <return> to quit---
#16 0xb7f38209 in _dl_open () from /lib/ld-linux.so.2
#17 0xb5b26e3d in ?? () from /lib/libdl.so.2
#18 0x0835a2e0 in ?? ()
#19 0x80000001 in ?? ()
#20 0xb6ad4e2e in ?? () from /usr/kde/3.5/lib/libkdecore.so.4
#21 0xfffffffe in ?? ()
#22 0x00000001 in ?? ()
#23 0xbfb02e74 in ?? ()
#24 0xbfb02e7c in ?? ()                                      
#25 0x00000000 in ?? ()

Best regards,
--

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: unable to run digikam-svn

Gilles Caulier-4
ok, i have already seen this problem in the past. Please check in your system both version of Exiv2 is not installed. Only Exiv2 0.12 (or current svn implementation) must be available in your computer.
 
If you find an old version (0.11, 0.10, etc.) remove it, clean up kipi-plugins, libkexiv2 and digiKam, re-start autotools, re-compile and install all...
 
Gilles 

 
2007/3/2, Pedro Venda <[hidden email]>:
On Friday 02 March 2007 09:08:16 Pedro Venda wrote:
> On Friday 02 March 2007 07:39:39 Gilles Caulier wrote:
> > Try to start digiKam under gdb and give us a backtrace. It's explained
> > how to do it here :
> >
> > http://www.digikam.org/?q=contrib
> >
> > digikam & co need to be compiled with ./configure --enable-debug=full
>
> ok, I'll give it a try. stand by.

not sure if this is adequate/enough, but backtrace calls #7 to #11 may be
useful.

digikam: ScanLib: Finding non-existing Albums: 357 ms
digikam: ScanLib: Finding items not in the database or disk: 17052 ms
digikam: ScanLib: Updating items without date: 41 ms
digikam: Found dcraw version: 8.41
KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list
fo
r host application
terminate called after throwing an instance of 'Exiv2::Error'

Program received signal SIGABRT, Aborted.
[Switching to Thread -1248958800 (LWP 24017)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb591f791 in raise () from /lib/libc.so.6
#2  0xb5920ec8 in abort () from /lib/libc.so.6
#3  0xb5afa4e4 in __gnu_cxx::__verbose_terminate_handler ()
  from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
#4  0xb5af7ed5 in ?? ()
  from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
#5  0xb5af7f12 in std::terminate ()
  from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
#6  0xb5af804a in __cxa_throw ()
  from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
#7  0xb730def9 in Exiv2::ExifTags::registerMakerTagInfo (
   ifdId=Exiv2::sigmaIfdId, tagInfo=0xb735ebc0) at tags.cpp:1189
#8  0xb7307622 in RegisterMn (this=0xb462c8a1) at sigmamn.cpp:60
#9  0xb45d5530 in __static_initialization_and_destruction_0 (
   __initialize_p=<value optimized out>, __priority=<value optimized out>)
   at sigmamn.hpp:150
#10 0xb45f3ee2 in __do_global_ctors_aux ()
  from /usr/local/digikam-trunk/lib/libexiv2-0.12.so
#11 0xb4578055 in _init () from /usr/local/digikam-trunk/lib/libexiv2- 0.12.so
#12 0xb7f34be5 in call_init () from /lib/ld-linux.so.2
#13 0xb7f34cf1 in _dl_init_internal () from /lib/ld-linux.so.2
#14 0xb7f38932 in dl_open_worker () from /lib/ld-linux.so.2
#15 0xb7f34832 in _dl_catch_error () from /lib/ld-linux.so.2
---Type <return> to continue, or q <return> to quit---
#16 0xb7f38209 in _dl_open () from /lib/ld-linux.so.2
#17 0xb5b26e3d in ?? () from /lib/libdl.so.2
#18 0x0835a2e0 in ?? ()
#19 0x80000001 in ?? ()
#20 0xb6ad4e2e in ?? () from /usr/kde/3.5/lib/libkdecore.so.4
#21 0xfffffffe in ?? ()
#22 0x00000001 in ?? ()
#23 0xbfb02e74 in ?? ()
#24 0xbfb02e7c in ?? ()
#25 0x00000000 in ?? ()

Best regards,
--

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users




_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: unable to run digikam-svn

Pedro Venda-3
On Friday 02 March 2007 10:58:54 Gilles Caulier wrote:
> ok, i have already seen this problem in the past. Please check in your
> system both version of Exiv2 is not installed. Only Exiv2 0.12 (or current
> svn implementation) must be available in your computer.

digikam-svn is being compiled and linked against exiv2-svn (compiled before
digikam, obviously) and system's exiv2 library is 0.12, so I suppose this
isn't the problem.

> If you find an old version (0.11, 0.10, etc.) remove it, clean up
> kipi-plugins, libkexiv2 and digiKam, re-start autotools, re-compile and
> install all...

there may be older versions laying around, but thei're not used. I'll verify
my digikam-trunk compilation script to check if thei're in fact explicitly
linking against the local exiv2-svn.

regards,
--

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: unable to run digikam-svn

Pedro Venda-3
On Friday 02 March 2007 12:15:52 Gilles Caulier wrote:
> Warning the Exiv2 linking on digiKAm is not static but dynamic...

I understand, but I also have a script to run the svn version of digikam
which, between other tasks, changes LD_LIBRARY_PATH to prioritise
the /usr/local/digikam-trunk/lib which is where exiv2-svn is installed (as
shown below)

> Check on your system if you have more than one libexiv2.so file in your
> /usr/lib directory.

this test was made without even changing the LD_LIBRARY_PATH variable:

pjlv@archon /usr/local/digikam-trunk/bin $
ldd /usr/local/digikam-trunk/bin/digikam | grep -i exiv
        libkexiv2.so.0 => /usr/local/digikam-trunk/lib/libkexiv2.so.0
(0xb7419000)
        libexiv2-0.13.so => /usr/local/digikam-trunk/lib/libexiv2-0.13.so
(0xb7334000)
pjlv@archon /usr/local/digikam-trunk/bin $                    

about the check you suggested:

pjlv@archon /usr/local/digikam-trunk/bin $ ls -l /usr/lib/libexiv2*
-rwxr-xr-x 1 root root  966512 Dec 11 14:18 /usr/lib/libexiv2-0.12.so
-rw-r--r-- 1 root root 1795684 Dec 11 14:18 /usr/lib/libexiv2.a
-rw-r--r-- 1 root root     814 Dec 11 14:18 /usr/lib/libexiv2.la
lrwxrwxrwx 1 root root      16 Feb 24 17:10 /usr/lib/libexiv2.so ->
libexiv2-0.12.so
pjlv@archon /usr/local/digikam-trunk/bin $

Please note that I'm not excluding that you could be right, just that it
doesn't appear so.

any other tests you could suggest?
--

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: unable to run digikam-svn

Fabien-5
Hello,

Pedro Venda wrote:

> On Friday 02 March 2007 12:15:52 Gilles Caulier wrote:
>
>>Warning the Exiv2 linking on digiKAm is not static but dynamic...
>
>
> I understand, but I also have a script to run the svn version of digikam
> which, between other tasks, changes LD_LIBRARY_PATH to prioritise
> the /usr/local/digikam-trunk/lib which is where exiv2-svn is installed (as
> shown below)
>

Be careful, it's not so easy.
Check the mailing archives (this ml but also digikam-devel).

exiv2 is not only linked to digiKam, but also to libdigikam,
kipi-plugins and digiKam plugins.
Using LD_LIBRARY_PATH is *not* enough to be sure an old lib won't be
used by them if it's in standard paths...

--
Fabien

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: unable to run digikam-svn

Pedro Venda-3
In reply to this post by Pedro Venda-3
ok, stand by on this issue.

I've discovered that my build script is broken and that although exiv2 and
kipiplugins were being recompiled, digikam and digikamimageplugins weren't,
so I was using mixed binaries - hence the suggested linking problems.

I'll look into it and report back soon.

Thanks anyway,
--

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: unable to run digikam-svn

Pedro Venda-3
My apologies for wasting your time and thanks for all your help.

The build scripts (mine) were really messed up and everything went wrong.
A bigger cleanup and some minutes later, voilá! digikam-svn is alive once
more.

best regards,
--

Pedro João Lopes Venda
email: pjvenda at pjvenda org
http://www.pjvenda.org

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

attachment0 (196 bytes) Download Attachment