spark icon indicating copy to clipboard operation
spark copied to clipboard

Cannot start profiler

Open FooterManDev opened this issue 1 year ago • 2 comments

Description

Attempted to run a profiler, sparkc profiler start. Chat says "Starting a new profiler, please wait..." and nothing else. A stack trace was logged, and I have provided below.

Reproduction Steps

Open a world. Run the command sparkc profiler start. Observe.

Expected Behaviour

Well, I expected it to run a profiler...

Platform Information

  • Minecraft Version: 1.20.1
  • Platform Type: Client
  • Platform Brand: Forge
  • Platform Version: 47.3.7

Spark Version

1.10.53

Logs and Configs

Stack trace on its own -> https://gist.github.com/FooterManDev/8df7ced9a26afb05760aba0f7018f22c Full log -> https://mclo.gs/wtH9wlZ

Extra Details

The error in the stack trace mentions a spark profiler is already running, but I don't run this command while another profiler is active, to my knowledge. This is with the Monifactory modpack. I did not test in an instance with only spark.

FooterManDev avatar Nov 16 '24 05:11 FooterManDev

having the same issue but on the platform Minestom.

einfachBlu avatar Dec 12 '24 17:12 einfachBlu

I found that if you stop the internal server profiler with /spark and then start the client profiler with /sparkc it works, so I'm guessing that maybe spark can't run a separate profiler for the client while the automatically started one for the server is running.

KernelFreeze avatar Dec 31 '24 20:12 KernelFreeze