gridcoin-community / Gridcoin-Research

Gridcoin-Research
MIT License
588 stars 172 forks source link

StartOnSystemStartup Error #2679

Closed Inventatorul1 closed 1 year ago

Inventatorul1 commented 1 year ago

Bug Report

Current behavior

On system startup the wallet crashes Expected behavior

Shouldn't crash Steps to reproduce:

It seems to happen randomly on my system Screenshots

image image

Gridcoin version

v5.4.3.0-4 Machine specs

Extra information

2023-04-19T12:33:23Z Default data directory C:\Users\Puternicul\AppData\Roaming\GridcoinResearch

2023-04-19T12:33:23Z Using data directory C:\Users\Puternicul\AppData\Roaming\GridcoinResearch

2023-04-19T12:33:23Z Gridcoin version v5.4.3.0 (release build)
2023-04-19T12:33:25Z Starting Gridcoin
2023-04-19T12:33:25Z Initializing Core...
2023-04-19T12:33:25Z Boost Version: Using Boost 1.73.0

2023-04-19T12:33:25Z Using specific arg default
2023-04-19T12:33:25Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation

2023-04-19T12:33:25Z Using RdSeed as an additional entropy source

2023-04-19T12:33:25Z Using RdRand as an additional entropy source

2023-04-19T12:33:25Z Block version 11 hard fork configured for block 2053000
2023-04-19T12:33:25Z Block version 12 hard fork configured for block 2671700
2023-04-19T12:33:25Z INFO AppInit2: DataDir = C:\Users\Puternicul\AppData\Roaming\GridcoinResearch.
2023-04-19T12:33:25Z Using OpenSSL version OpenSSL 1.1.1l  24 Aug 2021

2023-04-19T12:33:25Z INFO: GetTimes: timer init: Starting verify of database integrity: elapsed time: 10 ms, time since last check: 10 ms.
2023-04-19T12:33:25Z dbenv.open LogDir=C:\Users\Puternicul\AppData\Roaming\GridcoinResearch\database ErrorFile=C:\Users\Puternicul\AppData\Roaming\GridcoinResearch\db.log
2023-04-19T12:33:25Z INFO: GetTimes: timer init: Finished verifying database integrity: elapsed time: 76 ms, time since last check: 66 ms.
2023-04-19T12:33:25Z INFO: GetTimes: timer init: Finished initializing network: elapsed time: 77 ms, time since last check: 1 ms.
2023-04-19T12:33:25Z Loading block index...
2023-04-19T12:33:25Z Mode=Prod
2023-04-19T12:33:25Z Opening LevelDB in C:\Users\Puternicul\AppData\Roaming\GridcoinResearch\txleveldb
2023-04-19T12:33:25Z Transaction index version is 180015
2023-04-19T12:33:25Z Opened LevelDB successfully
2023-04-19T12:33:25Z Loading DiskIndex 2882785
2023-04-19T12:34:06Z Time to memorize diskindex containing 2882916 blocks :           40863ms
2023-04-19T12:34:06Z LoadBlockIndex(): hashBestChain=b52a55f2ce9ff9553d58  height=2882785  date=04/18/23 19:00:32
2023-04-19T12:34:06Z Verifying last 1000 blocks at level 1
2023-04-19T12:34:06Z Time to Verify Blocks             254ms
2023-04-19T12:34:11Z Gridcoin: Time to calculate chain trust            5207ms
2023-04-19T12:34:11Z INFO: GetTimes: timer init: Finished loading block chain: elapsed time: 46466 ms, time since last check: 46389 ms.
2023-04-19T12:34:11Z Loading wallet...
2023-04-19T12:34:11Z nFileVersion = 5040300
2023-04-19T12:34:11Z Keys: 152 plaintext, 0 encrypted, 152 w/ metadata, 152 total
2023-04-19T12:34:11Z LoadWallet: started wallet flush thread.
2023-04-19T12:34:11Z 
2023-04-19T12:34:11Z INFO: GetTimes: timer init: Finished loading wallet file: elapsed time: 46523 ms, time since last check: 57 ms.
2023-04-19T12:34:11Z Gridcoin: initializing...
2023-04-19T12:34:11Z Gridcoin: verifying checkpoints...
2023-04-19T12:34:11Z Gridcoin: Loading superblock cache...
2023-04-19T12:34:11Z Gridcoin: Loading beacon history...
2023-04-19T12:34:11Z Gridcoin: Initializing beacon registry from stored history...
2023-04-19T12:34:11Z Gridcoin: beacon history loaded through height = 2882761.
2023-04-19T12:34:11Z Gridcoin: replaying contracts...
2023-04-19T12:34:11Z Gridcoin: Starting contract replay from height 2718802.
2023-04-19T12:34:13Z BOINC team requirement inactive at last known block.
2023-04-19T12:34:13Z Gridcoin: initializing research reward accounting...
2023-04-19T12:34:13Z Initializing research reward tally...
2023-04-19T12:34:13Z Initializing accrual snapshot registry...
2023-04-19T12:34:13Z Accrual snapshot registry loaded. Compacting...
2023-04-19T12:34:15Z Tally initialization complete. Scan time            1868ms

2023-04-19T12:34:15Z Gridcoin: initializing local researcher context...
2023-04-19T12:34:15Z Loading BOINC CPIDs...
2023-04-19T12:34:15Z BOINC team requirement inactive at last known block.
2023-04-19T12:34:15Z Found eligible project collatz with CPID b2d5e0e9add835d5ee7cbb7041c0d90e.
2023-04-19T12:34:15Z Selected primary CPID: b2d5e0e9add835d5ee7cbb7041c0d90e
2023-04-19T12:34:15Z Gridcoin: scraper disabled
2023-04-19T12:34:15Z Gridcoin: scraper subscriber housekeeping thread enabled
2023-04-19T12:34:15Z Loaded 32346 addresses from peers.dat.
2023-04-19T12:34:15Z INFO: GetTimes: timer init: Load peers complete: elapsed time: 50204 ms, time since last check: 3681 ms.
2023-04-19T12:34:15Z Using 800 OutboundConnections with a MaxConnections of 800
2023-04-19T12:34:15Z Gridcoin: checking for updates every 120 hours
2023-04-19T12:34:15Z INFO: GetTimes: timer init: Done loading: elapsed time: 50401 ms, time since last check: 197 ms.
2023-04-19T12:34:15Z Core Initialized...
2023-04-19T12:34:15Z scheduler thread start

2023-04-19T12:34:15Z Gridcoin: checking block index...
2023-04-19T12:34:15Z Gridcoin: block index is clean
2023-04-19T12:34:16Z GUI: "registerShutdownBlockReason: Successfully registered: Gridcoin didn't yet exit safely..."

2023-04-19T12:34:16Z GUI loaded.
2023-04-19T12:34:16Z 

************************
EXCEPTION: N5boost10filesystem16filesystem_errorE       
boost::filesystem::remove: Access is denied: "C:\Users\Puternicul\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Gridcoin-mainnet.lnk"       
C:\Program Files\GridcoinResearch\gridcoinresearch.exe in Runaway exception

2023-04-19T12:34:23Z GUI: QMetaObject::invokeMethod: No such method QObject::updateScraper(int,int,QString)

2023-04-19T12:34:23Z GUI: QMetaObject::invokeMethod: No such method QObject::updateMinerStatus(bool,double)

2023-04-19T12:34:27Z GUI: QMetaObject::invokeMethod: No such method QObject::updateNumConnections(int)

2023-04-19T12:34:27Z GUI: QMetaObject::invokeMethod: No such method QObject::updateNumConnections(int)

2023-04-19T12:34:28Z GUI: QMetaObject::invokeMethod: No such method QObject::updateNumConnections(int)

2023-04-19T12:34:28Z GUI: QMetaObject::invokeMethod: No such method QObject::updateNumConnections(int)

2023-04-19T12:34:28Z  Received block 25f254da50f6acffa51a911ef7b72b81dc9b0b7c48ad955f20e1c70e5dc931b8; 
2023-04-19T12:34:29Z INFO: CheckMRCRewards: mrc 1 validated: m_client_version = 5.4.0.0, m_fee = 1.26494583, m_last_block_hash = b52a55f2ce9ff9553d58ad62008461e251188162ca66b46537c50ac003a6e005, m_mining_id = 11cf342976c285a01ac458acc45bfdb2, m_organization = , m_research_subsidy = 10.14274062, m_version = 1, mrc_rewards = 8.87779479, mrc_fees = 1.26494583, mrc_staker_fees = 0.25298917
2023-04-19T12:34:29Z GUI: QMetaObject::invokeMethod: No such method QObject::mrcChanged()

2023-04-19T12:34:29Z INFO: SetBestChain: new best block {25f254da50f6acffa51a911ef7b72b81dc9b0b7c48ad955f20e1c70e5dc931b8 2882786}
2023-04-19T12:34:29Z GUI: QMetaObject::invokeMethod: No such method QObject::updateNumBlocks(int,int64_t,uint32_t)

2023-04-19T12:34:29Z  Received block 67798c1d24bec5bed045eb8c0cf48cc4101a05d4e7d05c40bf09337051f298ec; 
2023-04-19T12:34:29Z GUI: QMetaObject::invokeMethod: No such method QObject::mrcChanged()

2023-04-19T12:34:29Z INFO: SetBestChain: new best block {67798c1d24bec5bed045eb8c0cf48cc4101a05d4e7d05c40bf09337051f298ec 2882787}
2023-04-19T12:34:29Z  Received block acebf49cdd79df1368682c934408f6f828f4458ff693b5b7a72604e366014e3e; 
2023-04-19T12:34:29Z GUI: QMetaObject::invokeMethod: No such method QObject::mrcChanged()
jamescowens commented 1 year ago

Are you still seeing this?

Inventatorul1 commented 1 year ago

Are you still seeing this?

It didn't happen again.

jamescowens commented 1 year ago

Great. Closing.