stack exhaustion loading pdf
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
People
(Reporter: Laraweron, Assigned: calixte)
References
(Regression)
Details
(4 keywords, Whiteboard: [sg:dos][pdfjs-image-jpx])
Attachments
(1 file)
2.29 KB,
application/pdf
|
Details |
Comment 2•8 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•5 years ago
|
||
Still causes a pretty big memory spike on load, but the usage goes down pretty quickly again once it finishes loading.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Comment 10•3 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #9)
Still causes a pretty big memory spike on load, but the usage goes down pretty quickly again once it finishes loading.
I can still reproduce this on Linux in Nightly 97.
Brendan can reproduce this on Mac in Nightly 97.
Calixte can reproduce this on Windows in ESR 91, can't reproduce this on Windows in Nightly 97.
Comment 11•3 years ago
|
||
WIth Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
it is loading for several minutes (until I stopped the tab). In the first 60 sec of loading the memory usage comes up to about 2-2.5 GB.
I also could not find a different behaviour in the release before the regression, mentioned above.
Comment 12•3 years ago
|
||
but the poc.pdf contains a JPX coded image with W=32765 and H=32765 with 8 BPP. (Info from Acrobat), while the object browser tells me:
XObject (dict)
Im0 (stream) [id: 5, gen: 0]
BitsPerComponent = 8
ColorSpace = /DeviceGray
Filter (array)
Height = 57
Length = 1402
Subtype = /Image
Type = /XObject
Width = 1200
Updated•3 years ago
|
Assignee | ||
Comment 13•8 months ago
|
||
The pdf contains a corrupted jpx image.
In every pdf viewers I tested, it's rendered as an empty image.
In Firefox nightly, thanks to the new jpx decoder, it isn't rendered because of the corruption (I think it's the case too for others pdf viewers).
So we can consider that it's fixed now: there's no more memory issues.
Updated•8 months ago
|
Description
•