Addresses #16875. For now just remove the calls.
gui: Drop calls to QCoreApplication::processEvents #16876
pull promag wants to merge 2 commits into bitcoin:master from promag:2019-09-drop-processevents changing 3 files +1 −3-
promag commented at 3:26 pm on September 15, 2019: member
-
gui: Drop calls to QCoreApplication::processEvents cef19450f0
-
promag commented at 3:39 pm on September 15, 2019: memberSome discussion in https://stackoverflow.com/a/1386160
-
promag commented at 4:13 pm on September 15, 2019: memberCould I have gitian build?
-
DrahtBot added the label GUI on Sep 15, 2019
-
fanquake added the label Needs gitian build on Sep 15, 2019
-
fanquake commented at 0:32 am on September 16, 2019: member
It looks like this has broken some GUI tests 585229862, 585229863, 585229866:
0********* Start testing of WalletTests ********* 1Config: Using QtTest library 5.9.5, Qt 5.9.5 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.4.0) 2PASS : WalletTests::initTestCase() 3QDEBUG : WalletTests::walletTests() TransactionTablePriv::refreshWallet 4QWARN : WalletTests::walletTests() This plugin does not support propagateSizeHints() 5QDEBUG : WalletTests::walletTests() "NotifyTransactionChanged: 12537cd362d98a08b60e15109d9b328ba3c1b42a0b6abc443c3e8c6c58b23cd3 status= 0" 6QDEBUG : WalletTests::walletTests() "NotifyTransactionChanged: 864afb476316659fcf6e4717a4daa6d69c51b06b772ec8b3c6d86061856f133e status= 1" 7QDEBUG : WalletTests::walletTests() "NotifyAddressBookChanged: mfWxJ45yp2SFn7UciZyNpvDKrzbhyfKrY8 isMine=0 purpose=send status=0" 8QWARN : WalletTests::walletTests() This plugin does not support propagateSizeHints() 9QDEBUG : WalletTests::walletTests() "TransactionTablePriv::updateWallet: 12537cd362d98a08b60e15109d9b328ba3c1b42a0b6abc443c3e8c6c58b23cd3 0" 10QDEBUG : WalletTests::walletTests() " inModel=0 Index=86-86 showTransaction=1 derivedStatus=0" 11QDEBUG : WalletTests::walletTests() "TransactionTablePriv::updateWallet: 864afb476316659fcf6e4717a4daa6d69c51b06b772ec8b3c6d86061856f133e 1" 12QDEBUG : WalletTests::walletTests() " inModel=1 Index=27-28 showTransaction=1 derivedStatus=1" 13QDEBUG : WalletTests::walletTests() "NotifyTransactionChanged: 52b3ca1ca8d757d595ea5501754c0b46762fc69fc1a668ea8fbda0d380a3d3bb status= 0" 14QDEBUG : WalletTests::walletTests() "NotifyTransactionChanged: 154297156e2d1cd324cecb6cce2377c90fd6e59c87a12fbd84590809f44dc1f9 status= 1" 15FAIL! : WalletTests::walletTests() Compared values are not the same 16 Actual (transactionTableModel->rowCount({})): 106 17 Expected (107) : 107 18 Loc: [qt/test/wallettests.cpp(175)] 19PASS : WalletTests::cleanupTestCase() 20Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 3780ms 21********* Finished testing of WalletTests *********
-
DrahtBot commented at 6:22 pm on September 16, 2019: member
Gitian builds for commit 9debfd0e28413df1ba669f614aa44bb652fedb32 (master):
04ab8c84d8ae08bb35b262a16e548a8b...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gzb1f3c9f24360107fc226adbe37c50ecd...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gz7f3d8349b65a1b68fe1ad71b57b8be7a...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gzbe0209c8e95b2b87e67b142a970b56c9...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gz0aa27d9d9a84751afe7fc361d4caa093...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gz885a0e3fdc177f77545377b7df60f496...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gz1012cdf8fb6a5288d42da3f2c95084f0...
bitcoin-0.18.99-osx-unsigned.dmg065d28019e1ba9db31936027f5d35ec9...
bitcoin-0.18.99-osx64.tar.gz74e4c1c1cf99326fa1741de3c4e3ec0e...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gz8e1b0db313a793d8027ca9a6856c5fea...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz21988911d4e5b5c8ad84a493e92417ad...
bitcoin-0.18.99-win64-debug.zip224b365075852ce3fd708351167b3c40...
bitcoin-0.18.99-win64-setup-unsigned.exe9da8714fc1b6a3b9289e6f0fa44ed923...
bitcoin-0.18.99-win64.zip043170a50f95cbbb1fe1e55fd7fcd774...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gzee650f3187b85bacf5332de81ebb01f4...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gz8d22dbb47083ba03b52e45211f1baa93...
bitcoin-0.18.99.tar.gz63aef91e90ed9e11f6c14115c10987ab...
bitcoin-core-linux-0.19-res.ymla0dde03c11fc227a2daeed44cf68256b...
bitcoin-core-osx-0.19-res.yml8f238a82ee7e3f6addfa350606e88967...
bitcoin-core-win-0.19-res.ymle98831312730fa7b6c3a105c8f8aa6d1...
linux-build.log8b695d416edf19a25ca9d37a8102ae3a...
osx-build.log9600f93da0ab535ab677a5907c1224bf...
win-build.log
Gitian builds for commit 0957b55fc3117fa117c4479cdc0c27eaab1b29ea (master and this pull):
f1f7c174944e93c20931b1cd23f999c6...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gz6dffd96f82df6360792a1b101b2efe26...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gzbb3e9fe394663f46625a13a9cceefd58...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gzafd5a27f9ad16bba946783644635e9da...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gz2c262ddf88a087deca94ecc2ce3b53b4...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gzc29eaa1df8ecf195aa0d4211eb86e139...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gz8f0f0f6aaa372a92dd9b7872642e94cd...
bitcoin-0.18.99-osx-unsigned.dmgbfb8d903287de9278379175a2da1196e...
bitcoin-0.18.99-osx64.tar.gzccb80eec44b08d6938a615c909c32133...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gz251331c33e36bc069552c44d77d966b7...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz1618ed953db77227e750dfd19a8b3830...
bitcoin-0.18.99-win64-debug.zip64db61162aabe2c06a9216ee838e3073...
bitcoin-0.18.99-win64-setup-unsigned.exe6a0a67ef2cb8b39dd5ed0f1b504b1d56...
bitcoin-0.18.99-win64.zipc80d09c8941f6f90c10700bd75163d19...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gzff7ea76b40598d6b1b8f4a74eaf0de92...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gza11dc966cdbe222be61e8cff4a6e5bb3...
bitcoin-0.18.99.tar.gz6cc580bd14c39d36762542e9b1cb29e9...
bitcoin-core-linux-0.19-res.ymlff3471138a3bffee39d0392c8917b5bf...
bitcoin-core-linux-0.19-res.yml.diff439971793e1451456a6ba821342d5788...
bitcoin-core-osx-0.19-res.yml3db9dacc56d39d6072f50e3fdeaa438a...
bitcoin-core-osx-0.19-res.yml.diff6a9ba9ec06af7fbedad91f4a3549e649...
bitcoin-core-win-0.19-res.yml55e8db8ade46ec47fb935302d7827988...
bitcoin-core-win-0.19-res.yml.diff62652afe2144307956398c4fc0fb6a55...
linux-build.logb99f0face0113eba8cf304d939151275...
linux-build.log.diff6133fae66acf69436f1994545a4285d7...
osx-build.log75e3e2ef91c0346e6ceea10646142c4c...
osx-build.log.diffe9e2b39fa20b25fdb5812de5edd4ea87...
win-build.log9c025f7b237f1f567cdc5c845a14abb6...
win-build.log.diff
-
DrahtBot removed the label Needs gitian build on Sep 16, 2019
-
laanwj commented at 12:40 pm on September 18, 2019: member
These calls are a work-around for doing too much work (and blocking waiting on locks) in the GUI thread, which we very much are guilty of in bitcoin-qt. The idea is to make sure that the window is updated and events are handled before doing something that might take longer.
Calling the function is redundant, sometimes, but should never be a bug.
Do you know why this segfaults in the first place? It seems to point at a different underlying issue and this just triggers it.
-
promag commented at 7:43 am on September 19, 2019: member
The idea is to make sure that the window is updated and events are handled before doing something that might take longer.
Meh, I think we agree it’s the wrong fix. One reason is to rely on some event being processed which in turn initializes something needed.
Do you know why this segfaults in the first place? It seems to point at a different underlying issue and this just triggers it.
I don’t but will investigate.
-
wip: Fix test a6133904e3
-
DrahtBot commented at 9:44 pm on September 26, 2019: member
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
No conflicts as of last run.
-
laanwj added the label Bug on Sep 30, 2019
-
jonasschnelli commented at 7:32 am on May 29, 2020: contributorClosing for now. Feel free to reopen if this still makes sense.
-
jonasschnelli closed this on May 29, 2020
-
DrahtBot locked this on Feb 15, 2022
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 12:12 UTC
More mirrored repositories can be found on mirror.b10c.me