Skip to content

Segmentation fault after [cio file] error deleting file at close on Fluent Bit v4.1.1 #11049

@soopak79

Description

@soopak79

Description:

Fluent Bit crashes with a segmentation fault (SIGSEGV) shortly after reporting a cio file deletion error.
It seems to happen when Fluent Bit tries to remove a temporary chunk file that doesn’t exist anymore.

Environment:

Fluent Bit version: v4.1.1

OS: Linux (systemd-managed service)

Installation method: system package (please replace if different)

Log excerpt:

Oct 20 17:44:33 WASMIE-PLAY-03 fluent-bit[1877010]: [/tmp/fluent-bit/lib/chunkio/src/cio_file_unix.c:468 errno=2] No such file or directory
Oct 20 17:44:33 WASMIE-PLAY-03 fluent-bit[1877010]: [2025/10/20 17:44:33.755599651] [error] [fstore] [cio file] error deleting file at close 2025-10-20T14:08:31:229475248675891-10982540986328428730
Oct 20 17:44:33 WASMIE-PLAY-03 fluent-bit[1877010]: [2025/10/20 17:44:33] [engine] caught signal (SIGSEGV)
Oct 20 17:44:33 WASMIE-PLAY-03 fluent-bit[1877010]: #0 0x6d17fe in ???() at ???:0
Oct 20 17:44:33 WASMIE-PLAY-03 fluent-bit[1877010]: #1 0x6ccb58 in ???() at ???:0
Oct 20 17:44:33 WASMIE-PLAY-03 fluent-bit[1877010]: #2 0x6cf315 in ???() at ???:0
Oct 20 17:44:33 WASMIE-PLAY-03 fluent-bit[1877010]: #3 0x6cfe5c in ???() at ???:0
Oct 20 17:44:33 WASMIE-PLAY-03 fluent-bit[1877010]: #4 0xc18b66 in ???() at ???:0
Oct 20 17:44:33 WASMIE-PLAY-03 fluent-bit[1877010]: #5 0xffffffffffffffff in ???() at ???:0
Oct 20 17:44:42 WASMIE-PLAY-03 systemd[1]: fluent-bit.service: Main process exited, code=dumped, status=6/ABRT
Oct 20 17:44:42 WASMIE-PLAY-03 systemd[1]: fluent-bit.service: Failed with result 'core-dump'.
Oct 20 17:44:48 WASMIE-PLAY-03 systemd[1]: Restarted fluent-bit.service - Fluent Bit.
Oct 20 17:44:48 WASMIE-PLAY-03 fluent-bit[1952019]: Fluent Bit v4.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions