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
32-bit version crashes on startup due to vs 2022 code generation bug #4111
Comments
Can't reproduce |
sorry should have said 32bit installed as still cant test 64bit yet I have no problems with installed 15963 (so reverted ) but 966 throws me out as soon as open a file ?? I have not rebooted so there could be some conflict somewhere but cant see what. |
can you attach crash report (make sure symbols are correct) |
Ahh are you saying the symbols had not updated ? |
Symbols unpacked before fresh install thought I had deleted settings.txt though I got something wrong a home screen was populated hmmm |
it seems 32-bit build just crashes |
As said I have not rebooted and dotted about in this poor example of a Modern PC struggling with Enterprise 10 updates MuPDF got frozen at 1.20 (now we are at 1.24 ish so I managed to cobble VS2017 into building 1.23.1 as 32bit thus that may be "lurking" about. but should not be in memory as inactive. |
Looks like mis-compilation. The version built by GitHub bot (VS 2022) crashes but I can't reproduce building locally using VS 2022 Preview doesn't. The one that crashes:
The one that doesn't crash:
The one that crashes has:
Version of VS on github:
Strange version because latest is 17.9.2 (https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes) |
Ensured nothing visible in memory that could interfere except defender ! |
Per https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md installed VS version is Will have to wait until they change it and then re-check if it still mis-compiles. The OS image was last updated on 20240225.2.0 |
Could try to use |
still crashing in latest pre-release even though vs version is updated to |
thought so thus not updated yet I cant get all of MuPDF Mutool to compile as 1.24 it builds BUT some commands work and others (like newer trim) dont |
Interesting status since I was eager to see new interface enhancements I download 32bit daily and as expected it starts with a crash. |
I've downgraded GitHub daily builder to earlier vs version. Hopefully it'll fix the next daily build. |
Will let you know or will close if it works. (My issue with MuPDF code is that the std viewer works but my preferred GL variant fails most often over 95% (oddly not always other than seems good without graphic objects and no simple reason) to display with this 32bit graphics system but there is no newer driver to try! P.S forgot to say the interface before crashing looks way better, |
I forgot that building with vs 2019 is no longer supported so have to wait for Microsoft to fix the vs 2022 code generation bug and update the GitHub runners. |
@kjk I persevered with 32 bit in VS2019 There are still warnings about heic so perhaps that may need me checking/not using them but as there is no heic enabler on this device (paint cant open them) thats currently not my issue. Error Problem seemed to be definition of |
If you compile with vs 2022 preview (https://visualstudio.microsoft.com/vs/preview/) it should be fine and require no changes. It's just that the version of vs 2022 installed on GitHub's build servers is buggy when generating 32-bit code and I have no way of changing the version. Hopefully eventually they'll fix that and update build server. |
Catch '22 Vs 2022 says
So I cant install on 32bit to build 32bit ! |
HMmmm P.S that fail MSB3073 has popped-up only in most recent few days and 2 daily pre-release runs have failed too so unsure if related.
|
16105 or later should not crash there |
@kjk
the 3rd issue seems to be I have NO GO as it throws up virus warnings I could not install GO in the past. |
Official 32-bit build should not crash anymore so you don't have to compile from sources, just download the latest pre-release binary. |
ahh that will be tomorrow mornings daily ? however now I have got so close, it would be nice to bypass the GO limitation can I simply somehow block that step or is it essential it builds some support ? |
It's already out at https://www.sumatrapdfreader.org/prerelease, just make sure its 16105 or later. Go is unfortunately needed. If you have winget, you can install it with |
Just to comfirm I got an unofficial build by |
SumatraPDF version
pre-release 15966
Describe the bug
A clear and concise description of what the bug is.
initially crashed on opening with 2 tabs active retested with no settings and it just crashes !
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
no crash the files have oddities but should not trigger a crash
File that reproduces the problem
If this is related to a specific PDF etc. file, please attach the file.
one file is sample used to describe issue with underline thickness the other is much larger and should not present a problem here but was edited twice at source so has incremental xrefs
underline scale 4.pdf
seems to be the offender
However without that file others also fail so probably the URLS
sample-file (with videolink).pdf
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: