Breking in Mac OS #26530

issue mateusgalasso openend this issue on November 18, 2022
  1. mateusgalasso commented at 2:05 pm on November 18, 2022: none

    I’m trying to use bitcoin core on mac OS I want to record on an external hd

    but i get the following error all the time

    2022-11-17T22:07:44Z msghand thread exit 2022-11-17T22:07:44Z net thread exit 2022-11-17T22:07:44Z opencon thread exit 2022-11-17T22:07:44Z FileCommit: fcntl F_FULLFSYNC failed: 25 2022-11-17T22:07:44Z ERROR: SerializeFileDB: Failed to flush file /Volumes/Extreme SSD/bitcoin_core/peers.8611 2022-11-17T22:07:44Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat started 2022-11-17T22:07:44Z FileCommit: fcntl F_FULLFSYNC failed: 25 2022-11-17T22:07:44Z ERROR: SerializeFileDB: Failed to flush file /Volumes/Extreme SSD/bitcoin_core/anchors.ceb3 2022-11-17T22:07:44Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat completed (0.01s) 2022-11-17T22:07:44Z scheduler thread exit 2022-11-17T22:07:44Z Writing 0 unbroadcast transactions to disk. 2022-11-17T22:07:44Z FileCommit: fcntl F_FULLFSYNC failed: 25 2022-11-17T22:07:44Z Failed to dump mempool: FileCommit failed. Continuing anyway. 2022-11-17T22:07:45Z FileCommit: fcntl F_FULLFSYNC failed: 25 2022-11-17T22:07:45Z ERROR: Flush: failed to commit file 1 2022-11-17T22:07:45Z *** Flushing block file to disk failed. This is likely the result of an I/O error. 2022-11-17T22:07:45Z Error: A fatal internal error occurred, see debug.log for details 2022-11-17T22:07:45Z FileCommit: fcntl F_FULLFSYNC failed: 25 2022-11-17T22:07:45Z ERROR: Flush: failed to commit file 1 2022-11-17T22:07:45Z *** Flushing undo file to disk failed. This is likely the result of an I/O error. 2022-11-17T22:07:45Z Error: A fatal internal error occurred, see debug.log for details 2022-11-17T22:07:46Z FileCommit: fcntl F_FULLFSYNC failed: 25 2022-11-17T22:07:46Z ERROR: Flush: failed to commit file 1 2022-11-17T22:07:46Z *** Flushing block file to disk failed. This is likely the result of an I/O error. 2022-11-17T22:07:46Z Error: A fatal internal error occurred, see debug.log for details 2022-11-17T22:07:46Z FileCommit: fcntl F_FULLFSYNC failed: 25 2022-11-17T22:07:46Z ERROR: Flush: failed to commit file 1 2022-11-17T22:07:46Z *** Flushing undo file to disk failed. This is likely the result of an I/O error. 2022-11-17T22:07:46Z Error: A fatal internal error occurred, see debug.log for details 2022-11-17T22:07:46Z Shutdown: done

  2. mateusgalasso added the label Bug on Nov 18, 2022
  3. hebasto commented at 3:03 pm on November 18, 2022: member

    @mateusgalasso

    Considering your previous #26490 (comment) and #26490 (comment), is it correct that an error happens on macOS Ventura?

    If so, please see #26400 (comment) and #26397 (comment).

  4. hebasto added the label macOS on Nov 18, 2022
  5. john-moffett commented at 3:07 pm on November 18, 2022: member

    Likely duplicate of #26455

    I think this is a MacOS 13 (Ventura) specific bug for fcntl that occurs when using certain external drives. Are you running Ventura? If so, do you have Apple silicon (eg - M1 or M2)?

    Other projects seem to have the same or substantially similar issue.

    A possible temporary and ugly workaround may be to delete or comment out the following lines and compile from source:

    https://github.com/bitcoin/bitcoin/blob/6d4048468430d9d1fe5e7c5fcda13708879d1083/src/util/system.cpp#L1187-L1191

  6. hebasto commented at 3:14 pm on November 18, 2022: member

    Likely duplicate of #26455

    Agree. Closing this one.

    Let’s keep discussion in #26455.

  7. hebasto closed this on Nov 18, 2022

  8. fanquake locked this on Nov 22, 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: 2024-12-03 15:12 UTC

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