You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm experiencing a segmentation fault (SIGSEGV) when ACK is enabled in Fluent Bit. It appears that when ingestion is paused ([ warn] [input] forward.0 paused (mem buf overlimit) ) all active connections are being closed before send_ack is executed, leading to a null pointer dereference.
Enable ACK by setting up chunk_id before sending data to input forward plugin
Run fluent-bit in an env where it can exceed the memory buffer limit
Wait until the memory buffer overlimit condition triggers
Expected behavior
Fluent Bit should handle the ACK response gracefully, even when active connections are closed due to memory buffer overlimit or other conditions.
Screenshots
Your Environment
Version used: latest
Configuration:
[SERVICE]
Log_Level info
HTTP_Server On
HTTP_Listen 0.0.0.0
HTTP_Port 8085
Parsers_File parsers.conf
[INPUT]
Name forward
Listen 127.0.0.1
Port 24224
Buffer_Chunk_Size 512KB
Buffer_Max_Size 2MB
Mem_Buf_Limit 10MB
[OUTPUT]
Name null
Match *
Environment name and version (e.g. Kubernetes? What version?):
Server type and version:
Operating System and version: macOs
Filters and plugins:
Additional context
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
I'm experiencing a segmentation fault (SIGSEGV) when ACK is enabled in Fluent Bit. It appears that when ingestion is paused (
[ warn] [input] forward.0 paused (mem buf overlimit)
) all active connections are being closed beforesend_ack
is executed, leading to a null pointer dereference.In the following code snippet from
fw_prot.c
The
conn->connection
is null whensend_ack
is called, causing the crash.To Reproduce
Expected behavior
Fluent Bit should handle the ACK response gracefully, even when active connections are closed due to memory buffer overlimit or other conditions.
Screenshots
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: