BISQ freezes at shutdown

Hello everyone,

I just installed bisq-desktop 1.9.21-1 (AUR) using Pamac. All works fine, except when I shut it down it freezes at this point

[…]

[JavaFX Application Thread] INFO b.c.p.PersistenceManager: flushAllDataToDisk completed
[JavaFX Application Thread] INFO b.c.a.BisqExecutable: Graceful shutdown completed. Exiting now.
[Timer-0] WARN b.c.a.BisqExecutable: Graceful shutdown not completed in 10 sec. We trigger our timeout handler.
[Timer-0] INFO b.c.a.BisqExecutable: PersistenceManager flushAllDataToDiskAtShutdown started

Before that it shows no errors or warnings. Everything says shutdown completed.
I reinstalled the package several times; including wiping the cradle directory for a clean install. In previous versions this error did not come up.

Any ideas what it could be?

Manjaro 25.0 / xfce / Kernel 6.12.48-1

Thanks alot in advance!

I do not, however, from the warnings presented one can likely presume the problem is with the application itself.

If you wish to give detail that might actually be useful to those wishing to help, please provide your system information as described (below).

Regards.


The usual reminders apply regarding use of the AUR:


Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with forum requirements, and the many ways to use the forum to your benefit.

Note: By virtue of using the Manjaro forum you acknowledge and agree to follow Rules and Guidelines outlined; so, you really should read them:

Required Reading
Highly Recommended

Work with us, not against us

Be prepared to provide output from commands when asked. It is equally important to provide as much actionable information as possible in your first post, rather than simply indicating there is a problem.

Simply waiting for others to ask you questions can be counter-productive – typically, nobody has a :crystal_ball: at their disposal – instead, please help others to make informed suggestions based on information you provide.


System Information

While information from *-fetch type apps might be fine for someone wishing to buy your computer, for Support purposes it’s better to ask your system directly; :eyes:

Output of the inxi command (with appropriate parameters, and formatted according to forum guidelines) will generate information useful for those wishing to help:

a) inxi command (long-form):

inxi --filter --verbosity=8

b) inxi command (short-form):

inxi -zv8

Running inxi within a chroot environment :eyes:

  • Add --color=0 to the long-form command, or…
  • Change the short-form command to inxi -zv8c0
Your privacy is respected

Update Announcements


Technical Resources


One possibly an application error.

Another possibly an inconsistency with the installed java vs the version used by the application developer(s).

Judging from the package info - it requires jdk11-openjdk

 $ pamac info bisq-desktop
Name                  : bisq-desktop
Package Base          : bisq
Version               : 1.9.21-1
Description           : Cross-platform desktop application that allows users
                        to trade national currency (dollars, euros, etc) for
                        bitcoin without relying on centralized exchanges
URL                   : https://bisq.network
Licenses              : AGPL3
Repository            : AUR
Groups                : --
Depends On            : jdk11-openjdk
Optional Dependencies : --
Make Dependencies     : jdk11-openjdk git
Check Dependencies    : --
Provides              : bisq
Replaces              : bisq
Conflicts With        : bisq-bin bisq-git bisq
Maintainer            : dmp1ce
First Submitted       : ons 05 jul 2017 16:43:26 CEST
Last Modified         : søn 06 jul 2025 00:38:18 CEST
Votes                 : 68
Out of Date           : --

Verify your java installation

archlinux-java status

Then set the correct environment before launching the application.

sudo archlinux-java set java11-openjdk

Other than that - contact the maintainer of the AUR script → if that doesn’t help contact the develooper(s).

3 Likes

Hello, thank you for your answer.

My Java installation

Available Java environments:
  java-11-openjdk (default)
  java-17-openjdk

I used your command anyway just to make sure

sudo archlinux-java set java-11-openjdk

but the freeze is still happening. This time there was one last warning before the freeze

[...]

[Timer-0] INFO  bisq.core.app.BisqExecutable: PersistenceManager flushAllDataToDiskAtShutdown started 
[JavaFX Application Thread] WARN  b.common.persistence.PersistenceManager: We got flushAllDataToDisk called again. This can happen in some rare cases. We ignore the repeated call. 

Yes, maybe I should contact the maintainer/developers. Thanks!

Have you tried replacing bisq-desktop with the pre-compiled binary, bisq-bin to see if the issue still occurs? It can be installed via Pamac’s GUI or via the command line:

pamac build bisq-bin

It uses the version of java-runtime which is in the repos, instead of the much older jdk11-openjdk which is required by bisq-desktop:

pamac info bisq-bin
pamac info bisq-bin 
Name                  : bisq-bin
Version               : 1.9.21-1
Description           : Cross-platform desktop application that allows users to trade national currency (dollars,
                        euros, etc) for bitcoin without relying on centralized exchanges
URL                   : https://bisq.network
Licenses              : AGPL-3.0-only
Repository            : AUR
Groups                : --
Depends On            : java-runtime
Optional Dependencies : --
Make Dependencies     : --
Check Dependencies    : --
Provides              : bisq-bin
Replaces              : --
Conflicts With        : bisq bisq-git
Maintainer            : dmp1ce
First Submitted       : Thu 06 Jul 2017 00:53:33
Last Modified         : Sat 05 Jul 2025 21:31:02
Votes                 : 30
Out of Date           : --

You might even want to try the bisq2 package from the AUR which, according to the Bisq2 Downloads page:

Bisq2 Downloads

Currently offering the Bisq Easy protocol — a simple way for new users to get started with Bitcoin. Development of the next-generation, multisig-based trade protocol for Bisq 2 is underway.

Note that bisq2 does require installation of tor as a dependency:

pamac info bisq2
pamac info bisq2
Name                  : bisq2
Version               : 2.1.7-2
Description           : The Decentralized Trading Platform
URL                   : https://bisq.network
Licenses              : AGPL3
Repository            : AUR
Groups                : --
Depends On            : java-runtime>=22 tor
Optional Dependencies : --
Make Dependencies     : java-environment>=22 git
Check Dependencies    : --
Provides              : bisq2
Replaces              : --
Conflicts With        : --
Maintainer            : nojo
First Submitted       : Sat 16 Mar 2024 09:00:47
Last Modified         : Sun 06 Apr 2025 02:01:18
Votes                 : 11
Out of Date           : --
2 Likes

Thank you, scotty, for your answer!

I tried bisq-bin, but unfortunately the error/freeze still occurs.
Also instead of java-11-openjdk and java-17-openjdk I tried using java-25-openjdk without any changes.

In my understanding bisq2 is a completely different thing; it’s not offering the whole market like bisq 1.9.21-1

I mean, the program runs, even at shutdown it writes all the changes to the disk (according to log files); it is just at the end the GUI refuses to quit, idk.

1 Like

That’s good news at least.

Interestingly, on the day you started this topic, I installed bisq-bin to test on my system. The same incomplete shutdown occurred when I closed the window after a minute or so.

However, I just tried again, and this time I waited until it had finished syncing with the Bitcoin Mainnet (indicated at bottom left of the window). Closing the window then completed successfully (on both occasions I tried it):

Nov.-14 09:46:06.250 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown of node Optional[runbtcsdojm6hiyqotmhq7y5k4ws5bda6t3tv7y63c46rt7fx7lt7aid.onion:8000] completed 
Nov.-14 09:46:06.250 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown of node Optional[wmi67epczvkgb73n5t4upm5xxobzegvjstsq4oo6ntq5ixnebnoc63ad.onion:9999] completed 
Nov.-14 09:46:06.251 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown of node Optional[bkerlneolp767mxgeemi5zdao3efoyv6cgazkrin5rkxpoicy3p3ltid.onion:9999] completed 
Nov.-14 09:46:06.405 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown of node Optional[runbtcsdomqb4rnqg2zokjk4zjzs7pcswzrcgow4zji2qt4toyiabhyd.onion:8000] completed 
Nov.-14 09:46:06.406 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown of node Optional[czakyhdslk252fp4fzcwtaschdnaiaxhdy2ejjhqfyghfjkahjfqf5ad.onion:9999] completed 
Nov.-14 09:46:06.406 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown of node Optional[t3jknoty2z534r66v5gt36zkx5qq535ij2ynj46dm45v7vttgy5u4jqd.onion:9999] completed 
Nov.-14 09:46:06.406 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown of node Optional[r7jkfajynampxvbem35gmrtbx5cmxbcs4ms2sb2d2tznajo26jhlatad.onion:9999] completed 
Nov.-14 09:46:06.406 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown of node Optional[33ol66i7crfrnypjlpd7kem3imo6zmjkvxdr6ipcdx3e2skbpcrfzuqd.onion:8000] completed 
Nov.-14 09:46:06.411 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown of node Optional[funl7bjmtqrg76b25t3zqw7n7h3ytjzrccthhn37mh5xrsrbl7wh44qd.onion:9999] completed 
Nov.-14 09:46:06.411 [JavaFX Application Thread] INFO  bisq.network.p2p.network.NetworkNode: Shutdown completed with all connections closed 
Nov.-14 09:46:06.418 [JavaFX Application Thread] INFO  bisq.network.p2p.network.TorNetworkNode: Tor shutdown completed 
Nov.-14 09:46:06.419 [JavaFX Application Thread] INFO  bisq.core.app.BisqExecutable: P2PService shutdown completed 
Nov.-14 09:46:06.419 [JavaFX Application Thread] INFO  bisq.core.app.BisqExecutable: PersistenceManager flushAllDataToDiskAtShutdown started 
Nov.-14 09:46:06.421 [JavaFX Application Thread] INFO  b.common.persistence.PersistenceManager: Start flushAllDataToDisk 
Nov.-14 09:46:06.476 [JavaFX Application Thread] INFO  b.common.persistence.PersistenceManager: flushAllDataToDisk completed 
Nov.-14 09:46:06.476 [JavaFX Application Thread] INFO  bisq.core.app.BisqExecutable: Graceful shutdown completed. Exiting now.

So maybe bisq-bin closes incompletely if it has not yet fully synced with the Bitcoin Mainnet?

I should note that I do not have anything to do with cryptocurrencies, so the only testing I can do is opening and closing the bisq-bin application. I will be removing it from my system after I finish writing this post.

If the issue continues, you could read through the comments at the bottom of the relevant AUR pages to see if any other Arch-based distro users are experiencing the same thing:

There is also a Bisq forum:

The GitHub Issues page might also be worth browsing - make sure you look at both Open & Closed issues:

Thank you for your effort!

Very good point. I made sure everything was synced, but for me it still freezes.

Here in the comments one user suggested to use jre11-openjdk and jre11-openjdk-headless instead of jdk-openjdk; so I tried, but nothing changed. The error still persits.

Thank you for your help. I will keep an eye out and try different ways when I find them.
If I find the solution I’ll post it here.

Cheers!

1 Like