Hi everybody.
I searched for duplicates for this issue but I couldn’t manage to find any, both on this repo and on Google. It happens with Bitcoin Core v0.11.2 on Windows (current environment : Windows 10 x64) and seems to happen randomly some time during sync start, never immediately. The problem is a total crash of the program. I can relaunch it to keep syncing but it slows it down quite a lot - I can’t leave it on overnight. I’ll get throught it but I found it interesting to share this report with you.
What I do I launch Bitcoin Core.
What does happen It resumes syncing to get the full blockchain, nothing bad happens at this moment. Then, several hours later, a seemingly random error throws in : an error windows appears, describing a fatal error that will lead to program shutdown. Closing this windows terminates the program.
What happens then I can restart the program, it will resume syncing. Then you can go back to “What does happen” because the same error happens again after a few hours.
Context data This happens on Windows 10 x64. The program (v0.11.2 - x64) was downloaded from bitcoin.org. This doesn’t seem to be a network-related issue, it happens on very different network contexts.
Relevant log
02015-12-22 18:58:41 IO error: Win32WritableFile.Sync::FlushFileBuffers C:\Users\Username\AppData\Roaming\Bitcoin\chainstate\223994.ldb: Média protégé en écriture. [it means the media is not writeable]
12015-12-22 18:58:41 *** System error while flushing: Database I/O error
22015-12-22 19:16:21 ping timeout: 1200.023628s
32015-12-22 19:17:59 socket sending timeout: 1201s
42015-12-22 19:18:39 socket sending timeout: 1201s
52015-12-22 19:18:39 socket sending timeout: 1201s
62015-12-22 19:18:40 socket sending timeout: 1201s
72015-12-22 19:18:40 socket sending timeout: 1201s
82015-12-22 19:18:40 socket sending timeout: 1201s
92015-12-22 19:18:40 socket sending timeout: 1201s
10
11[I think that at this moment I came back to my computer, noticed the error windows, closed it and restarted the program]
12
132015-12-22 22:56:19 ERROR: ProcessNewBlock: ActivateBestChain failed
142015-12-22 22:56:20 opencon thread interrupt
152015-12-22 22:56:20 scheduler thread interrupt
162015-12-22 22:56:20 addcon thread interrupt
172015-12-22 22:56:20 msghand thread interrupt
182015-12-22 22:56:20 net thread interrupt
192015-12-22 22:56:20 Shutdown: In progress...
202015-12-22 22:56:20 StopNode()
212015-12-22 22:56:20 IO error: Win32WritableFile.Sync::FlushFileBuffers C:\Users\Username\AppData\Roaming\Bitcoin\chainstate\223994.ldb: Média protégé en écriture.
222015-12-22 22:56:20 *** System error while flushing: Database I/O error
232015-12-22 22:56:21 Shutdown: done
242015-12-22 22:56:23 GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin Core didn't yet exit safely..."
252015-12-22 22:56:23
Thanks in advance for any answer! :)
EDIT : Of course the path written in debug logs is writeable and its nature isn’t supposed to change over time.