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

[BUG] If we upload the corrupt file it hangs forever #611

Open
r0kk opened this issue Jan 8, 2025 · 0 comments
Open

[BUG] If we upload the corrupt file it hangs forever #611

r0kk opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@r0kk
Copy link

r0kk commented Jan 8, 2025

Description

There is an issue if we try to upload corrupt pdf file due to how PDFReader works, where it can hang forever.

Do you have any idea how to avoid this indefinite hanging?

Logs:
Screenshot 2025-01-08 175442

I did found a hack here that you can find here, which breaks code execution: pdf_loader.zip, but would prefer better solution if you know of any.

Corrupt pdf for testing: https://drive.google.com/file/d/1H3tACHRw2rVmEt8XEi3D05a74tI_ADLJ

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

No response

OS

No response

Additional information

No response

@r0kk r0kk added the bug Something isn't working label Jan 8, 2025
@r0kk r0kk changed the title [BUG] If we upload the corrupt file, then it hang forever [BUG] If we upload the corrupt file it hangs forever Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant