Anonymous | Login | Signup for a new account | 2021-01-18 13:43 CET | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0000772 | YaCy | [All Projects] General | public | 2017-10-19 08:45 | 2019-07-28 08:38 | ||||||||
Reporter | luc | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
ETA | none | ||||||||||||
Platform | OS | Linux Debian | OS Version | Stretch | |||||||||
Product Version | YaCy 1.9 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0000772: Error rezising JPEG snapshot resizing with OpenJDK | ||||||||||||
Description | Calling the /api/snapshot.jpg with image size parameters different from defaults (width=1024&height=1204) results in a HTTP 500 error on a YaCy peer running on OpenJDK 8 on a Linux Debian 9 machine. It does not occur when running with the Oracle JDK on the same computer. | ||||||||||||
Steps To Reproduce | Example URL : http://localhost:8090/api/snapshot.jpg?url=http://www.debian.org/distrib/index.fr.html&width=256&height=256 [^] | ||||||||||||
Additional Information | The following error appears in logs : [java] javax.imageio.IIOException: Invalid argument to native writeImage [java] at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage(Native Method) [java] at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread(JPEGImageWriter.java:1067) ... | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
![]() |
|
(0001487) luc (reporter) 2017-10-19 09:31 |
Looks like related to a known OpenJDK bug (http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7044758 [^]). Fixed in YaCy by removing any alpha component from the rendered resized snapshot (see commit https://github.com/yacy/yacy_search_server/commit/1de86cf1bf35698359b3c1a7e32a32cdc5ba32b8 [^]) |
![]() |
|||
Date Modified | Username | Field | Change |
2017-10-19 08:45 | luc | New Issue | |
2017-10-19 09:31 | luc | Note Added: 0001487 |
Copyright © 2000 - 2021 MantisBT Team |