Skip to content

[BUG] Node stalls / stops syncing after repeated "InterruptedException: sleep interrupted" warnings in maintenance threads (Windows .exe only) #303

@flue-cured

Description

@flue-cured

On Windows, using the official qortal.exe causes repeated warnings like:

[2026-01-22 09:39:05 WARN OnlineAccountsSignaturesTrimmer:94 - Online Accounts Signatures Trimming interrupted. Trying again. Report this error immediately to the developers.
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep(Native Method) ~[?:?]
at org.qortal.controller.repository.OnlineAccountsSignaturesTrimmer.run(OnlineAccountsSignaturesTrimmer.java:49) [qortal.jar:5.0.7]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
2026-01-22 09:39:05 WARN BlockArchiver:121 - Block Archiving interrupted. Trying again. Report this error immediately to the developers.
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep(Native Method) ~[?:?]
at org.qortal.repository.BlockArchiveWriter.write(BlockArchiveWriter.java:157) ~[qortal.jar:5.0.7]
at org.qortal.controller.repository.BlockArchiver.run(BlockArchiver.java:83) [qortal.jar:5.0.7]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
2026-01-22 09:39:05 WARN AtStatesTrimmer:98 - AT States Trimming interrupted. Trying again. Report this error immediately to the developers.
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep(Native Method) ~[?:?]
at org.qortal.controller.repository.AtStatesTrimmer.run(AtStatesTrimmer.java:49) [qortal.jar:5.0.7]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
2026-01-22 09:39:05 WARN AtStatesPruner:125 - AT States Pruning interrupted. Trying again. Report this error immediately to the developers.
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep(Native Method) ~[?:?]
at org.qortal.controller.repository.AtStatesPruner.run(AtStatesPruner.java:118) [qortal.jar:5.0.7]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
2026-01-22 09:39:05 WARN BlockPruner:129 - Block Pruning interrupted. Trying again. Report this error immediately to the developers.
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep(Native Method) ~[?:?]
at org.qortal.controller.repository.BlockPruner.run(BlockPruner.java:65) [qortal.jar:5.0.7]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]].

After these, the node stops adding new blocks (height lags behind explorer), though it appears online/connected and minting, when viewed from GUI. Running the same version directly with java -jar qortal.jar (OpenJDK) eliminates the errors and prevents stalls. I am running Windows 11, OpenJDK version 25.0.1, Qortal version 5.0.7. Stall happens many hours after initial launch of Qortal. I caught this error by checking API height vs. official height.
Steps to reproduce: Launch with .exe → wait for warnings → observe height stall.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions