-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gridcoin 5.4.9.0 on Windows 11 crashes randomly after starting. #2796
Comments
We will need more information to help you. Did you downgrade to 5.4.8.0, and if so, did the issue go away? Please paste the part of the debug.log from the last startup of 5.4.9.0 Gridcoin. You can easily do this by renaming the existing debug.log and then starting the client, which will create a new one. |
Yes, I did downgrade to 5.4.8.0 and the issue went away. I'm not familiar with the process for getting a debug.log for 5.4.9.0. Do I have to reinstall 5.4.9.0? Where would the debug.log be located? |
It is in the data folder at %AppData%\GridcoinResearch No you do not have to reinstall. |
There's no GridcoinResearch folder in the %AppData% folder. |
Did you select a directory other than the default location when you installed Gridcoin? |
I found it. The GridcoinResearch folder was in my C:\ProgramData folder. Here is the section from the debug.log I think you're asking for: 2025-02-18T05:35:14Z Gridcoin version v5.4.9.0 (release build) 2025-02-18T05:35:15Z Using specific arg default 2025-02-18T05:35:15Z Using RdSeed as an additional entropy source 2025-02-18T05:35:15Z Using RdRand as an additional entropy source 2025-02-18T05:35:15Z Block version 11 hard fork configured for block 2053000 2025-02-18T05:35:15Z INFO: GetTimes: timer init: Starting verify of database integrity: elapsed time: 12 ms, time since last check: 12 ms. 2025-02-18T05:35:48Z Gridcoin: initializing local researcher context... 2025-02-18T05:35:49Z GUI: "registerShutdownBlockReason: Successfully registered: Gridcoin didn't yet exit safely..." 2025-02-18T05:35:49Z GUI loaded. 2025-02-18T05:35:52Z UPnP Port Mapping successful. EXCEPTION: N5boost10filesystem16filesystem_errorE |
So the issue is a permissions issue with the stats file the scraper updates every 5 minutes. Note that \ProgramData is not the normal place that the Gridcoin data directory is stored. Did you choose this location when Gridcoin was first started? You can either move the data directory back to the normal location in %AppData% (I can help you do that), or you can check the permissions on the C:\ProgramData\GridcoinResearch directory and its children to ensure your logged in user has full control. |
That's weird, init insures that the datadir is writable; what're the chances of |
I think that has got to be it though given the error message above. |
@kwerboom did you check the permissions on that folder? |
OK. I'll try changing the permissions on the Scraper folder. I don't know why this became an issue now. I've been using Gridcoin since April 2023 and I've had no problems with versions prior to 5.4.9.0. I would have thought this would have been an issue right away. |
I upgraded from 5.4.8.0 to 5.4.9.0. I set the Write and Read permissions to Allow in the Security Tab of the Scraper Folder Properties for my User Account on my PC. Gridcoin doesn't seem to be crashing. |
The locking around the handling of that file was made stricter, and it could have changed the way Windows was acting in a situation with abnormal permissions. I am curious what the permissions actually were before you changed the settings, and also how the GridcoinResearch folder ended up in ProgramData, since that is not the normal location. Did you specify that location when you did the initial install? |
Bug Report
Current behavior
Expected behavior
I expect Gridcoin not to crash.
Steps to reproduce:
Wait a few minutes after starting it.
Gridcoin version
5.4.9.0
Machine specs
The text was updated successfully, but these errors were encountered: