[Digikam-devel] [Bug 134391] Digikam camera gui dialog crashes if there is a filename without extension

Josep Febrer josep at idomenorca.com
Thu Nov 30 13:03:44 GMT 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134391         




------- Additional Comments From josep idomenorca com  2006-11-30 14:03 -------
Hi,

I just recompiled digikam 0.9-rc1 with --enable-debug=full and I think that I know why Digikam crashes.
It seems that when Digikam finds a filename without extension thinks that it is a RAW image and try to run digikamdcraw and it crashes.

So, I inserted the SD card from the digital camera to the card reader and on a console I run this commands:

pmount-hal /dev/sdc1 (which mounts the card on /media/SD-1G)
/usr/share/apps/digikam/utils/digikam-camera storage /media/SD-1G

And this is the output that it shows on the console:

digikam: /media/SD-1G//IMG_1340.JPG : JPEG file identified
digikam: Cannot load metadata using Exiv2 (/media/SD-1G//IMG_1340: The file contains data of an unknown image type)
digikam: Running dcraw command dcraw -c -e '/media/SD-1G//IMG_1340'
/media/SD-1G//IMG_1340 has no thumbnail.
digikam: Running dcraw command dcraw -c -h -w -a '/media/SD-1G//IMG_1340'
Cannot decode /media/SD-1G//IMG_1340
digikam: /media/SD-1G//IMG_1340 : RAW file identified
digikam: Cannot load metadata using Exiv2 (/media/SD-1G//IMG_1340: The file contains data of an unknown image type)
KCrash: Application 'digikam' crashing...
digikam: Running dcraw command (digikamdcraw,-c,-w,-a,-H,0,-b,1,-q,0,-o,1,/media/SD-1G//IMG_1340)
QSocketNotifier: Multiple socket notifiers for same socket 4 and type read
Temporitzador


IMG_1340.JPG and IMG_1340 are the same which I copied on the root folder from the SD card and just deleted the filename extension on IMG_1340.
If I run the command:

file /media/SD-1G/IMG_1340*

/media/SD-1G/IMG_1340.JPG: JPEG image data, EXIF standard 2.2
/media/SD-1G/IMG_1340: JPEG image data, EXIF standard 2.2


Thanks.



More information about the Digikam-devel mailing list