spark

spark

26M Downloads

Spark profiler will never initlialize

Opened this issue · 5 comments

commented

I've been getting an issue recently where I can't ever start my profiler. It doesn't matter if 2 players are online, or 10, I get the same issue nonetheless. I run the command and get:
[20:17:20] [spark-fabric-async-worker/INFO]: [⚡] Initializing a new profiler, please wait...
Also something to note, I recall getting previously getting this error on the lan server I was running, and it had the same error, but when I tried it just now it did work. This could be because it was on offline mode, but now that I have internet its on online mode, however I don't know if that affects it.
The server is obviously in online mode, and there are no indications why the profiler isn't starting. It doesn't work on the control panel or through in game commands.

commented

Please try creating a thread/stack dump using the jstack command shorting after starting the profiler.

commented

I don't have access to the console, only the in game one.

commented

Also every other command works, only the spark profiler is broken.

commented

I got it to work using --force-java-sampler, although I have no clue why this works.

commented

Ah, I guess the native one wasn't compatible with your system.. glad to hear that sorted it though.