spark

spark

26M Downloads

spark profile start fail

AKtomik opened this issue ยท 1 comments

commented

Hi !
When typing the command /spark profile start, spark never finish to start the profiler starting :
image
After that, spark is frozen and dont respond for anyting, like dont respond to any command.
Error command execution has not completed reply 3 times with 5 second interval, when trying to start the profile, and typing any other command after.

[Craft Scheduler Thread - 127 - spark/WARN]: [spark] A command execution has not completed after 5 seconds, it might be stuck. Trace:
spark-1.10.37-bukkit.jar//me.lucko.spark.lib.asyncprofiler.AsyncProfiler.execute0(Native Method)
spark-1.10.37-bukkit.jar//me.lucko.spark.lib.asyncprofiler.AsyncProfiler.execute(AsyncProfiler.java:135)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.sampler.async.AsyncProfilerAccess.isEventSupported(AsyncProfilerAccess.java:192)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.sampler.async.AsyncProfilerAccess.<init>(AsyncProfilerAccess.java:83)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.sampler.async.AsyncProfilerAccess.getInstance(AsyncProfilerAccess.java:54)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.sampler.SamplerBuilder.start(SamplerBuilder.java:123)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.command.modules.SamplerModule.profilerStart(SamplerModule.java:251)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.command.modules.SamplerModule.profiler(SamplerModule.java:146)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.command.modules.SamplerModule$$Lambda$8783/0x00000008026b5cc0.execute(Unknown Source)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:430)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.SparkPlatform.lambda$executeCommand$2(SparkPlatform.java:339)
spark-1.10.37-bukkit.jar//me.lucko.spark.common.SparkPlatform$$Lambda$13515/0x00000008030f6f78.run(Unknown Source)
org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101)
org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
java.base@**.**.**.**/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
java.base@**.**.**.**/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@**.**.**.**/java.lang.Thread.run(Thread.java:833) 

Only way to can use Spark, restart the server.
If you nee another accuraty, tell me ! thank you in advice for your support !

commented

Try starting spark with the --force-java-sampler flag :)

e.g

/spark profiler start --force-java-sampler