[Digikam-devel] [digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]
via KDE Bugzilla
bugzilla_noreply at kde.org
Sun Jul 3 14:25:31 BST 2016
https://bugs.kde.org/show_bug.cgi?id=340389
--- Comment #36 from caulier.gilles at gmail.com ---
Maik,
Under Linux valgrind do not detect something wrong in algorithm :
[gilles at localhost dimg]$ valgrind ./testcolorbalancefilter DSC03947.JPG
==15283== Memcheck, a memory error detector
==15283== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==15283== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==15283== Command: ./testcolorbalancefilter DSC03947.JPG
==15283==
digikam.dimg: "DSC03947.JPG" : JPEG file identified
QCoreApplication::arguments: Please instantiate the QApplication object first
digikam.metaengine: Loading image history "<?xml version=\"1.0\"?>\n<history
version=\"1\">\n <file
uuid=\"21bf3c32a9a87b759fa52c43037812bfa4e40316b3cb6438b4e635231572e70d\"
type=\"original\">\n <fileParams
fileHash=\"a4e40316b3cb6438b4e635231572e70d\" fileSize=\"19267584\"
creationDate=\"2014-07-22T11:59:49\"/>\n </file>\n <filter
filterName=\"digikam:LocalContrastFilter\" filterDisplayName=\"Local Contrast
Filter\" filterVersion=\"2\" filterCategory=\"reproducible\">\n
<params>\n <param name=\"functionId\" value=\"0\"/>\n
<param name=\"highSaturation\" value=\"100\"/>\n <param
name=\"lowSaturation\" value=\"100\"/>\n <param name=\"randomSeed\"
value=\"2828613627\"/>\n <param name=\"stage[0]:blur\"
value=\"11\"/>\n <param name=\"stage[0]:enabled\" value=\"true\"/>\n
<param name=\"stage[0]:power\" value=\"30\"/>\n <param
name=\"stage[1]:enabled\" value=\"false\"/>\n <param
name=\"stage[2]:enabled\" value=\"false\"/>\n <param
name=\"stage[3]:enabled\" value=\"false\"/>\n <param
name=\"stretchContrast\" value=\"true\"/>\n </params>\n
</filter>\n</history>\n"
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
QDateTime(2014-07-22 11:59:49.000 EDT Qt::TimeSpec(LocalTime))
digikam.dimg: Saving to "DSC03947.out.png" with format: "PNG"
digikam.metaengine: MetaEngine::metadataWritingMode 0
digikam.metaengine: Will write Metadata to file
"/home/gilles/Devel/5.x/build/core/tests/dimg/DSC03947.out.png"
digikam.metaengine: wroteComment: true
digikam.metaengine: wroteEXIF: true
digikam.metaengine: wroteIPTC: true
digikam.metaengine: wroteXMP: true
==15283== Syscall param msync(start) points to uninitialised byte(s)
==15283== at 0x8C8938D: ??? (in /usr/lib64/libpthread-2.22.so)
==15283== by 0xBBF5C08: Exiv2::MemIo::~MemIo() (basicio.cpp:1177)
==15283== by 0xBC3A3E3: Exiv2::ExifParser::encode(std::vector<unsigned char,
std::allocator<unsigned char> >&, unsigned char const*, unsigned int,
Exiv2::ByteOrder, Exiv2::ExifData const&) (exif.cpp:708)
==15283== by 0xBC71D62: encode (exif.hpp:624)
==15283== by 0xBC71D62: Exiv2::PngImage::doWriteMetadata(Exiv2::BasicIo&)
(pngimage.cpp:376)
==15283== by 0xBC72B78: Exiv2::PngImage::writeMetadata() (pngimage.cpp:295)
==15283== by 0x5267F8B:
Digikam::MetaEngine::Private::saveOperations(QFileInfo const&,
std::auto_ptr<Exiv2::Image>) const (metaengine_p.cpp:348)
==15283== by 0x5266987: Digikam::MetaEngine::Private::saveToFile(QFileInfo
const&) const (metaengine_p.cpp:191)
==15283== by 0x52616EC: Digikam::MetaEngine::save(QString const&) const
(metaengine.cpp:419)
==15283== by 0x5261C9C: Digikam::MetaEngine::applyChanges() const
(metaengine.cpp:449)
==15283== by 0x529BC96: Digikam::DMetadata::applyChanges() const
(dmetadata.cpp:120)
==15283== by 0x50AE161: Digikam::DImgLoader::saveMetadata(QString const&)
(dimgloader.cpp:285)
==15283== by 0x50B3670: Digikam::PNGLoader::save(QString const&,
Digikam::DImgLoaderObserver*) (pngloader.cpp:949)
==15283== Address 0x36781ab2 is 34 bytes inside a block of size 40 alloc'd
==15283== at 0x4C28586: operator new(unsigned long)
(vg_replace_malloc.c:334)
==15283== by 0xBBF5ACE: Exiv2::MemIo::MemIo() (basicio.cpp:1165)
==15283== by 0xBC39054: Exiv2::ExifParser::encode(std::vector<unsigned char,
std::allocator<unsigned char> >&, unsigned char const*, unsigned int,
Exiv2::ByteOrder, Exiv2::ExifData const&) (exif.cpp:708)
==15283== by 0xBC71D62: encode (exif.hpp:624)
==15283== by 0xBC71D62: Exiv2::PngImage::doWriteMetadata(Exiv2::BasicIo&)
(pngimage.cpp:376)
==15283== by 0xBC72B78: Exiv2::PngImage::writeMetadata() (pngimage.cpp:295)
==15283== by 0x5267F8B:
Digikam::MetaEngine::Private::saveOperations(QFileInfo const&,
std::auto_ptr<Exiv2::Image>) const (metaengine_p.cpp:348)
==15283== by 0x5266987: Digikam::MetaEngine::Private::saveToFile(QFileInfo
const&) const (metaengine_p.cpp:191)
==15283== by 0x52616EC: Digikam::MetaEngine::save(QString const&) const
(metaengine.cpp:419)
==15283== by 0x5261C9C: Digikam::MetaEngine::applyChanges() const
(metaengine.cpp:449)
==15283== by 0x529BC96: Digikam::DMetadata::applyChanges() const
(dmetadata.cpp:120)
==15283== by 0x50AE161: Digikam::DImgLoader::saveMetadata(QString const&)
(dimgloader.cpp:285)
==15283== by 0x50B3670: Digikam::PNGLoader::save(QString const&,
Digikam::DImgLoaderObserver*) (pngloader.cpp:949)
==15283==
digikam.metaengine: Metadata for file "DSC03947.out.png" written to file.
==15283==
==15283== HEAP SUMMARY:
==15283== in use at exit: 248,891 bytes in 1,952 blocks
==15283== total heap usage: 32,538 allocs, 30,586 frees, 367,609,624 bytes
allocated
==15283==
==15283== LEAK SUMMARY:
==15283== definitely lost: 5,696 bytes in 701 blocks
==15283== indirectly lost: 496 bytes in 11 blocks
==15283== possibly lost: 1,352 bytes in 18 blocks
==15283== still reachable: 241,347 bytes in 1,222 blocks
==15283== of which reachable via heuristic:
==15283== newarray : 1,536 bytes in 16 blocks
==15283== suppressed: 0 bytes in 0 blocks
==15283== Rerun with --leak-check=full to see details of leaked memory
==15283==
==15283== For counts of detected and suppressed errors, rerun with: -v
==15283== Use --track-origins=yes to see where uninitialised values come from
==15283== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
[gilles at localhost dimg]$
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list