Summary: | Batch conversion from png to jp2 fails to process random images | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | scpketer |
Component: | Plugin-Bqm-Convert | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version First Reported In: | 6.4.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.6.0 | |
Sentry Crash Report: | |||
Attachments: | Debug trace |
Description
scpketer
2020-04-25 08:16:18 UTC
start digiKam from a console following note from this page : https://www.digikam.org/contribute/ ... and report the debug trace here. Gilles Caulier Created attachment 127855 [details]
Debug trace
I don't see an error in the log? Could you please give the image name that failed? Maik The libjasper in your distribution is patched. The problem with the outdated libjasper is well known. -------------------- Invalid use of jas_stream_memopen detected. WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALTIY IN THE JASPER LIBRARY. THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING! The specific problem is as follows: A user-provided buffer for jas_stream_memopen cannot be growable. -------------------- From time to time the jas_image_encode() then fails to recognize the output format passed. I suspect the patch of your distribution is the problem. Can you reproduce the problem with the AppImage from www.digikam.org? Maik Maik, Jasper library will be banned by all Linux distributions because it's not maintained and full of security holes. We must port JPEG2000 plugin to OpenJPEG library. Gilles Maik, The libjasper development is back and fix all main bugs in library using static analysers and ASan+Unit-tests. A new version is out just in time with the 7.0.0 release. Gilles digiKam 7.0.0 stable release is now published: https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/ We need a fresh feedback on this file using this version. Thanks in advance Gilles Caulier Hi, Please give us a fresh feedback about this entry using current digiKam 7.5.0 pre release AppImage bundle avaialable here : https://files.kde.org/digikam/ Thanks in advance Gilles Caulier Regarding commen #4 from Maik, it soud like an UPSTREAM problem. |