Fix segfault crash when shutdown the GUI in disablewallet mode #9817
pull jonasschnelli wants to merge 1 commits into bitcoin:master from jonasschnelli:2017/02/sf_gui changing 1 files +4 −1-
jonasschnelli commented at 1:43 PM on February 21, 2017: contributor
-
Fix segfault crash when shutdown the GUI in disablewallet mode 312c4f1057
- jonasschnelli added the label GUI on Feb 21, 2017
- jonasschnelli added this to the milestone 0.14.0 on Feb 21, 2017
-
ryanofsky commented at 1:59 PM on February 21, 2017: member
Obvious utACK 312c4f10574ccf6dfe0d4ecb3ce928733d3a1e52.
Were you planning to add a test? I haven't looked into qt unit testing, but it is nice when simple bugfixes like this are accompanied by tests to increase meaningful test coverage. (It's easy to imagine similar bugs with --disablewallet being introduced in the future.)
-
paveljanik commented at 2:09 PM on February 21, 2017: contributor
-
laanwj commented at 2:12 PM on February 21, 2017: member
Were you planning to add a test? I haven't looked into qt unit testing, but it is nice when simple bugfixes like this are accompanied by tests to increase meaningful test coverage. (It's easy to imagine similar bugs with --disablewallet being introduced in the future.)
There are unit tests for Qt, but currently nothing that can test window setup/teardown or UI interaction.
- laanwj merged this on Feb 21, 2017
- laanwj closed this on Feb 21, 2017
- laanwj referenced this in commit 8528d6ac6d on Feb 21, 2017
- laanwj referenced this in commit 7d75a5a93c on Feb 21, 2017
- laanwj referenced this in commit c6811c1bd3 on Feb 21, 2017
-
laanwj commented at 2:16 PM on February 21, 2017: member
Backported to 0.14 as 7d75a5a, 0.13 as c6811c1
-
MarcoFalke commented at 9:21 PM on February 23, 2017: member
@ryanofsky Were you planning to add a test? I haven't looked into qt unit testing, but it is nice when simple bugfixes like this are accompanied by tests to increase meaningful test coverage. (It's easy to imagine similar bugs with --disablewallet being introduced in the future.)
You can run
BITCOIND=bitcoin-qt ./qa/pull-tester/rpc-tests.pyfor basic sanity checking of the gui. - codablock referenced this in commit 0a6f63bb24 on Jan 26, 2018
- andvgal referenced this in commit ea85461421 on Jan 6, 2019
- CryptoCentric referenced this in commit 9a0d426890 on Feb 27, 2019
- DrahtBot locked this on Sep 8, 2021