After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794015 - jasper loader: jasper deprecation warnings on file load
jasper loader: jasper deprecation warnings on file load
Status: RESOLVED OBSOLETE
Product: gdk-pixbuf
Classification: Platform
Component: loaders
unspecified
Other Windows
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2018-03-03 12:29 UTC by Christoph Reiter (lazka)
Modified: 2018-05-22 13:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (898 bytes, text/plain)
2018-03-03 12:29 UTC, Christoph Reiter (lazka)
Details

Description Christoph Reiter (lazka) 2018-03-03 12:29:37 UTC
Created attachment 369219 [details]
testcase

The jasper loader leads to a deprecation warning each time a jpeg2000 file is loaded:

$ python3 gdk-pixbuf-jasper.py
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:
negative buffer size for jas_stream_memopen
Comment 1 Jan Tojnar 2018-04-25 15:34:44 UTC
I am getting lot of these warnings when running installed tests.
Comment 2 Christoph Reiter (lazka) 2018-04-25 15:41:24 UTC
For some context, the above is under Windows/MSYS2.

But it seems most Linux distros have switched to openjpeg now and no longer ship jasper, so it's probably best to look into porting jpeg2000 support to openjpeg.
Comment 3 GNOME Infrastructure Team 2018-05-22 13:25:28 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/73.