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] "FMallocBinned2 Attempt to realloc an unrecognized block 000002413BC60000 canary == 0x0 != 0xe3" crash #267

Closed
ppaneksamsung opened this issue Jul 22, 2024 · 3 comments

Comments

@ppaneksamsung
Copy link

Describe the bug

Hello, I would like to report a bug that a game process crashes during termination. It happens on DX11 games: ARD, Dragon Ball Z: Kakarot, Stray. I tested on https://github.com/praydog/UEVR-nightly/releases/tag/nightly-930-0958bb718cbc83d878deb246660bf14b20a83599 and https://github.com/praydog/UEVR/releases/tag/1.04. Is it a known issue or something that can be fixed easily?

Upload logs and any crash dumps

UEVR-specific logs and crash dumps:

ARD-Win64-Shipping.zip

Game-specific crash dumps:

UE4CC-Windows-9C09F84D48FAF016A59ACB9E7DFAB148_0000.zip

Identify the UEVR version

0958bb7 or 1.04

To Reproduce

Steps to reproduce the behavior:

  1. Launch "A.R.D. Alien Removal Division" game. Game ID is 1768550.
  2. Inject UEVR.
  3. Terminate the game.

Expected behavior

A game should be terminated without error.

Screenshots

image

PC Specs (please complete the following information):

  • Windows 11
  • RTX 4070 laptop
  • i7-13700HX
  • N/A (we use custom OpenVR driver)
  • OpenVR
@praydog
Copy link
Owner

praydog commented Jul 22, 2024

It's known, and it can be fixed easily, but it's actually not that simple. Trying to fix this would need testing across hundreds, or thousands of games. So I don't rush to immediately try and fix it.

Basically FMalloc global needs to be resolved, along with FMalloc::Malloc. Then new calls for the SceneViewExtensions need to be replaced with FMalloc::Malloc. This is trivial to do, as UEVR already has code for this, but FMalloc isn't 100% guaranteed to be resolved correctly on every game. Just trying to keep the core functionality intact.

@praydog
Copy link
Owner

praydog commented Jul 22, 2024

Fixed in faa3ff0 with a new option

However the new option is off by default as it's unknown whether this works on all games or not. So will have to be manually turned on.

@praydog praydog closed this as completed Jul 22, 2024
@ppaneksamsung
Copy link
Author

Thank you very much for quick fix :)

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