Skip to content

[Bug]: on android SIGSEGV when a directory contains more than two child directories #786

Description

@dusk-beep

Which fff frontend?

Neovim plugin (fff.nvim)

has logs

fff+1786859934+11285.log

Description

Bug: SIGSEGV when a directory contains more than two child directories

Which fff frontend?

Neovim plugin (fff.nvim)

has logs

FFF log attached.

Description

I'm using fff.nvim on Termux with the prebuilt binary.

FFF works when a directory contains ≤2 child directories, but consistently segfaults when a directory contains >2 child directories, regardless of nesting depth.

Reproduction

Works:

.
├── a
└── b

Crashes:

.
├── a
├── b
└── c

Also works when nested:

.
└── parent
    ├── a
    └── b

But crashes at any depth when that directory has more than two child directories:

.
└── parent
    └── child
        ├── a
        ├── b
        └── c

The crash occurs during the zlob filesystem walk:

fff_search::walk::zlob: new
=== CRASH SIGSEGV (fff) ===
fff.nvim's rust extension hit a segfault and is about to die.
=== CRASH END SIGSEGV ===

Environment

Termux
aarch64 / arm64-v8a
fff.nvim using the prebuilt binary

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriaged

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions