bitcoin-core / gui-qml

Bitcoin GUI (experimental QML-based fork)
MIT License
107 stars 40 forks source link

Crash when quitting app on macOS #318

Open yashrajd opened 1 year ago

yashrajd commented 1 year ago

There seems to be some crash when the app is quit.

I get this every time I quit the app.

Just close the app window and quit the application.

Actual behavior

Screenshot 2023-04-13 at 15 21 23

To reproduce

Quit the app

Happens every time I quit the app.

System information

macOS 12 on Apple Silicon.

Dunno

yashrajd commented 1 year ago

Addendum: When you quite the QT app, you get a dialogue asking to not shut down the computer until the app quits. Would be good to have that if applicable.

Might or might not be related.

Can provide screenshot if required.

hebasto commented 1 year ago

Mind checking if it happens with a self compiled binary?

hebasto commented 1 year ago

Cannot reproduce this issue on macOS Ventura 13.3.1 (Apple M1) using the unsecure_mac_arm64_gui binary @ 810fa5555b7970d866fdc2e44d10ec264a03f543.

In any case, try to run with -nonatpmp -noupnp command line options.

yashrajd commented 1 year ago

attaching these lines from debug.log

2023-04-17T12:55:40Z GUI: qrc:/qml/components/ConnectionSettings.qml:56: TypeError: Cannot read property 'server' of null 2023-04-17T12:55:40Z GUI: qrc:/qml/components/ConnectionSettings.qml:43: TypeError: Cannot read property 'natpmp' of null 2023-04-17T12:55:40Z GUI: qrc:/qml/components/ConnectionSettings.qml:30: TypeError: Cannot read property 'upnp' of null 2023-04-17T12:55:40Z GUI: qrc:/qml/components/ConnectionSettings.qml:17: TypeError: Cannot read property 'listen' of null

hebasto commented 1 year ago

cc @jarolrod @johnny9

yashrajd commented 1 year ago

Bitcoin Core version v24.99.0-3abea8959147 (release build) in case this is needed...

yashrajd commented 1 year ago

Don't get this crash on the build from #306

edit: not on #311 either