We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
We encountered a case where fluent-bit deadlocked during a reload (SIGHUP via the api).
Backtrace
(gdb) bt #0 futex_wait (private=0, expected=2, futex_word=0x7fd3d5a00740 <tzset_lock>) at ../sysdeps/nptl/futex-internal.h:146 #1 __GI___lll_lock_wait_private (futex=futex@entry=0x7fd3d5a00740 <tzset_lock>) at lowlevellock.c:35 #2 0x00007fd3d5909c1c in __tz_convert (timer=1745935171, use_localtime=1, tp=0x7ffc9a3aefd0) at tzset.c:572 #3 0x000000000054108d in flb_log_construct () #4 0x000000000054140c in flb_log_print () #5 0x00000000005787b2 in flb_reload () #6 0x00000000004b152f in flb_main () #7 0x00007fd3d583fee0 in __libc_start_call_main (main=main@entry=0x4af110 <main>, argc=argc@entry=3, argv=argv@entry=0x7ffc9a3b03d8) at ../sysdeps/nptl/libc_start_call_main.h:58 #8 0x00007fd3d583ff90 in __libc_start_main_impl (main=0x4af110 <main>, argc=3, argv=0x7ffc9a3b03d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc9a3b03c8) at ../csu/libc-start.c:389 #9 0x00000000004af155 in _start ()
Environment
6.1.132-147.221.amzn2023.x86_64
After post-mortem debugging an instance of this, it seems the a possible culprit is using localtime (AS-Unsafe) in a signal handler.
localtime
fluent-bit/src/fluent-bit.c
Line 589 in 10a24b1
The text was updated successfully, but these errors were encountered:
Also looks like on our glibc version snprintf calls vfprintf which also acquires locks.
snprintf
vfprintf
Sorry, something went wrong.
Could you please put up a simple repro case for us to use to ensure that we are looking at the same thing?
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
We encountered a case where fluent-bit deadlocked during a reload (SIGHUP via the api).
Backtrace
Environment
6.1.132-147.221.amzn2023.x86_64
After post-mortem debugging an instance of this, it seems the a possible culprit is using
localtime
(AS-Unsafe) in a signal handler.fluent-bit/src/fluent-bit.c
Line 589 in 10a24b1
The text was updated successfully, but these errors were encountered: