[Digikam-users] digikam segfaulting...

Tamas Hauer thauer at bluewin.ch
Mon Oct 31 20:16:43 GMT 2005

Hi all,

Digikam is just *fantastic*, and I have gotten addicted, which is why I
am going crazy for about a week or so.  Any help would be very much

I am running:

I have been running off svn for some time but have migrated to the
gentoo unstable ebuilds.  I am running on gentoo with KDE 3.4.3

At some point digikam stopped working and I have not been able to revive
it for more than a week.  It surely happened upon some of my regular
package updates or maybe I have screwed up something in my system, I
really do not know, except that I have no other problem with my
computer, everything works just fine ... except digikam :-(.

Here is what happens.  Digikam can't seem to be able to deal with new
images.  I have a collection of albums with the corresponding DB and as
long as I start digikam with the collection it used to know before going
ill, it seems to work allright.  If I try to add images, it crashes.  If
I start digikam with a clean system (no digikamrc, no
.kde/share/apps/digikam, no database, with a sample directory of one or
two jpgs), it crashes.  It crashes with a Segmentation fault.  Can't see
any more information.  If I start with a clean system, there is a
leftover digikam3.db and a digikam3.db-journal. 

(I am running a similar system at work, everything works without a
problem (duh).  I am really getting desperate and would love to have
some pointers as to how I could find what the core of the error might be. )

I can show you where the SIGSEGV is (from strace), see below.  After
finding all the files in the directory, it seems to open the first one
and soon after that it dies.

Thanks a *lot* for any advice,


{st_mode=S_IFDIR|0755, st_size=4096, ...})
 = 0
{st_mode=S_IFDIR|0755, st_size=4096, ...}
) = 0
{st_mode=S_IFREG|0644, st_size=
1862087, ...}) = 0
{st_mode=S_IFREG|0644, st_size=
1713725, ...}) = 0
getdents64(13, /* 0 entries */, 4096)   = 0
close(13)                               = 0
gettimeofday({1130787287, 91763}, NULL) = 0
write(3, ";\3\5\0&\0`\3\0\0\0\0\0\0\0\0\1\1\33\0;\3\5\0\'\0`\3\0"...,
3124) = 3124
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1130787287, 92506}, NULL) = 0
select(10, [3 4 5 7 9], [], [], {0, 0}) = 0 (Timeout)
gettimeofday({1130787287, 92676}, NULL) = 0
open("/home/thauer/Desktop/photos/digikam/album/img_0017.jpg", O_RDONLY)
= 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=1713725, ...}) = 0
0) = 0xb70ae000
read(13, "\377\330\377\341%\376Exif\0\0II*\0\10\0\0\0\t\0\17\1\2"...,
4096) = 4096
_llseek(13, 0, [0], SEEK_SET)           = 0
read(13, "\377\330\377\341%\376Exif\0\0II*\0\10\0\0\0\t\0\17\1\2"...,
4096) = 4096
read(13, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
read(13, "J\235\"\274\373\r\273m\247a\222j\266AcT\200,\215\236q\201"...,
4096) = 4096
brk(0x82c2000)                          = 0x82c2000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

More information about the Digikam-users mailing list