tda icon indicating copy to clipboard operation
tda copied to clipboard

failed to load thread dump of process which use virtual thread

Open sungho-rpls opened this issue 8 months ago • 0 comments

When I tried to make tda load thread dump, it showed the blow error.

2025-08-19 16:35:23.657 java[87556:3459315] The class 'NSOpenPanel' overrides the method identifier.  This method is implemented by class 'NSWindow'
Exception in thread "Thread-2" java.lang.NumberFormatException: For input string: "0000fffef57b0000  [0x0000fffeb1eae000]" under radix 16
	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
	at java.base/java.lang.Long.parseLong(Long.java:711)
	at com.pironet.tda.SunJDKParser.getThreadTokens(SunJDKParser.java:1005)
	at com.pironet.tda.AbstractDumpParser.addToCategory(AbstractDumpParser.java:261)
	at com.pironet.tda.SunJDKParser.parseNext(SunJDKParser.java:204)
	at com.pironet.tda.SunJDKParser.hasMoreDumps(SunJDKParser.java:74)
	at com.pironet.tda.TDA.addThreadDumps(TDA.java:1341)
	at com.pironet.tda.TDA.access$1500(TDA.java:118)
	at com.pironet.tda.TDA$5.construct(TDA.java:933)
	at com.pironet.tda.utils.SwingWorker$2.run(SwingWorker.java:131)
	at java.base/java.lang.Thread.run(Thread.java:840)

The call stack that caused the above error was like this:

"ForkJoinPool-1-worker-1" #1279 [2545] daemon prio=5 os_prio=0 cpu=9.96ms elapsed=4863.93s tid=0x0000fffef57b0000  [0x0000fffeb1eae000]
   Carrying virtual thread #1288
	at jdk.internal.vm.Continuation.run([email protected]/Continuation.java:251)
	at java.lang.VirtualThread.runContinuation([email protected]/VirtualThread.java:245)
	at java.lang.VirtualThread$$Lambda/0x00000008023c9640.run([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec([email protected]/ForkJoinTask.java:1423)
	at java.util.concurrent.ForkJoinTask.doExec([email protected]/ForkJoinTask.java:387)
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/ForkJoinPool.java:1312)
	at java.util.concurrent.ForkJoinPool.scan([email protected]/ForkJoinPool.java:1843)
	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/ForkJoinPool.java:1808)
	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/ForkJoinWorkerThread.java:188)

I assume that it doesn't support virtual threads. Could you confirm that?

sungho-rpls avatar Aug 19 '25 07:08 sungho-rpls