Bug 698879 - MuPDF 1.12: Segmentation Fault on ARM (32-bit)
Summary: MuPDF 1.12: Segmentation Fault on ARM (32-bit)
Status: RESOLVED DUPLICATE of bug 703171
Alias: None
Product: MuPDF
Classification: Unclassified
Component: apps (show other bugs)
Version: 1.12.0
Hardware: Other Linux
: P4 normal
Assignee: Robin Watts
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-21 15:34 UTC by Wade T Cline
Modified: 2021-01-19 02:45 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
Backtrace (2.75 KB, text/plain)
2018-01-21 15:41 UTC, Wade T Cline
Details
Offending PDF file (slide #8) (681.97 KB, application/pdf)
2018-01-21 15:48 UTC, Wade T Cline
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wade T Cline 2018-01-21 15:34:44 UTC
Dies when it tries to load the 8th slide.  Will attach backtrace and file in subsequent post (not sure if Lynx can deal with the JS around attachments).
Comment 1 Wade T Cline 2018-01-21 15:41:05 UTC
Created attachment 14611 [details]
Backtrace
Comment 2 Wade T Cline 2018-01-21 15:48:09 UTC
Created attachment 14612 [details]
Offending PDF file (slide #8)
Comment 3 Tor Andersson 2018-11-09 18:19:33 UTC
The backtrace looks like it comes from inside the inline ASM routine to scale images. As a workaround, you can try disabling the ARM specific functions by removing the #define ARCH_ARM line in include/mupdf/fitz/system.h
Comment 4 Wade T Cline 2018-11-18 02:36:35 UTC
Confirming that the workaround works (does not Segmentation Fault on known problem input file).  Please let me know if you need any additional debug info.  Thanks!
Comment 5 Robin Watts 2021-01-18 12:53:25 UTC
I cannot make this crash on page 8 with the latest code. I can make it crash on page 40, but that's due to bug 703171, which I have a fix for locally.

If, once that bug is closed, you still have a problem, please come back to us!

Thanks.

*** This bug has been marked as a duplicate of bug 703171 ***
Comment 6 Wade T Cline 2021-01-19 02:45:34 UTC
I tried to reproduce the crash on my distro's latest version (1.18.0) of 'mupdf' and it wasn't there, though I also tried re-compiling the older version of 'mupdf' and it didn't crash...

Well, it doesn't crash, so it's fixed for me!

Thanks,
Wade