https://bugs.winehq.org/show_bug.cgi?id=55833
--- Comment #28 from tuxway+wine@posteo.de --- (In reply to Bernhard Übelacker from comment #27)
Startup of an wine application includes start of wineserver and several other processes like winedevice.exe or explorer.exe. These might cross this WARN line too.
I guess common practice is to start in one terminal window all the wine infrasturcture processes by e.g. "wine notepad", and then in another terminal just the interesting process. To better distinguish better it mith also be helpful to start with WINEDEBUG=+pid. Then the first part of the logging lines show the PID.
Thanks for the hints! You're right, the calls seem to come from other processes, but not from the actual game executable.
So this might indicate that the functionality works in general, but the Mafia: Definite Edition exe may not fulfil the other image characteristics.
I've restored the behavior of wine-9.0-rc1 and enhance the logging to show the exe characteristics.
Turned out that the game exe is missing the DYNAMICBASE characteristic.
According to https://learn.microsoft.com/en-us/cpp/build/reference/dynamicbase?view=msvc-..., this is enabled by default, but may was disabled by the developer to avoid random rebase of address space?
Since this characteristic is required by HIGHENTROPYVA, it might makes sense to also check for its presence?