Open zhx201933 opened 11 months ago
Thanks!
This is a duplicate of https://github.com/SoftbearStudios/mk48/issues/214
(it's another repository, so I don't blame you at all for not seeing it)
but i checked the entry_point.rs and the set open file limit function in os.rs, it seems did not define operations for Windows OS, so can i simply redownload the whole code and compile it again on Linux and execute is properly?
First of all, the open file limit (which is logged but ignored) has absolutely nothing to do with the crash. The crash is due to use of stack memory in excess of the default thread stack size, which only happens when you compile in debug
mode on Windows.
A workaround is to use release
mode, which makes more efficient use of stack memory. Linux should also work.
i already execute the server in release mode, but the bug seems appearing anyway.
it seems you have written a code in https://github.com/SoftbearStudios/mk48/issues/214 , but can it solve this problem and where should i put it please?
The server will stop responding when start executing show in command line: [ERROR game_server::entry_point] could not set open file limit: unsupported OS thread 'main' has overflowed its stack
i run it on Windows 10.0.19045.3803 and Windows Server 2016 but all failed