-
Notifications
You must be signed in to change notification settings - Fork 554
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
Method get_pixmap() make the program exit without any exceptions or messages #3727
Comments
Please always provide data for reproducing the problem! |
@JorjMcKie You could find the sample pdf url in the sample code comment. |
This is an upstream bug (MuPDF). I will transfer this bug to their issue management. MuPDF issue link: https://bugs.ghostscript.com/show_bug.cgi?id=707925 |
The MuPDF team has developed a solution that fixes this issue. |
How can i update the pyMuPDF to fix this problem? |
Have built the pyMuPDF in local and process the PDF successful. Thanks. |
Ah, I am glad to see that the solution does work for you. You obviously generated PyMuPDF using the MuPDF version from its GitHub repository? |
Yes. From this repo: https://github.com/ArtifexSoftware/mupdf |
Reopening until we've made a release that includes the fix. |
Fixed in 1.24.10. |
Description of the bug
When using page.get_pixmap() method, the program simply exits without any prompts(Both in Windows and Ubuntu) and cannot catch the exception.
How to reproduce the bug
Sample code:
When using vscode debug the code, it exits when call
_mupdf.fz_run_display_list
.When using the jupyter notebook, the kernal was crashed with the exitCode 3221225477.
In Ubuntu, it exit with a message
Segmentation fault
PyMuPDF version
1.24.9
Operating system
Windows
Python version
3.9
The text was updated successfully, but these errors were encountered: