Skip to content

Crash using getnewaddress in the console #725

@fanquake

Description

@fanquake

Calling getnewaddress in the GUI console currently crashes bitcoin-qt. Reported here: bitcoin/bitcoin#27217 (comment).

* thread #35, name = 'b-qt-rpcconsole', stop reason = hit program assert
    frame #4: 0x00000001000e9150 bitcoin-qt`NotifyAddressBookChanged(walletmodel=0x0000600003d270c0, address=<unavailable>, label=<unavailable>, isMine=<unavailable>, purpose=<unavailable>, status=CT_NEW) at walletmodel.cpp:392:5 [opt]
   389 	                              Q_ARG(bool, isMine),
   390 	                              Q_ARG(wallet::AddressPurpose, purpose),
   391 	                              Q_ARG(int, status));
-> 392 	    assert(invoked);
   393 	}
   394 	
   395 	static void NotifyTransactionChanged(WalletModel *walletmodel, const uint256 &hash, ChangeType status)
Target 0: (bitcoin-qt) stopped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions