Bug 122510

Summary: digikam crashes after downloading images from the digital camera
Product: [Applications] digikam Reporter: Gleb Litvjak <blaster999>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 0.8.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0

Description Gleb Litvjak 2006-02-22 20:08:21 UTC
Version:           0.8.1 (using KDE 3.5.1, Gentoo)
Compiler:          gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (x86_64) release 2.6.15-gentoo-r5

I installed digikam today. Then I connected and mounted my camera and downloaded the photos to a temprorary album using digikam's Browse dialog. After that digikam crashed with signal 11. I restarted it, but it crashed upon startup. I moved the images from the album to another dir and launched digikam again. It launched fine. I imported the images from where I put them, and digikam didn't crash. I closed and relaunched it several times (just to test), and no crashes occured. As I have -fomit-frame-pointer in my CXXFLAGS, the output of KDE chrash handler won't be very useful, but here it is:
System configuration startup check disabled.

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x00002aaab009acf5 in nanosleep () from /lib/tls/libc.so.6
#0  0x00002aaab009acf5 in nanosleep () from /lib/tls/libc.so.6
#1  0x00002aaab009ab60 in sleep () from /lib/tls/libc.so.6
#2  0x00002aaaaccd5d4a in KCrash::startDrKonqi ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#3  0x00002aaaaccf9085 in KCrash::defaultCrashHandler ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#4  0x00002aaab003b7f0 in killpg () from /lib/tls/libc.so.6
#5  0x0000000000000000 in ?? ()


Just tried to reproduce and noticed that it only occures if I select multiple files. Single-file downloads work fine.

More info:
CFLAGS="-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays"
CXXFLAGS="-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
Comment 1 Gleb Litvjak 2006-02-22 21:03:11 UTC
I downgraded libexif to 0.5.12, created a symlink libexif.so.10 -> libexif.so.9.1.2 in /usr/lib and the problem is solved
Comment 2 caulier.gilles 2006-04-03 16:10:10 UTC
problem fixed. Closed.