[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-31 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=400436

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||6.0.0
 Status|REPORTED|RESOLVED

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-31 Thread Patrick Roye
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #11 from Patrick Roye  ---
The new installer did successfully fix the crash for me. I have retested
changing tags, exporting JPEG files, and opening the metadata editor on the
pictures in my collection. Everything is working correctly now.

Thank you so much for your diligence in fixing this bug!

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-31 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #10 from caulier.gil...@gmail.com ---
I uploaded a new Windows installer build with last code from Exiv2 0.27 :

https://files.kde.org/digikam/

Please try to see if crash still exist.

Thanks in advance

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #9 from caulier.gil...@gmail.com ---
Under Linux the new test unit to patch you image with your tag pass fine :

[gilles@localhost metadataengine]$ ./applytagstest
* Start testing of ApplyTagsTest *
Config: Using QtTest library 5.9.4, Qt 5.9.4 (x86_64-little_endian-lp64 shared
(dynamic) release build; by GCC 5.4.0)
PASS   : ApplyTagsTest::initTestCase()
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() File to process:
"/mnt/data/6.x/core/tests/metadataengine/data/2015-07-22_1.JPG"
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() Temporary target file:
"/tmp/digikam-applytagstest-8700/2015-07-22_1.jpg"
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.general: Does not
contain  "Comment"  Namespace
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine: Loading
default values 
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine: xmlACDSee
"nature"
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine:
"/tmp/digikam-applytagstest-8700/2015-07-22_1.jpg"  ==> New Iptc Keywords: 
("nature")
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine:
MetaEngine::metadataWritingMode 0
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine: Will
write Metadata to file "/tmp/digikam-applytagstest-8700/2015-07-22_1.jpg"
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine:
wroteComment:  true
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine:
wroteEXIF:  true
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine:
wroteIPTC:  true
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine: wroteXMP:
 true
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine: Exiv2 ( 2
) :  Exif tag Exif.Sony1.0x0010 not encoded

QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine: Exiv2 ( 2
) :  Exif tag Exif.Sony1.0x0020 not encoded

QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine: Exiv2 ( 2
) :  Exif tag Exif.Sony1.PreviewImage not encoded

QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine: Metadata
for file "2015-07-22_1.jpg" written to file.
QDEBUG : ApplyTagsTest::testApplyTagsToMetadata() digikam.metaengine: XMP
String Seq ( Xmp.digiKam.TagsList ):  ("nature")
PASS   : ApplyTagsTest::testApplyTagsToMetadata()
PASS   : ApplyTagsTest::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 42ms
* Finished testing of ApplyTagsTest *

I use the default metadata settings, which can be different than your. So i
wait you details.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #8 from caulier.gil...@gmail.com ---
Git commit 66b1ec8533b084ce49e4f4ea404bd423aacb0b1f by Gilles Caulier.
Committed on 30/10/2018 at 08:46.
Pushed by cgilles into branch 'master'.

new ApplyTagsTest unit test to write tag paths to image

M  +35   -57   core/tests/metadataengine/CMakeLists.txt
C  +30   -44   core/tests/metadataengine/applytagstest.cpp [from:
core/tests/metadataengine/patchpreviewtest.cpp - 050% similarity]
A  +47   -0core/tests/metadataengine/applytagstest.h [License: GPL
(v2+)]
A  +---core/tests/metadataengine/data/2015-07-22_1.JPG
M  +3-1core/tests/metadataengine/patchpreviewtest.cpp

https://commits.kde.org/digikam/66b1ec8533b084ce49e4f4ea404bd423aacb0b1f

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #7 from caulier.gil...@gmail.com ---
I need to know more information about your tag use when you apply it to image.

1/ did you use XMP sidecar ?
2/ which Metadata settings do you use exactly from DK Setup config panel
(especially the Advanced view) ?
3/ What do you seen in debugview tool as debug trace (not debugger backtrace)
from Microsoft when you apply tag on image ?

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-29 Thread Patrick Roye
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #6 from Patrick Roye  ---
Comment on attachment 115963
  --> https://bugs.kde.org/attachment.cgi?id=115963
Crash Log from opening metadata editor

I was going to try to debug further by editing the metadata manually. But when
I try to open the metadata editor, it crashes. Log file attached.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-29 Thread Patrick Roye
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #5 from Patrick Roye  ---
Created attachment 115963
  --> https://bugs.kde.org/attachment.cgi?id=115963=edit
Crash Log from opening metadata editor

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-29 Thread Patrick Roye
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #4 from Patrick Roye  ---
I was testing by trying to add the tag "nature" to the image. I think the
problem isn't the tag I'm trying to add, but rather the metadata already in the
file. If I create a new JPEG file in paint, then import it into digiKam,
everything works fine. But if I use one of the JPEG files from my camera, I get
the crash. I can also test this just by opening the photo and trying to export
it to another JPEG file.

Just for one additional data point, I can successfully export my photo to a
bitmap, then export the bitmap to a JPEG with the original metadata removed.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #3 from caulier.gil...@gmail.com ---
Ok, now i want to know which king of complete tag path you need to apply on
image, as "World/city/Paris" for ex.

It's important, especially if you apply non-latin1 characters?

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-29 Thread Patrick Roye
https://bugs.kde.org/show_bug.cgi?id=400436

--- Comment #2 from Patrick Roye  ---
https://drive.google.com/file/d/1-SZKpMos0YbGDxDB8TIGWC7SszwZDKoa/view?usp=sharing

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 400436] Crash when saving jpeg files with metadata

2018-10-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=400436

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||caulier.gil...@gmail.com

--- Comment #1 from caulier.gil...@gmail.com ---
It's clear. crash in Exiv2 library.

Can you share an image (original not modified) to try to reproduce the problem
here ? Use cloud storage to share file.

Thanks in advance

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.