Failure upon 100% sync #16025

issue MFHODL opened this issue on May 15, 2019
  1. MFHODL commented at 1:36 AM on May 15, 2019: none

    Via Pierre Rochard's Node Launcher, I am syncing a new Bitcoin Core version 0.17.1 node over TOR. Upon several attempts, it terminates as soon as it reaches 100% sync.

    Laptop is less than two years old, freshly wiped and reinstalled Windows 10. Updated to version 1803.

    64-bit architecture, 8GB RAM, 128GB eMMC internal storage. WiFi connection to a 500MB/s line.

    Visual C++ Redistributable for Visual Studio 2015 is installed.

    datadir is pointed to internal storage, blocksdir is pointed to a 1TB SSD external

    debug:

    ///

    2019-05-14T20:24:36Z UpdateTip: new best=0000000000000000001bec915bd5709555cc2adea9cff4aa7cd88a5573edb21e height=576051 version=0x20000000 log2_work=90.637494 tx=413320512 date='2019-05-14T20:23:34Z' progress=1.000000 cache=2401.6MiB(17694152txo) warning='40 of last 100 blocks have unexpected version'

    2019-05-14T20:26:04Z UpdateTip: new best=00000000000000000019cd1e42eb91a1c259e9680153cc68be9b348e43b1b0e9 height=576052 version=0x20000000 log2_work=90.637516 tx=413321458 date='2019-05-14T20:25:08Z' progress=1.000000 cache=2402.1MiB(17697943txo) warning='40 of last 100 blocks have unexpected version'

    2019-05-14T20:29:40Z Error: Out of memory. Terminating.

    terminate called without an active exception

    ///

    Any suggestions? Thanks

  2. fanquake added the label Windows on May 15, 2019
  3. MFHODL commented at 1:46 AM on May 15, 2019: none

    Forgot to mention. When I close Bitcoin / Node Launcher and reopen, it starts syncing again from appx 93%. This happened on two separate tests.

    Currently it is still open, says its 100% synced but terminated.

  4. MarcoFalke commented at 12:08 PM on May 15, 2019: member

    I don't think we provide support for 3rd party software by @PierreRochard here.

    Does this happen when you sync with only Bitcoin Core from scratch?

  5. MFHODL commented at 2:31 PM on May 15, 2019: none

    Point taken, but I am running bitcoind and can edit the .conf file. Some other threads such as the one below lead me to believe changing the dbcache level might help, however the strange part is it is only crashing upon reaching 100% sync, when memory usage should be much lower.

    #14345

  6. jamesob commented at 3:17 PM on May 15, 2019: member

    @MFHODL can you invoke with -debug and give us the logs proximate to the failure from that? Any idea what dbcache value you've been running with?

    I'd finally try setting a very conservative dbcache value.

  7. MarcoFalke commented at 3:21 PM on May 15, 2019: member

    Does the windows task manager show threads and memory usage for Bitcoin Core?

  8. MFHODL commented at 3:34 PM on May 15, 2019: none

    @jamesob dbcache=4132

    The machine has 8GB RAM, nothing else is running other than a VPN and normal windows processes.

    The below debug is from the last attempt and failure. I have since quit and am trying with a dbcache=3000 Again, it reverted back to 93% sync.

    ///

    2019-05-14T20:24:36Z UpdateTip: new best=0000000000000000001bec915bd5709555cc2adea9cff4aa7cd88a5573edb21e height=576051 version=0x20000000 log2_work=90.637494 tx=413320512 date='2019-05-14T20:23:34Z' progress=1.000000 cache=2401.6MiB(17694152txo) warning='40 of last 100 blocks have unexpected version'

    2019-05-14T20:26:04Z UpdateTip: new best=00000000000000000019cd1e42eb91a1c259e9680153cc68be9b348e43b1b0e9 height=576052 version=0x20000000 log2_work=90.637516 tx=413321458 date='2019-05-14T20:25:08Z' progress=1.000000 cache=2402.1MiB(17697943txo) warning='40 of last 100 blocks have unexpected version'

    2019-05-14T20:29:40Z Error: Out of memory. Terminating.

    terminate called without an active exception

    /// @MarcoFalke currently bitcoind is using about 800MB but is still ramping up since I recently restarted. I will monitor to see how high it gets.

    Thanks all

  9. sipsorcery commented at 6:14 PM on May 24, 2019: member

    @MFHODL do you know if you're using the 32 bit or 64 bit version of bitcoind?

    If you're unsure this article explains how to check.

    If you do happen to have the Visual Studio developer tools installed you can use dumpbin as shown below:

    For 64 bit you'll get

    C:\Program Files\Bitcoin\daemon>dumpbin /headers bitcoind.exe | more
    Microsoft (R) COFF/PE Dumper Version 14.20.27508.1
    Copyright (C) Microsoft Corporation.  All rights reserved.
    
    
    Dump of file bitcoind.exe
    
    PE signature found
    
    File Type: EXECUTABLE IMAGE
    
    FILE HEADER VALUES
                8664 machine (x64)
    ...
    

    For 32 bit you'll get:

    C:\Program Files (x86)\Bitcoin\daemon>dumpbin /headers bitcoind.exe | more
    Microsoft (R) COFF/PE Dumper Version 14.20.27508.1
    Copyright (C) Microsoft Corporation.  All rights reserved.
    
    
    Dump of file bitcoind.exe
    
    PE signature found
    
    File Type: EXECUTABLE IMAGE
    
    FILE HEADER VALUES
                 14C machine (x86)
    ...
    
  10. MarcoFalke closed this on Apr 26, 2020

  11. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

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: 2026-04-17 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me