[Bug 44893] SKSE64 fails to initialize, reports: "couldn't allocate trampoline, no free space before image" (virtual address space between KUSER_SHARED_DATA and main executable reported as reserved)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jan 7 04:11:54 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=44893

--- Comment #16 from Bruno Santos <brunomanuelsantos at tecnico.ulisboa.pt> ---
Hey folks,

(In reply to bugzilla from comment #15)
> I remember that we had that trampoline issue quite a time ago already, which
> required a very similar patchset to make it work with wine. 
> Here's the old patchset, I unfortunately cannot find the Bug report (it was
> for Fallout 4):
> https://github.com/hdmap/wine-hackery/tree/master/f4se
> 
> At some point it worked without, because I think the SKSE authors (actually
> I was playing Fallout 4 at that time, so it was FOSE) did change something.
> This still worked good to this day, as long as you don't side-load any other
> dll besides the Script Extender DLL.

I reached out to the SKSE team about this and Ian Patterson confirmed that
there
had been a bug with calculating the minimum safe address and corrected it in
F4SE, but somehow it was not corrected for SKSE. He fixed it now:
   
https://github.com/ianpatt/skse64/commit/4a1e1219578890fb8cfb077daf08b386855ec62f 

This may or may not explain why F4SE eventually worked without any patch (can't
test myself). Waiting for a new release of SKSE so I can confirm it (not
confident compiling it myself).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list