Mojira Archive
MC-131734

Stack overflow when running 1.13pre2 on windows 7 32bit

Executing a run.bat file with the code:

@echo
java -Xmx1024M -Xms1024M -jar server.jar nogui
PAUSE

will result in a alleged stack overflow, i have tested and troubleshooted different -X JVM tags. all i found was that including an -Xss1M tag for thread size stopped the stack overflow, but was not able to carry the load of the server under just 1M.

 

What I expected to happen was:
The server to run, with minor latency issues, but not with a total failure and stack overflow, after dedicated 1M through -Xss i assumed it'd work to test out, but i cannot run a server on just 1M of allocated thread size.

How can i run the server with the first run.bat i have copied above? what have i done wrong and how can i fix this.

Do not discredit this report as a duplicate, i have seen those and they are not fully helpful to this scenario. 

What actually happened was:
[02:04:02] [main/INFO]: Loaded 0 recipes
[02:04:02] [main/INFO]: Loaded 0 advancements
[02:04:02] [Server thread/INFO]: Starting minecraft server version 1.13-pre2
[02:04:02] [Server thread/INFO]: Loading properties
[02:04:02] [Server thread/INFO]: Default game type: SURVIVAL
[02:04:02] [Server thread/INFO]: Generating keypair
[02:04:03] [Server thread/INFO]: Starting Minecraft server on *:25565
[02:04:03] [Server thread/INFO]: Using default channel type
[02:04:03] [Server thread/INFO]: Preparing level "world"
[02:04:03] [Server thread/INFO]: Reloading ResourceManager: Default
[02:04:04] [Bootstrap 0/ERROR]: Unable to bootstrap datafixers
java.lang.StackOverflowError: null
at abi$m.a(SourceFile:532) ~[server.jar:?]
at abi$m.a(SourceFile:532) ~[server.jar:?]
at aax.b(SourceFile:44) ~[server.jar:?]
at abi$l.a(SourceFile:616) ~[server.jar:?]
at abi$m.a(SourceFile:536) ~[server.jar:?]
at aaz.b(SourceFile:47) ~[server.jar:?]
at abi$l.a(SourceFile:616) ~[server.jar:?]
at abi$m.a(SourceFile:536) ~[server.jar:?]
at aaz.b(SourceFile:47) ~[server.jar:?]
at abi$l.a(SourceFile:616) ~[server.jar:?]
at abi$m.a(SourceFile:536) ~[server.jar:?]
at aaz.b(SourceFile:47) ~[server.jar:?]
at abi$l.a(SourceFile:616) ~[server.jar:?]
at abi$m.a(SourceFile:536) ~[server.jar:?]
at aaz.b(SourceFile:47) ~[server.jar:?]
at abi$l.a(SourceFile:616) ~[server.jar:?]
at abi$m.a(SourceFile:536) ~[server.jar:?]
at aaz.b(SourceFile:47) ~[server.jar:?]
at abi$l.a(SourceFile:616) ~[server.jar:?]
at abi$m.a(SourceFile:536) ~[server.jar:?]
at aaz.b(SourceFile:47) ~[server.jar:?]
at abi$l.a(SourceFile:616) ~[server.jar:?]
at abi$m.a(SourceFile:536) ~[server.jar:?]
at aaz.b(SourceFile:47) ~[server.jar:?]
at abi$l.a(SourceFile:616) ~[server.jar:?]
at abi$m.a(SourceFile:536) ~[server.jar:?]
at aaz.b(SourceFile:47) ~[server.jar:?]
at abi$l.a(SourceFile:616) ~[server.jar:?]
at abi$m.a(SourceFile:536) ~[server.jar:?]
at aaz.b(SourceFile:47) ~[server.jar:?]

Steps to Reproduce:
1. Run the latest server.jar for 1.13pre2 using the same run.bat file as i have, in the same environment too.
2. to see the contrary, test out the bat file with the alternative of adding -Xss1M to the run.bat

Thankyou

Duplicate

Danny Aitken

2018-06-21, 04:14 AM

2018-06-27, 02:40 AM

2018-06-21, 09:01 AM

0

1

Unconfirmed

Minecraft 1.13-pre2

-