Bug 175650 - Crash at startup
Summary: Crash at startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-20 12:46 UTC by Michael
Modified: 2018-02-04 11:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2008-11-20 12:46:23 UTC
Version:           0.10 latest svn (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

So I changed the Phonen backend to xine and that problems are gone now... but still the new svn version of digikam doesn't start...

greets, mike


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7feb6f3ff6f0 (LWP 7136)]     
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007feb6b3f20e1 in KIPI::Interface::hasFeature (this=0x7125100,
    feature=KIPI::ImagesHasTime) at /src/digikam/kdegraphics/libs/libkipi/libkipi/interface.cpp:73
#2  0x00007feb6b3f2588 in KIPI::Interface::hasFeature (this=0x7125100, feature=@0x73bc7a8)
    at /src/digikam/kdegraphics/libs/libkipi/libkipi/interface.cpp:87
#3  0x00007feb6b3ef042 in PluginLoader (this=0x4e2d6d0, ignores=@0x7fff7744adf0,
    interface=0x7125100) at /src/digikam/kdegraphics/libs/libkipi/libkipi/pluginloader.cpp:233
#4  0x0000000000634ada in Digikam::DigikamApp::loadPlugins (this=0x2015530)
    at /src/digikam/graphics/digikam/digikam/digikamapp.cpp:2047
#5  0x000000000064ecca in DigikamApp (this=0x2015530)
    at /src/digikam/graphics/digikam/digikam/digikamapp.cpp:220
#6  0x000000000068c398 in main (argc=1, argv=0x7fff7744b858)
    at /src/digikam/graphics/digikam/digikam/main.cpp:162
(gdb) continue
Continuing.
KCrash: Application 'digikam' crashing...
sock_file=/home/m/.kde/socket-ubuntu/kdeinit4__0

Program received signal SIGCONT, Continued.
0x00007feb63fdd621 in nanosleep () from /lib/libc.so.6
(gdb)  bt
#0  0x00007feb63fdd621 in nanosleep () from /lib/libc.so.6
#1  0x00007feb63fdd447 in sleep () from /lib/libc.so.6
#2  0x00007feb6e62298f in ?? () from /usr/lib/libkdeui.so.5
#3  0x00007feb6e6232ca in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#4  <signal handler called>
#5  0x0000000000000000 in ?? ()
#6  0x00007feb6b3f20e1 in KIPI::Interface::hasFeature (this=0x7125100,
    feature=KIPI::ImagesHasTime) at /src/digikam/kdegraphics/libs/libkipi/libkipi/interface.cpp:73
#7  0x00007feb6b3f2588 in KIPI::Interface::hasFeature (this=0x7125100, feature=@0x73bc7a8)
    at /src/digikam/kdegraphics/libs/libkipi/libkipi/interface.cpp:87
#8  0x00007feb6b3ef042 in PluginLoader (this=0x4e2d6d0, ignores=@0x7fff7744adf0,
    interface=0x7125100) at /src/digikam/kdegraphics/libs/libkipi/libkipi/pluginloader.cpp:233
#9  0x0000000000634ada in Digikam::DigikamApp::loadPlugins (this=0x2015530)
    at /src/digikam/graphics/digikam/digikam/digikamapp.cpp:2047
#10 0x000000000064ecca in DigikamApp (this=0x2015530)
    at /src/digikam/graphics/digikam/digikam/digikamapp.cpp:220
#11 0x000000000068c398 in main (argc=1, argv=0x7fff7744b858)
    at /src/digikam/graphics/digikam/digikam/main.cpp:162
(gdb) continue
Continuing.

Program exited with code 0375.
(gdb) quit
Comment 1 caulier.gilles 2008-11-20 12:51:19 UTC
Sound like a binary compatibility problem with a shared library. Are you compiled digiKam yourself ?

Gilles Caulier
Comment 2 Michael 2008-11-20 13:02:47 UTC
yes I did. Is there a way of getting the latest svn version without compiling on your own?

greets, mike
Comment 3 caulier.gilles 2008-11-20 13:11:04 UTC
No. and compiling al yourself is the better way. But are you compiled all shared libraries (libkdcraw, libkexiv2 and libkipi) from trunk ?

Gilles Caulier
Comment 4 Michael 2008-11-20 13:15:06 UTC
Yes I did, here is the script I use, after fetching everything from trunk:

cd digikam
cd kdegraphics
export QTDIR=/usr/lib/qt4/
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib/kde4/lib/
export PKG_CONFIG_PATH=/usr/lib/kde4/lib/pkgconfig
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
make -j4
echo $password|sudo -S make install
cd ..
cd graphics
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/opt/digikam .
make -j4
echo $password|sudo -S make install

greets mike
Comment 5 caulier.gilles 2008-11-20 13:22:33 UTC
Well, i don't know what is wrong on your computer. it's not reproductible here (i have more than one computer to test).

Sound like you have more than one instance of these shared lib, but i'm not sure...

Gilles Caulier

Comment 6 Michael 2008-11-20 21:32:27 UTC
Thanks, you were right.

greets, mike.