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

SurfaceRepository::getWindowedSrc crashes in v0.5.2 on integrated GPUs #315

Closed
CookiePLMonster opened this issue May 19, 2024 · 4 comments
Closed

Comments

@CookiePLMonster
Copy link

CookiePLMonster commented May 19, 2024

We're encountering a regression in v0.5.2 compared to v0.5.1, where two PCs with integrated GPUs are now crashing on startup inside a SurfaceRepository::getWindowedSrc function. As far as I can tell, it's because this, and thus g_primaryRepository, is nullptr.

I received a crashdump from this issue. This session used a regular v0.5.2-Release build, so symbols will match:
Buccaneer.exe.18456.dmp.zip

As far as I can tell, primary surface repository is something that has been added in v0.5.2, so perhaps this crash is indicative of a bug in this implementation.

@narzoul
Copy link
Owner

narzoul commented May 19, 2024

Sounds similar to another issue I've seen recently. See if this fixes it: #299 (comment)

@CookiePLMonster
Copy link
Author

Thank you! I forwarded this info to QA and also asked to include a DDrawCompat log together with the crash dump if this DLL doesn't help.

@CookiePLMonster
Copy link
Author

CookiePLMonster commented May 22, 2024

@narzoul I got a confirmation from QA that this fix helps and it does not regress the other configurations previously unaffected by this bug, thank you 🙂

We are going to ship with a self-compiled v0.5.2 + this fix with an appropriate version bump to 0.5.2.1, since I need to also store the corresponding the PDB of this ddraw.dll and thus I can't just use your test DLL.

This can probably be closed as a duplicate or kept open until a new public release is out with this fix included.

@narzoul
Copy link
Owner

narzoul commented Jul 2, 2024

Fixed in v0.5.3.

@narzoul narzoul closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants