Blockstream / green_qt

Blockstream Green App
GNU General Public License v3.0
195 stars 32 forks source link

Connecting with Tor crashes on Ubuntu #5

Closed grubles closed 4 years ago

grubles commented 4 years ago

Description

Connecting via Tor crashes Green QT after creating a new wallet.

Version

release_0.0.1-beta1

Steps to reproduce

Check the box to connect over Tor, app then crashes.

Device or machine

Thinkpad x230 Ubuntu 18.04.4

Additional info

Feb 21 12:04:05.000 [notice] Bootstrapped 80% (ap_conn): Connecting to a relay to build circuits
Feb 21 12:04:05.000 [notice] Bootstrapped 85% (ap_conn_done): Connected to a relay to build circuits
UNHANDLED NOTIFICATION QJsonObject({"event":"tor","tor":{"progress":85,"summary":"Connected to a relay to build circuits","tag":"ap_conn_done"}})
Feb 21 12:04:05.000 [notice] Bootstrapped 89% (ap_handshake): Finishing handshake with a relay to build circuits
UNHANDLED NOTIFICATION QJsonObject({"event":"tor","tor":{"progress":89,"summary":"Finishing handshake with a relay to build circuits","tag":"ap_handshake"}})
[2020-02-21 12:04:06.359179] [0x00007f76de2cc700] [error]   assertion failure: ../src/ga_session.cpp:make_transport:452:
connect result -1 QJsonObject({"log_level":"info","name":"mainnet","use_tor":true})
connection change Wallet::Connecting  ->  Wallet::Disconnected
Feb 21 12:04:06.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
Feb 21 12:04:06.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
[2020-02-21 12:04:06.375133] [0x00007f76cf7fe700] [info]    reconnect thread 7f76cf7fe700 started.
[2020-02-21 12:04:06.397511] [0x00007f76de2cc700] [info]    Load db, no file or bad file /home/blocksat/.local/share/Blockstream/Green/gdk/0ad5720eb315ac253ac205455fa10b729.sqliteaesgcm
connection change Wallet::Disconnected  ->  Wallet::Connecting
[2020-02-21 12:04:06.398037] [0x00007f76de2cc700] [info]    reconnect in progress. backing off...
[2020-02-21 12:04:06.406426] [0x00007f76de2cc700] [info]    reconnect in progress. backing off...
free(): invalid pointer
Aborted (core dumped)
domegabri commented 4 years ago

is this happening consistently?

grubles commented 4 years ago

Seemed to happen every time I would attempt to create a new wallet with Tor enabled.

grubles commented 4 years ago

No crash using Beta 5 and Ubuntu 19.10.

domegabri commented 4 years ago

thanks