mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.14k stars 9.95k forks source link

Opening PDF documents in Chromium-based browsers causes a STATUS_STACK_OVERFLOW failure #18135

Open rodolfoorl opened 4 months ago

rodolfoorl commented 4 months ago

Attach (recommended) or Link to PDF file here:

Configuration:

Steps to reproduce the problem:

What is the expected behavior?

What went wrong?

https://github.com/mozilla/pdf.js/assets/20021506/544e862c-aed5-45bb-bc22-c581e50e8383

https://github.com/mozilla/pdf.js/assets/20021506/86f61451-d9cc-4a7b-8b8c-e0695f198d01

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Snuffleupagus commented 4 months ago

Attach (recommended) or Link to PDF file here:

  • For RGPD reasons I cannot send the document PDF

Unfortunately the only way for this, or any other, issue to be actionable/valid is if you provide access to the PDF document since it's impossible to fix/improve something that cannot be reproduced.

calixteman commented 4 months ago

Sorry but we aren't genius and we can't guess what's wrong with just a video showing a number. You can file a bug for Firefox: https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=PDF%20Viewer attach your pdf and check the box Confidential Mozilla employee: image or send it to me on my pro email (I'm the triage owner of the bug component from the link above) And if it's too much confidential, sorry but as Snuffleupagus said, there is no way to fix your issue.

rodolfoorl commented 4 months ago

Unfortunately the only way for this, or any other, issue to be actionable/valid is if you provide access to the PDF document since it's impossible to fix/improve something that cannot be reproduced.

I understand... I will check the possibility of sending a document with the same problem that does not contain sensitive information so that we do not have problems with GDPR on our part.

I will get back to you soon and thanks for the quick response.

calixteman commented 4 months ago

Another possible solution is to record a profile in Firefox: https://profiler.firefox.com/ And when you upload the profile take care to remove the screenshots in order to avoid to leak whatever informations. It could be possible to guess what's wrong from the profile.

rodolfoorl commented 4 months ago

Sorry but we aren't genius and we can't guess what's wrong with just a video showing a number. You can file a bug for Firefox: https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=PDF%20Viewer attach your pdf and check the box Confidential Mozilla employee: image or send it to me on my pro email (I'm the triage owner of the bug component from the link above) And if it's too much confidential, sorry but as Snuffleupagus said, there is no way to fix your issue.

I created the issue at bugzilla.mozilla.org with the Security-Sensitive Firefox Bug flag and sent the videos and documents that present the problem. https://bugzilla.mozilla.org/show_bug.cgi?id=1898053

calixteman commented 4 months ago

@rodolfoorl in the bug, could you change the product to Firefox and the component to PDF Viewer ? I don't have access to the bug (or you can cc me on the bug and I'll make the change).

rodolfoorl commented 4 months ago

@rodolfoorl in the bug, could you change the product to Firefox and the component to PDF Viewer ? I don't have access to the bug (or you can cc me on the bug and I'll make the change).

Done! image