Summary: | jpc_dec_decodepkts failed | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | Images | Assignee: | Chris Liddell (chrisl) <chris.liddell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | artifex, christinedelight.top85, henry.stiles, lars |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Marcos H. Woehrmann
2010-02-28 01:02:45 UTC
Ghostscript allocates 3.8 GB to process this file. Reassigning to Masaki Ushizaka, who already works on similar issues. See bug 690543 and bug 691122 . The sample file can be found on spectre.ghostscript.com in /home/marcos directory. I've moved the file from /home/marcos to /home/support/691153 (still on spectre.ghostscript.com). I tried this on r11088 and on ubuntu 32 bit. It aborted after running about 3 minutes, printed "Killed" and exit code was 137. I think I exceeded some limitation for a process. I also tried r11088+luratech decoder. It finished the job without an error and had a correct result. Then I tried this with OpenJPEG (branches/jpx_openjpeg/gs, r11006). It finished the job. However resulted image was not correct. (Grayish garbage I reported in Bug 690543.) If I could get rid of that gray garbage problem, OpenJPEG could be a solution for this issue. I also should note that the images on this pdf file (Schufenster.pdf) ware tiled iamges. (598 tiles and 1680 tiles) Rendering JPEG2000 images by each row of tiles may also solve this issue, as well as bug 691122. If this is something which the Luratech decoder will improve the customer should be notified that is an option. Luratech decoder decreases memory usage to 674M Virtual and 467M Resident memory on my GNU/Linux box. The process takes 35s to complete. This is another problem where the customer should be given the luratech decoder and the problem downgraded to P4 non-customer. We don't plan to fix memory problems in jasper, we hope this will improve when openjpeg is integrated. (In reply to comment #7) > This is another problem where the customer should be given the luratech decoder > and the problem downgraded to P4 non-customer. We don't plan to fix memory > problems in jasper, we hope this will improve when openjpeg is integrated. Correction, the customer should be directed to the August 2011 release which will have the luratech JPX decoder included. There were several problems in the API which were fixed fairly recently, best to wait for a fully tested release. I've notified the customer about the August 2011 release. I've removed the customer designation and changed the bug to P4. When the openjpeg code is integrated this bug should be retested. Also the the test file from Bug 691122 should be tested with openjpeg. *** Bug 691122 has been marked as a duplicate of this bug. *** I believe this now works adequately with OpenJPEG. |