You are not logged in.

#1 2011-08-03 07:36:48

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,671

[SOLVED] Digikam 2.0 crashes importing from camera

Since upgrading to 2.0, digikam crashes every time I attempt to download images -- in fact, it crashes any time it tries to access a camera.

Import -> Cameras -> Add camera manually  -> Auto-detect causes a crash.

It sounds like this bug https://bugs.kde.org/show_bug.cgi?id=268267 which was "fixed" by forcing libusb as a dependency

Offline

#2 2011-08-03 08:25:17

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Digikam 2.0 crashes importing from camera


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-08-07 11:06:59

RobF
Member
Registered: 2006-10-10
Posts: 157

Re: [SOLVED] Digikam 2.0 crashes importing from camera

Same problem here.

I.e., after upgrading digiKam from v.1.9.0-1 to v.1.9.0-2 a week ago, and still with the current v.2.0.0-2, whenever I connect my Canon PowerShot A2000 IS camera through the USB cable and in KDE's Device Notifier choose "Download Photos with digiKam", digiKam will begin to launch but then crashes with a segmentation fault. 

It can be restarted from the KDE crash dialog by clicking on "restart application."  It will then launch fully, but only to its default interface, not to the interface that allows images to be downloaded directly from the camera via USB.  That interface cannot be accessed.  However, the images on the camera's SDHC card can be downloaded normally with digiKam (via that interface) if I read from the card directly by inserting it in the card reader slot of my laptop.

I can work around this problem if I force libusb to be initialized at startup of digiKam:
$ LD_PRELOAD=/usr/lib/libusb.so digikam

This is undoubtedly the same bug as the one skunktrader linked to:
https://bugs.kde.org/show_bug.cgi?id=268267

The problem seems to be an incorrect link order: libusb should be linked before libdc1394.

Offline

#4 2011-08-12 20:33:12

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 893

Re: [SOLVED] Digikam 2.0 crashes importing from camera

Same problem for me. Fortunately, the LD_PRELOAD workaround suggested by RobF works...

Offline

#5 2011-08-15 18:30:16

clearloon
Member
Registered: 2009-01-07
Posts: 79

Re: [SOLVED] Digikam 2.0 crashes importing from camera

Just to "me too" this - same issue, and RobF's workaround works.

Offline

#6 2011-08-31 18:04:02

Tondu
Member
From: Göttingen
Registered: 2009-08-11
Posts: 22

Re: [SOLVED] Digikam 2.0 crashes importing from camera

Any news from this bug ? The workaround is working of course but this bug has been marked as "SOLVED" on bugs.kde.org.

Offline

#7 2011-09-11 14:25:38

mren
Member
Registered: 2011-09-10
Posts: 8

Re: [SOLVED] Digikam 2.0 crashes importing from camera

The problem still exists in digikam 2.1.0-1.

Offline

#8 2011-09-14 19:12:24

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: [SOLVED] Digikam 2.0 crashes importing from camera

This has been fixed with libdc1394
https://bugs.archlinux.org/task/25652

Offline

Board footer

Powered by FluxBB