Bitcoin Forum
May 02, 2024, 01:58:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core runs briefly then dies...  (Read 160 times)
SWLABR (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
October 01, 2023, 10:42:41 AM
Last edit: October 01, 2023, 02:52:22 PM by SWLABR
Merited by ABCbits (1)
 #1

Bitcoin Core version V25 the very latest

   Windows 10 Pro 64-bit
CPU
   Intel Xeon E5 v2 @ 3.00GHz   38 °C
   Ivy Bridge-EP/EX 22nm Technology
RAM
   16.0GB DDR3 (11-11-11-28)
Motherboard
   Dell Inc. 09M8Y8 (SOCKET 0)
Graphics
   HP E271i (1600x900@60Hz)
   1023MB NVIDIA Quadro K600 (NVIDIA)   58 °C
Storage
   238GB LITEONIT LCS-256L9S-11 2.5 7mm 256GB (SATA (SSD))
   2794GB Hitachi HUA723030ALA640 (SATA )   43 °C
   2794GB External USB3.0 SCSI Disk Device (USB (SATA) )   44 °C

Eager to remove my bitcoin from Nicehash before it closes in the UK, I thought I better update my Bitcoin Core database which I haven't indexed for some time. In the end, I had to delete the old database (it was corrupted, I gathered) and create a new one. This I did and Bitcoin Core worked fine throughout. So far as I'm aware it's up to date now. I did that while it was still V22. When I try to run it now though, and updating to the very latest version makes no difference, it runs for a few minutes saying "Loading block index" and then simply dies. It disappears. It goes away. It stops running. What to do? :-(
1714615095
Hero Member
*
Offline Offline

Posts: 1714615095

View Profile Personal Message (Offline)

Ignore
1714615095
Reply with quote  #2

1714615095
Report to moderator
1714615095
Hero Member
*
Offline Offline

Posts: 1714615095

View Profile Personal Message (Offline)

Ignore
1714615095
Reply with quote  #2

1714615095
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714615095
Hero Member
*
Offline Offline

Posts: 1714615095

View Profile Personal Message (Offline)

Ignore
1714615095
Reply with quote  #2

1714615095
Report to moderator
1714615095
Hero Member
*
Offline Offline

Posts: 1714615095

View Profile Personal Message (Offline)

Ignore
1714615095
Reply with quote  #2

1714615095
Report to moderator
SWLABR (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
October 01, 2023, 02:15:03 PM
 #2

I found this (debug.log)
2023-10-01T14:07:28Z Bitcoin Core version v25.0.0 (release build)
2023-10-01T14:07:28Z Qt 5.15.5 (static), plugin=windows (static)
2023-10-01T14:07:28Z Static plugins:
2023-10-01T14:07:28Z  QWindowsIntegrationPlugin, version 331520
2023-10-01T14:07:28Z  QWindowsVistaStylePlugin, version 331520
2023-10-01T14:07:28Z Style: windowsvista / QWindowsVistaStyle
2023-10-01T14:07:28Z System: Windows 10 Version 2009, x86_64-little_endian-llp64
2023-10-01T14:07:28Z Screen: \\.\DISPLAY1 1600x900, pixel ratio=1.0
2023-10-01T14:07:29Z Using the 'sse4(1way),sse41(4way)' SHA256 implementation
2023-10-01T14:07:29Z Using RdRand as an additional entropy source
2023-10-01T14:07:29Z Default data directory C:\Users\bill\AppData\Roaming\Bitcoin
2023-10-01T14:07:29Z Using data directory F:\bitcoin
2023-10-01T14:07:29Z Config file: F:\bitcoin\bitcoin.conf (not found, skipping)
2023-10-01T14:07:29Z Using at most 125 automatic connections (2048 file descriptors available)
2023-10-01T14:07:29Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements
2023-10-01T14:07:29Z GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin Core didn't yet exit safely…"
2023-10-01T14:07:29Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements
2023-10-01T14:07:29Z Script verification uses 3 additional threads
2023-10-01T14:07:29Z scheduler thread start
2023-10-01T14:07:29Z Using wallet directory F:\bitcoin
2023-10-01T14:07:29Z init message: Verifying wallet(s)…
2023-10-01T14:07:29Z Using /16 prefix for IP bucketing
2023-10-01T14:07:29Z init message: Loading P2P addresses…
2023-10-01T14:07:29Z Loaded 19003 addresses from peers.dat  94ms
2023-10-01T14:07:29Z init message: Loading banlist…
2023-10-01T14:07:29Z SetNetworkActive: true
2023-10-01T14:07:29Z Failed to read fee estimates from F:\bitcoin\fee_estimates.dat. Continue anyway.
2023-10-01T14:07:29Z Cache configuration:
2023-10-01T14:07:29Z * Using 2.0 MiB for block index database
2023-10-01T14:07:29Z * Using 8.0 MiB for chain state database
2023-10-01T14:07:29Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2023-10-01T14:07:29Z init message: Loading block index…
2023-10-01T14:07:29Z Assuming ancestors of block 000000000000000000035c3f0d31e71a5ee24c5aaf3354689f65bd7b07dee632 have valid signatures.
2023-10-01T14:07:29Z Setting nMinimumChainWork=000000000000000000000000000000000000000044a50fe819c39ad624021859
2023-10-01T14:07:29Z Opening LevelDB in F:\bitcoin\blocks\index
2023-10-01T14:07:29Z Opened LevelDB successfully
2023-10-01T14:07:29Z Using obfuscation key for F:\bitcoin\blocks\index: 0000000000000000
SWLABR (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
October 01, 2023, 02:39:37 PM
 #3

I tried running bitcoind.exe, that ran happily for a few minutes till I stopped it.
Cricktor
Hero Member
*****
Offline Offline

Activity: 756
Merit: 1108


Crypto Swap Exchange


View Profile
October 01, 2023, 03:16:08 PM
 #4

You can edit your post to amend details or sentences. There's no need to write multiple posts after another within a short time frame (less than a day) in one thread.

Your debug.log is likely incomplete and thus doesn't show any hints why your Bitcoin GUI is killed or stops due to some unrecoverable error condition.

Code:
2023-10-01T14:07:29Z GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin Core didn't yet exit safely…"

Did you try to force Bitcoin Core to exit too early before it could finish something important?

I tried running bitcoind.exe, that ran happily for a few minutes till I stopped it.

And what was the purpose to let it run only for a few minutes? What did you want to achieve?

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
SWLABR (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
October 01, 2023, 03:26:02 PM
 #5

"Your debug.log is likely incomplete and thus doesn't show any hints why your Bitcoin GUI is killed or stops due to some unrecoverable error condition."
It says the same thing as shown over and over with a small gap in between.

No I'm not forcing Bitcoin Core to quit early, it does it for unknown reasons. I wondered about that too. Is it likely some other program could be stopping it running? It ran fine while it was updating the index so that seems unlikely I'd think...

bitcoind... in the absence of any immediate response here I've been floating round the other forums and found advice to see if bitcoind would run ok without promptly dying, so I tried it for a short time, and it worked OK. I thought I'd mention it before someone here suggested it. 
NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6371


Looking for campaign manager? Contact icopress!


View Profile
October 01, 2023, 03:33:12 PM
Merited by philipma1957 (2), ABCbits (1)
 #6

Just a shot in the dark: is that F drive an external HDD? Are you 100% sure the connection with it is stable?
I think I had something similar when my cable was crappy, but I don't remember how did the log look like, it was some years ago.
Maybe, if possible, start with putting your data to internal HDD at least; then see if it solves the problem.

PS. As a later step, when all works, you may want to put the indexes onto SSD to gain much better speed.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
SWLABR (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
October 01, 2023, 04:03:50 PM
 #7

It's an internal HDD, never had a problem with it before. Could I run a test for that or does it need to be pulled out and have the connections checked physically? It's a good thought either way, thanks...
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6258


Crypto Swap Exchange


View Profile WWW
October 01, 2023, 04:09:36 PM
 #8

Run CrystalDiskInfo https://sourceforge.net/projects/crystaldiskinfo/files/9.1.1/CrystalDiskInfo9_1_1.exe/download or similar HD diagnostic to see if any smart errors are popping up for drive health.
It will not detect a bad cable but if there are other drive issues it will usually tell you about them.

Otherwise there are other apps like electrum: https://bitcointalk.org/index.php?board=98.0 that are a lot less resource intensive that should let you move your BTC

Keep in mind if there is something that is wrong with the system in general or other issues you are moving you coins to to vulnerable environment (all hot wallets are) but also one that may have other hardware issues.
Make backups of you seed / wallet

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
SWLABR (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
October 01, 2023, 04:42:23 PM
 #9

It hasn't yet grown a wallet, the only wallet.dat I have on my system is my backup from earlier days which is parked in Dropbox. That might tell us something... like it isn't installing properly maybe. Crystal liked my E drive, isn't sure at all of my F drive and had no idea what to make of my SSD C drive. Hmmmm... I'm moving the index to the E drive and then I'll adjust the shortcut to accommodate the change and then see how that goes. Possibly I'll rebuild it there, it won't take too long. I may well find myself cloning the C drive too as that drive's been hinky for a while, though everything else works ok on it.
Cricktor
Hero Member
*****
Offline Offline

Activity: 756
Merit: 1108


Crypto Swap Exchange


View Profile
October 01, 2023, 05:34:30 PM
Merited by LoyceV (1)
 #10

You should take care to have a stable system as the base for Bitcoin Core. It can take lengthy operations if the block data or indexes get corrupted and need to be checked or recreated.

I don't recommend Windows as a base for Bitcoin Core or other wallets. Due to its market share it is the most targeted environment for malware. And because you're likely familiar with Windows and use it as your daily driver you're going to make a mistake to install your Bitcoin Core and your wallet(s) on your daily driver. You should avoid this as all your internet shit will hit your daily driver. That's not the safest place for your wallet(s).

I consider a Linux box that's not being used for daily computer stuff a better approach. Older decent business laptops aren't very expensive from refurbishers (it might be different in your country). Most business laptops are easy to upgrade with a larger SSD and should then serve as a nice and stable haven for your crypto wallet stuff.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
SWLABR (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
October 01, 2023, 05:52:20 PM
 #11

You have a point there, thanks.
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5578


Self-proclaimed Genius


View Profile
October 02, 2023, 07:03:53 AM
 #12

I tried running bitcoind.exe, that ran happily for a few minutes till I stopped it.
I found this (debug.log)
-snip-
2023-10-01T14:07:29Z Default data directory C:\Users\bill\AppData\Roaming\Bitcoin
2023-10-01T14:07:29Z Using data directory F:\bitcoin
So you set the data directory through the GUI given by the log which didn't indicated "Config file arg" or "Command-line arg" before the data dir.

So, it's something in your F: drive's data directory, probably a corruption in your "block index" where the logs are cut off.
The daemon might have worked because it's using the default data directory if not supplied with --datadir arg or config file inside the default data dir.
(it's a guess because you haven't given any information about that working session of bitcoind)

You can probably solve it by launching Bitcoin Core with --reindex command line option. (instructions)
If it starts, it'll have to rebuild your block index which could take a while to complete so be patient while waiting for it to finish.
Bitcoin Core may look like frozen and unresponsive during reindex or IBD, but don't kill its process because it's 100% working in the background.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6718


bitcoincleanup.com / bitmixlist.org


View Profile WWW
October 03, 2023, 07:03:12 AM
 #13

You have a point there, thanks.

I can't help but noting that although your CPU temperatures are normal, your disks are running a bit hot.

On which disk are you downloading Bitcoin Core blocks to?

You should run a SMART test on your disks to make sure they are healthy and nothing is wrong with them. Also the SSD does not have enough space to download all the Bitcoin Core blocks, though you probably already know this. Just make sure that the datadir is set to a folder in one of the other disks.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6258


Crypto Swap Exchange


View Profile WWW
October 05, 2023, 07:36:34 PM
 #14

You have a point there, thanks.

I can't help but noting that although your CPU temperatures are normal, your disks are running a bit hot.

On which disk are you downloading Bitcoin Core blocks to?

You should run a SMART test on your disks to make sure they are healthy and nothing is wrong with them. Also the SSD does not have enough space to download all the Bitcoin Core blocks, though you probably already know this. Just make sure that the datadir is set to a folder in one of the other disks.

I know I have said it before but basic smart tests are well...just that basic.
Something like crystal disk info or Hard Disk Sentinel are better tools.

Most basic SMART are pass / fail the above give more detail.

Also, since core is just crashing it could be a CPU / system issue that once it's ramps up something else is failing. If there is a cooling issue, or a power issue core trying to do something can be causing it to have a problem.
Any one of bunch of utilities that can stress the system a bit can be used to see if that is part of the issue.
Remember we are talking about a system that is close to 10 years old with a CPU that has a TDP of 95 watts. There can be a lot of things that have cooked in that case over the years.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
SWLABR (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
October 08, 2023, 07:42:51 AM
 #15

Thanks to all who responded. I now have an up to date version of Bitcoin Core with the complete (bar 30 minutes or so) database on an external drive so I can port it between computers. I may well observe advice and set up a dedicated Linux box though as I have stuff lying around I can do that with. 
I now have trouble getting the wallet.dat file to play ball... but that's a new query so I'll start a new thread. Thanks everyone!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!