Fatal OpenUndoFile Error #16672

issue RadiantAeon opened this issue on August 20, 2019
  1. RadiantAeon commented at 8:08 PM on August 20, 2019: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    <!-- Describe the issue -->

    Bitcoin Core crashed while trying to roll back blocks.

    <!--- What behavior did you expect? -->

    Not a crash.

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    2019-08-20T03:41:29Z UpdateTip: new best=000000000000000000183765072911fb00b2fd72d176f475a94af7c4c1699f4a height=590902 version=0x2000e000 log2_work=90.98411 tx=446793093 date='2019-08-20T03:41:46Z' progress=1.000000 cache=34.9MiB(53286txo) warning='46 of last 100 blocks have unexpected version' 2019-08-20T03:41:57Z Unable to open file E:\Bitcoin\blocks\rev01763.dat 2019-08-20T03:41:57Z ERROR: UndoWriteToDisk: OpenUndoFile failed 2019-08-20T03:41:57Z *** Failed to write undo data 2019-08-20T03:41:57Z Error: Error: A fatal internal error occurred, see debug.log for details

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    Can't reliably reproduce.

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    Github - 0.18.0

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    Windows - hard drive

    <!-- For the GUI-related issue on Linux provide names and versions of a distro, a desktop environment and a graphical shell (if relevant). -->

    <!-- Any extra information that might be useful in the debugging process. -->

    This was after running a full node for a few hours to around a day.

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

    2019-08-20T03:28:55Z Pre-allocating up to position 0xb00000 in rev01763.dat 2019-08-20T03:28:55Z UpdateTip: new best=000000000000000000185852aa4776072a1c49c8c0f9bdb44f487be6d4991853 height=590901 version=0x3fffe000 log2_work=90.984084 tx=446790525 date='2019-08-20T03:28:38Z' progress=1.000000 cache=33.9MiB(44694txo) warning='45 of last 100 blocks have unexpected version' 2019-08-20T03:41:29Z UpdateTip: new best=000000000000000000183765072911fb00b2fd72d176f475a94af7c4c1699f4a height=590902 version=0x2000e000 log2_work=90.98411 tx=446793093 date='2019-08-20T03:41:46Z' progress=1.000000 cache=34.9MiB(53286txo) warning='46 of last 100 blocks have unexpected version' 2019-08-20T03:41:57Z Unable to open file E:\Bitcoin\blocks\rev01763.dat 2019-08-20T03:41:57Z ERROR: UndoWriteToDisk: OpenUndoFile failed 2019-08-20T03:41:57Z *** Failed to write undo data 2019-08-20T03:41:57Z Error: Error: A fatal internal error occurred, see debug.log for details 2019-08-20T04:01:56Z socket sending timeout: 1201s 2019-08-20T04:01:58Z socket sending timeout: 1201s 2019-08-20T12:32:12Z ERROR: ConnectTip: ConnectBlock 000000000000000000107e5f02c81dfef51b81afff607c806213e7a855aca94d failed, Failed to write undo data (code 0) 2019-08-20T12:32:12Z ERROR: ProcessNewBlock: ActivateBestChain failed (Failed to write undo data (code 0)) 2019-08-20T12:32:12Z Potential stale tip detected, will try using extra outbound peer (last tip update: 31843 seconds ago) 2019-08-20T12:32:12Z tor: Thread interrupt 2019-08-20T12:32:12Z opencon thread exit 2019-08-20T12:32:12Z addcon thread exit 2019-08-20T12:32:12Z Shutdown: In progress... 2019-08-20T12:32:12Z torcontrol thread exit 2019-08-20T12:32:12Z msghand thread exit 2019-08-20T12:32:12Z net thread exit 2019-08-20T12:32:13Z scheduler thread interrupt 2019-08-20T12:32:14Z Dumped mempool: 0.001s to copy, 0.161999s to dump 2019-08-20T12:32:15Z [default wallet] Releasing wallet 2019-08-20T12:32:15Z Shutdown: done 2019-08-20T19:59:24Z

  2. fanquake added the label Windows on Aug 20, 2019
  3. MarcoFalke commented at 4:19 PM on August 25, 2019: member

    Is the hard drive external?

  4. RadiantAeon commented at 4:29 PM on August 25, 2019: none

    No. It's an internal sata drive.


    From: MarcoFalke notifications@github.com Sent: Sunday, August 25, 2019 9:21 AM To: bitcoin/bitcoin bitcoin@noreply.github.com Cc: RealAwesomeness RealAwesomeness@outlook.com; Author author@noreply.github.com Subject: Re: [bitcoin/bitcoin] Fatal OpenUndoFile Error (#16672)

    Is the hard drive external?

    — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/16672?email_source=notifications&email_token=AJVAUIL4QNT3E62TBSGG6PDQGKWRXA5CNFSM4IN4IZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CWUSA#issuecomment-524642888, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJVAUIJKI4GKQAJQI7566QTQGKWRXANCNFSM4IN4IZJQ.

  5. MarcoFalke commented at 1:03 PM on October 12, 2019: member

    You might want to check your hardware for defects.

    • memtest86 to check your RAM
    • to check the CPU behaviour under load, use linpack or Prime95
    • to test your storage device use smartctl or CrystalDiskInfo

    Source: https://bitcoin.stackexchange.com/a/12206

  6. MarcoFalke commented at 5:11 PM on April 26, 2020: member

    Is this still an issue with a recent version of Bitcoin Core? If yes, what are the steps to reproduce?

  7. MarcoFalke closed this on Apr 26, 2020

  8. DrahtBot locked this on Feb 15, 2022
Labels

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