Linux wine exception codes & addresses
-
Im using linux to run plutonium and that isnt quite supported so i dont expect to receive any help but the game crashes after one to two hours of running and im not sure what to make of these exception codes and addresses. As i understand it the plutonium team will eventually try to support linux via wine so perhaps these crash logs will help with that.
If anyone can make any sense of these and tell me what they mean perhaps i could find some way to stop the crashes on my own. I didnt bother linking the crash dump dmp files so if they would help or if they are necessary please let me know and i will host them somewhere. when the game crashes it freezes then the virtual desktop turns blue before wine exits so it seems like a windows bluescreen or something.
plutonium-r1205-2021-03-17_02-56-26:
Exception Code: 0xE06D7363
Exception Address: 0x7B010096plutonium-r1205-2021-03-17_04-04-20:
Exception Code: 0x80000003
Exception Address: 0x207643B8plutonium-r1205-2021-03-17_06-28-08:
Exception Code: 0xC0000005
Exception Address: 0x25472E49plutonium-r1205-2021-03-17_07-23-22:
Exception Code: 0xE06D7363
Exception Address: 0x7B010096plutonium-r1205-2021-03-17_09-43-14:
Exception Code: 0xE06D7363
Exception Address: 0x7B010096 -
imthatsteve said in Linux wine exception codes & addresses:
0x20000000 - 0x30000000 is the range where the Plutonium code is located, these could be debugged (if there is a crashdump of the crash). Anything below 0x20000000 belongs to the game you're running. Anything above 0x30000000 are external dependencies.
The exception codes are official exception codes from Microsoft, they can be looked up on google.
0xC0000005
means ACCESS_VIOLATION_EXCEPTION, meaning the process tried to read or write invalid memory. For the other exception codes, you can use google to figure out what they mean.I hope this helps you trying to run Plutonium on linux.
-
thank you very much that helps a lot!
-
RektInator is it possible to debug the error codes for external dependencies with the crash dump files or would i need the src code for that? maybe if i could just find out which dependencies are throwing exceptions i could report it to someone more experienced in these things at the wine github or find some workarounds.
-
i used the winedbg tool and when it crashes it spams this:
0208:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0xffde0000-(nil), unix_prot 0.
so does this mean there is some kind of memory leak?
0208:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x6fa94a1f
i guess this means the issue is with the base game?
003c:fixme:ver:GetCurrentPackageId (0079FEA4 00000000): stub
-
imthatsteve My guess would be that the
0x7B010096
exception is likely inside the DirectX emulation layer. The other 2 are inside our codebase and I will take a look at these hopefully this weekend -
imthatsteve Would you be able to provide me with information on how you got the game to run on Wine? So I could spin up an ubuntu Virtual Machine when I have time. Please write down your discord username + discrim so I can send you a friend request tomorrow, I am going to bed
-
i followed pants tutorial but it didnt quite work so i made this post with the extra steps required.
the original tutorial by pants
https://forum.plutonium.pw/topic/8261/guide-how-to-run-black-ops-2-zombies-on-linux?_=1613103624189
I dont really use discord anymore their linux client is pretty bad and the web app is useless but ill reinstall it on my phone so you can dm me.
my discord id is ImThatSteve#3105