Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluentbit-3.2.1 is throwing 'for IFUNC symbol `memmove' Segmentation fault (core dumped)' error with Alpine-3.17 base container #9861

Open
dheerajericsson74 opened this issue Jan 22, 2025 · 3 comments
Labels
platform-not-supported waiting-for-user Waiting for more information, tests or requested changes

Comments

@dheerajericsson74
Copy link

dheerajericsson74 commented Jan 22, 2025

Bug Report

Describe the bug

Fluentbit-3.2.1 is throwing 'for IFUNC symbol `memmove' Segmentation fault (core dumped)' error with Alpine-3.17 base container

To Reproduce

  • Rubular link if applicable:
  • Example log message if applicable: use Apline 3.17 base container with fluentbit
{"log":"YOUR LOG MESSAGE HERE","stream":"stdout","time":"2018-06-11T14:37:30.681701731Z"}
  • Steps to reproduce the problem:

Expected behavior

Container should able to start with clean logs.
Screenshots

Following error is reported in logs :

/fluent-bit/bin/fluent-bit -c /fluent-bit/etc/fluent-bit.conf -e /fluent-bit/lib/out_gstdout.so
/fluent-bit/bin/fluent-bit: Relink /usr/lib/libbrotlidec.so.1' with us/r/glibc-compat/lib/libc.so.6' for IFUNC symbol `memmove' Segmentation fault (core dumped)

Your Environment

  • Version used:
  • /Envoy $ apk info glibc
    glibc-2.34-r0 description:
    GNU C Library compatibility layer

glibc-2.34-r0 webpage:
https://github.com/sgerrand/alpine-pkg-glibc

glibc-2.34-r0 installed size:

  • Configuration:

  • [SERVICE]
    Flush 1
    Log_Level error
    Log_File /opt/log/fluent-bit-logs.log
    Plugins_File /fluent-bit/etc/plugins.conf
    Parsers_File /fluent-bit/etc/parsers.conf
    HTTP_Server On
    HTTP_Listen 127.0.0.1
    HTTP_PORT 6020

    [INPUT]
    Name tail
    Tag monitor.*
    Parser original_log_parser
    Path /var/log/envoylb/monitor.log,/var/log/monitor.log
    Path_Key class
    DB /var/log/{{ .Chart.Name }}_{{ randAlphaNum 5 | lower }}_DbFile.db
    Exclude_Path /var/log/.db,.log.,.gz,.tar,.zip,.bz2,.xz,.7z

  • Environment name and version (e.g. Kubernetes? What version?):

  • Server type and version:

  • Operating System and version:

  • Filters and plugins:

Additional context

@patrick-stephens
Copy link
Contributor

Alpine is not supported: https://docs.fluentbit.io/manual/installation/docker#why-there-is-no-fluent-bit-docker-image-based-on-alpine-linux

How are you building, etc.? There is no official build or support for it.

@patrick-stephens patrick-stephens added waiting-for-user Waiting for more information, tests or requested changes platform-not-supported and removed status: waiting-for-triage labels Jan 22, 2025
@dheerajericsson74
Copy link
Author

Hi patrick-stephens, thanks for information and we are using customised base image.

@patrick-stephens
Copy link
Contributor

Sure, we cannot support a custom base image really and you need to at least provide more details on exactly what is custom, how you are building and also step up to latest 3.2.4 release.

At the moment though the general statement is Alpine is not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform-not-supported waiting-for-user Waiting for more information, tests or requested changes
Projects
None yet
Development

No branches or pull requests

2 participants