[Digikam-users] Digikam Crash when changing metadata (rotating, assigning flags or keywords)

Alan Pater alan.pater at gmail.com
Thu Sep 10 17:47:39 BST 2015


The fix is simply to add a couple of overlooked lines to makernote.cpp

            { "-",              casioId,     0,              newIfdMn2       },
            { "-",              casio2Id,    0,              newCasio2Mn2    }

http://dev.exiv2.org/projects/exiv2/repository/entry/trunk/src/makernote.cpp#L73

On Thu, Sep 10, 2015 at 10:58 AM, Philip Johnsson
<philip.johnsson at gmail.com> wrote:
> Styx,
>
> Most likely when it comes to your troublesome Casio pictures. Or that there
> is a relevant patch for the exiv2 0.25 source tree that makes exiv2 0.25
> binary compatible with it. Then an update of exiv2 package with the patch or
> rebuild of it buy yourself. Not sure if the Casio timestamp bug is what
> makes your crash but if it is then it's an easy patch. If you investigate if
> that's so and not just for test and see then get back to me and I can update
> exiv2 with that patch on my PPA.
>
> /Philip
>
>
> On Thu, Sep 10, 2015 at 3:33 PM, <styx at ewetel.net> wrote:
>>
>> Hey Alan,
>>
>> thank you very much for the info! It saves me from spending even more time
>> investigating a problem I can’t solve. Just a quick question: Does this also
>> mean I have to wait until April 2016 (exiv2 0.26 release date) to work with
>> my pictures in Digikam?
>>
>>
>> Zitat von Alan Pater <alan.pater at gmail.com>:
>>
>>
>>> There is a bug related to Casio files in the exiv2 library, which is
>>> what digikam uses to read and manipulate image metadata.
>>>
>>> http://dev.exiv2.org/issues/1106
>>>
>>> It was fixed and will be in the next version of the exiv2.
>>>
>>> On Thu, Sep 10, 2015 at 4:09 AM,  <styx at ewetel.net> wrote:
>>>>
>>>> Hello again!
>>>>
>>>> I’m replying to my own post, because I further downtraced my problem,
>>>> which
>>>> is becoming increasingly strange (to me at least), yet my new
>>>> observations
>>>> might shade some light on it:
>>>>
>>>> I have to correct my previous thought about the crash/non-crash issue
>>>> due to
>>>> internal harddisk/external usb harddisk: It seems that this is not the
>>>> issue
>>>> – I only thought so, because it overlapped (to huge extent) with another
>>>> attribute, which is the camera model used to take the picture. A large
>>>> portion of my pictures is shot with a Casio EX-Z80, which causes
>>>> crashes. I
>>>> then went through my collection to find pictures sent by friends, who
>>>> used
>>>> different cameras, to find out which pictures cause crashes and which do
>>>> not. (I always tested rotating a picture) Here’s a list:
>>>>
>>>> Pictures of these cameras cause crashes:
>>>>
>>>> Casio EX-Z80
>>>> Casio EX-Z21
>>>> Casio EX-Z1
>>>> Casio EX-Z550
>>>>
>>>>
>>>> Pictures of these cameras are fine:
>>>>
>>>> Sony DSC-RX100
>>>> Canon EOS 600D
>>>> Canon EOS 400D
>>>> Canon EOS 6D
>>>> Canon Powershot A480
>>>> Canon Digital IXUS 950 IS
>>>> Nikon D90
>>>> Nikon Coolpix S3100
>>>> Nikon Coolpix S220
>>>> Olympus C300Z
>>>> Olympus E-400
>>>> Panasonic DMC-FS3
>>>> Panasonic DMC-TZ41
>>>> Rollei Powerflex 210 HD
>>>> Apple iPhone 4
>>>> Apple iPhone 5
>>>> Samsung L730
>>>> HTC One Mini
>>>>
>>>>
>>>> I have no idea, what the issue is, but it also seems that the
>>>> information in
>>>> the "Orientation Tag" does not really work for the EX-Z80, because it
>>>> always
>>>> shows 'top left', even for pictures that were obviously taken upright.
>>>> And
>>>> it’s also striking, that this obviously affects only the Casio models.
>>>> (I
>>>> tried to find other Casio models in my collection, but couldn’t find
>>>> any.)
>>>>
>>>> Does this information help?
>>>>
>>>> Many thanks!
>>>>
>>>>
>>>> Zitat von tobias.luebben at ewetel.net:
>>>>
>>>>
>>>>> Hi Philip,
>>>>>
>>>>> damn – I was just writing an answer to the two previous posts! But now,
>>>>> I
>>>>> can skip that: Thank you Gilles and Gian Paolo! Thanks to your remarks
>>>>> I
>>>>> stumpled upon this blog post and the comments:
>>>>> https://www.digikam.org/node/719
>>>>>
>>>>> I checked yesterday and Digikam used "LibExiv2: 0.25". Since the
>>>>> crashes
>>>>> still happened (and I was on KDE 4.13 (not using Kubuntu backports) and
>>>>> only
>>>>> using Philips "extra" ppa), I thought: Maybe by updating/upgrading
>>>>> 'everything', all the package issues will be solved: so I added the
>>>>> Kubuntu
>>>>> backports PPA as well as your (Philips) "kubuntu-backports" ppa. So I
>>>>> now
>>>>> have all three ppa’s loaded. Unfortunately, the issue still remains.
>>>>>
>>>>> I now have the (Philips) "kubuntu-backports" PPA version of DigiKam
>>>>> installed  (4:4.13.0-trusty~ppa1kde414). However, I still get crashes
>>>>> when
>>>>> trying to rotate a picture that is on my external harddisk. Strangely,
>>>>> I can
>>>>> rotate pictures on my laptop’s internal harddrive. (I wonder why that
>>>>> is?)
>>>>>
>>>>> Attached is another gdb-report done with my current setup. I kinda get
>>>>> the
>>>>> impression that something with packages is now messed up due to all the
>>>>> different package installing in the last 2 days....
>>>>>
>>>>> Anyways, thanks so much for your help!
>>>>>
>>>>>
>>>>>
>>>>> Zitat von Philip Johnsson <philip.johnsson at gmail.com>:
>>>>>
>>>>>> Hi styx
>>>>>>
>>>>>> When you use my PPA with Digikam on Kubuntu 14.04 it's important that
>>>>>> you
>>>>>> check which version of KDE you are using. If you use KDE 4.14 you also
>>>>>> need
>>>>>> to add my "kubuntu-backports" PPA with rebuilds of Digikam against the
>>>>>> updated KDE version for Kubuntu 14.04. You will still need my "extra"
>>>>>> PPA
>>>>>> that have updated dependency packages that Digikam will need. If you
>>>>>> use
>>>>>> KDE 4.13 then you only need my "extra" PPA.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Philip
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 8, 2015 at 12:29 PM, <styx at ewetel.net> wrote:
>>>>>>
>>>>>>> Hello!
>>>>>>>
>>>>>>> I’m new to the list, so forgive me, if this is not the right place to
>>>>>>> ask
>>>>>>> the question. ;-)
>>>>>>>
>>>>>>> I’m on Kubuntu 14.04 (DigiKam 3.5) and I have a strange behavior: I
>>>>>>> can’t
>>>>>>> do anything with the pictures, but watch them. Every time I try to
>>>>>>> rotate a
>>>>>>> picture or assign a keyword or a flag, DigiKam immediately crashes. I
>>>>>>> attached one of the KCrash reports, but KCrash says, that the
>>>>>>> collected
>>>>>>> information is useless.
>>>>>>>
>>>>>>> I had this PPA (https://launchpad.net/~philip5/+archive/ubuntu/extra)
>>>>>>> added (DigiKam 4.12), but removed it again after experiencing the
>>>>>>> problem
>>>>>>> with the crasing DigiKam. However, the crashes also occur in the
>>>>>>> Ubuntu
>>>>>>> 14.04 repository version (v 3.5). Has anybody had or still have the
>>>>>>> same
>>>>>>> problem? Could it be related to some packages that were installed due
>>>>>>> to
>>>>>>> the newer version of DigiKam in the PPA and don’t behave well with
>>>>>>> other
>>>>>>> packages in Ubuntu 14.04?
>>>>>>>
>>>>>>> Some hint would be very appreciated. Thank you very much!
>>>>>>>
>>>>>>> - styx
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Digikam-users mailing list
>>>>>>> Digikam-users at kde.org
>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>
>>>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Digikam-users mailing list
>>>> Digikam-users at kde.org
>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>
>>> _______________________________________________
>>> Digikam-users mailing list
>>> Digikam-users at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>>
>>
>>
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>



More information about the Digikam-users mailing list