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

SIGSEGV on dry-run with node_exporter_metrics input #8698

Closed
svenso opened this issue Apr 10, 2024 · 2 comments
Closed

SIGSEGV on dry-run with node_exporter_metrics input #8698

svenso opened this issue Apr 10, 2024 · 2 comments

Comments

@svenso
Copy link

svenso commented Apr 10, 2024

Bug Report

Describe the bug
When running --dry-run with node_exporter_metrics input, the process SIGSEGVs

fluent-bit --dry-run -c /etc/fluent-bit/fluent-bit.conf
Fluent Bit v3.0.1
* Copyright (C) 2015-2024 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io

___________.__                        __    __________.__  __          ________
\_   _____/|  |  __ __   ____   _____/  |_  \______   \__|/  |_  ___  _\_____  \
 |    __)  |  | |  |  \_/ __ \ /    \   __\  |    |  _/  \   __\ \  \/ / _(__  <
 |     \   |  |_|  |  /\  ___/|   |  \  |    |    |   \  ||  |    \   / /       \
 \___  /   |____/____/  \___  >___|  /__|    |______  /__||__|     \_/ /______  /
     \/                     \/     \/               \/                        \/

[2024/04/10 12:38:47] [ info] Configuration:
[2024/04/10 12:38:47] [ info]  flush time     | 1.000000 seconds
[2024/04/10 12:38:47] [ info]  grace          | 5 seconds
[2024/04/10 12:38:47] [ info]  daemon         | 0
[2024/04/10 12:38:47] [ info] ___________
[2024/04/10 12:38:47] [ info]  inputs:
[2024/04/10 12:38:47] [ info]      node_exporter_metrics
[2024/04/10 12:38:47] [ info] ___________
[2024/04/10 12:38:47] [ info]  filters:
[2024/04/10 12:38:47] [ info] ___________
[2024/04/10 12:38:47] [ info]  outputs:
[2024/04/10 12:38:47] [ info] ___________
[2024/04/10 12:38:47] [ info]  collectors:
configuration test is successful
[2024/04/10 12:38:47] [engine] caught signal (SIGSEGV)
#0  0x562931ef9d1e      in  flb_input_exit_all() at src/flb_input.c:1320
#1  0x562931f1617c      in  flb_engine_shutdown() at src/flb_engine.c:1121
#2  0x562931eee034      in  flb_destroy() at src/flb_lib.c:240
#3  0x562931e53772      in  flb_main() at src/fluent-bit.c:1348
#4  0x7fd50bf0ad8f      in  ???() at ???:0
#5  0x7fd50bf0ae3f      in  ???() at ???:0
#6  0x562931e51164      in  ???() at ???:0
#7  0xffffffffffffffff  in  ???() at ???:0
Aborted (core dumped)

To Reproduce

Use the following minimal config file:

[INPUT]
    name node_exporter_metrics

[SERVICE]
    flush 1
    daemon Off
    log_level trace

Run with dry-run:
fluent-bit --dry-run -c /etc/fluent-bit/fluent-bit.conf

Expected behavior
No SIGSEGV and exitcode 0
(used for validating config files in our case)

Your Environment

  • Version used: 3.0.1 (and 2.2.2)
  • Configuration: see "steps to reproduce"
  • Environment name and version (e.g. Kubernetes? What version?): native
  • Server type and version: VMWARE VM
  • Operating System and version: Ubuntu 22.04.3 LTS
  • Filters and plugins: none
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

@github-actions github-actions bot added the Stale label Jul 12, 2024
Copy link
Contributor

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant