Skip to content

MH Wilds DLL plugin causing heap allocation failure #1500

@IGServal

Description

@IGServal

Hello.

I am making a DLL plugin for Monster Hunter Wilds and it has a problem where after some time (between 5 and 10 minutes into a quest) it freezes or crashes with this error message:

Image

Whenever that happens, there are always these lines at the end of the REFramework log:

[2026-01-11 17:21:34.458] [REFramework] [info] Last chance encountered for hooking
[2026-01-11 17:21:35.460] [REFramework] [info] Sending rehook request for D3D
[2026-01-11 17:21:35.461] [REFramework] [info] Unhooking D3D12
[2026-01-11 17:21:35.461] [REFramework] [info] Hooking D3D12
[2026-01-11 17:21:35.461] [REFramework] [info] Reinitializing D3D12Hook via known pointers
[2026-01-11 17:21:35.461] [REFramework] [info] Initializing hooks
[2026-01-11 17:21:35.461] [REFramework] [info] [PointerHook.cpp:25] [PointerHook] Hooking 7ffd54f3a040->7ffd54ea18c0 to 7ffc4fe6a9b0
[2026-01-11 17:21:35.461] [REFramework] [info] Hooked DirectX 12

These lines often repeat more than once.

Sometimes it freezes instead and crash log says exception "0x80000003" which means "A breakpoint was encountered" (???).

These events do not happen when my DLL plugin is not loaded, so it is possibly a problem with my code and not REFramework, in which case I would like to know what might be causing it. My code does not use any vectors or any manual memory allocation.

Thanks for the continued development of REFramework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions