Skip to content

Fatal Error: Filename too long. #34592

Closed
Closed

Description

@JPPinto-SS

Is there an existing issue for this?

  • I have searched the existing issues

Current behaviour

Image

Dir path cannot get any shorter but I think its misleading, there are no files even close to 256 char, might be an issue because its on E:\ ? Nothing useful in debug.log. Fix the data for core as well, it's still showing 2009-2024.

Expected behaviour

Expected behavior is that it should continue to write the blocks.

Steps to reproduce

Install Bitcoin core 28.1.0.

Relevant log output

debug.zip

How did you obtain Bitcoin Core

Compiled from source

What version of Bitcoin Core are you using?

28.1.0

Operating system and version

Windows 10

Machine specifications

8core i7 16gb ram, 14TB ssd

Activity

  1. hebasto commented on Feb 14, 2026

    @hebasto
    Member

    What version of Bitcoin Core are you using?

    28.1.0

    Operating system and version

    Windows 10

    Have you tried the most recent release v30.2?

  2. maflcko commented on Feb 17, 2026

    @maflcko
    Member

    Is this still an issue with a recent version of Bitcoin Core? If yes, what are the steps to reproduce? That is, what is your config + settings + command line args (etc). Also, what is the relevant section of the debug log? No need to zip it up, you can just share it here directly, possibly wrapped in a

    <details><summary>debug log</summary>
    
    \```
     content
    \```
    
    </details>
    
  3. JPPinto-SS commented on Feb 17, 2026

    @JPPinto-SS
    Author

    I have installed 30.2 and its still synchronizing with network, it usually throws the error when there is ~1 year left to sync. I will report back if it completes or not.

    Image
  4. maflcko commented on Feb 17, 2026

    @maflcko
    Member

    What is the filesystem? FAT32?

    I presume the exception comes from src/flatfile.cpp: fs::create_directories(path.parent_path());, which is confusing, because some errors are handled locally in the function and a failure is returned, and other errors are thrown.

  5. JPPinto-SS commented on Feb 17, 2026

    @JPPinto-SS
    Author
    Image
  6. maflcko commented on Feb 23, 2026

    @maflcko
    Member

    I have installed 30.2 and its still synchronizing with network, it usually throws the error when there is ~1 year left to sync. I will report back if it completes or not.
    Image

    Any update on this? Also, once the issue happens again, it should not be needed to re-sync from scratch and it should be possible to test if the same error message happens on every re-start.

  7. JPPinto-SS commented on Feb 23, 2026

    @JPPinto-SS
    Author

    Its still going... no issues yet.

    Image
  8. maflcko commented on Mar 2, 2026

    @maflcko
    Member

    Well, but it looks like the last crash was for a block time of March 2024, but the last screenshot already shows a block time of June 2024, so it doesn't seem to be deterministic?

    Maybe a cosmic ray or hardware corruption?

  9. maflcko commented on Mar 2, 2026

    @maflcko
    Member

    14TB ssd

    Also, an 14TB external ssd seems a bit fragile to put the leveldb on. At a minimum, it will slow down the IBD.

    My recommendation would be to at most put the blocksdir on the external drive.

  10. willcl-ark commented on Mar 2, 2026

    @willcl-ark
    Member

    Also, an 14TB external ssd seems a bit fragile to put the leveldb on. At a minimum, it will slow down the IBD.

    I presume this is actualy a spinning disk HDD too. In which case using it for chainstate will be doubly-dodgy.

    Should we close for now, seeing as this seems to not be reproducible? We can re-open if @JPPinto-SS reports another failure.

  11. JPPinto-SS commented on Mar 2, 2026

    @JPPinto-SS
    Author

    Its still running, I did pull the USB as a test and to ensure it was on a 3.0 port. It resumed with no issues. Is there not a way to backfill the files? like via FTP? When I use this machine at all, it slows the download to a crawl.

    Current status:

    Image
  12. JPPinto-SS commented on Mar 2, 2026

    @JPPinto-SS
    Author

    ok to close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions