Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libjpegturbo broken in wms request #661

Closed
jeichhor opened this issue Jun 17, 2024 · 1 comment
Closed

libjpegturbo broken in wms request #661

jeichhor opened this issue Jun 17, 2024 · 1 comment

Comments

@jeichhor
Copy link

What is the bug or the crash?

for wms services requesting format=image/jpeg we get the exception below, where the same wms requesting using format=image/png works well.

17 Jun 13:46:37 ERROR [geoserver.ows] -
java.lang.UnsatisfiedLinkError: 'int org.libjpegturbo.turbojpeg.TJCompressor.compress(byte[], int, int, int, int, byte[], int, int, int)'
at org.libjpegturbo.turbojpeg.TJCompressor.compress(Native Method)
at org.libjpegturbo.turbojpeg.TJCompressor.compress(TJCompressor.java:146)
at org.libjpegturbo.turbojpeg.TJCompressor.compress(TJCompressor.java:164)
at it.geosolutions.imageio.plugins.turbojpeg.TurboJpegImageWriter.write(TurboJpegImageWriter.java:201)
at org.geoserver.map.turbojpeg.TurboJpegImageWorker.writeTurboJPEG(TurboJpegImageWorker.java:126)
at org.geoserver.map.turbojpeg.TurboJPEGMapResponse.formatImageOutputStream(TurboJPEGMapResponse.java:99)
at org.geoserver.wms.map.RenderedImageMapResponse.write(RenderedImageMapResponse.java:110)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1034)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:273)

Steps to reproduce the issue

requesting getmap for any layer on service wms

https://localhost:8080/geoserver/myworkspace/wms&
service=WMS&version=1.1.0&
request=GetMap&
layers=myworkspace%3Amylayer&
bbox=1455503.0391517137%2C6859835.971709719%2C1533106.2691529484%2C6924644.634147592&
width=768&height=641&srs=EPSG%3A3857&styles=&
format=image/jpeg

Versions

occurs on
kartoza/geoserver:2.25.1

Additional context

seems to be a regression to 2.23 where we can not reproduce.

https://osgeo-org.atlassian.net/browse/GEOS-11417

@jeichhor
Copy link
Author

already mentionid in #653

@jeichhor jeichhor closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant