Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Nov 2020 04:16:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250825] sysutils/fluent-bit: 1.6.2 SIGSEGV on start
Message-ID:  <bug-250825-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250825

            Bug ID: 250825
           Summary: sysutils/fluent-bit: 1.6.2 SIGSEGV on start
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: girgen@FreeBSD.org
          Reporter: pete@nomadlogic.org
          Assignee: girgen@FreeBSD.org
             Flags: maintainer-feedback?(girgen@FreeBSD.org)

Running fluent-bit on both 12.2-RELEASE and 13-CURRENT I am getting a SIGSE=
GV
after starting fluent-bit:

$  fluent-bit -v -i dummy -o stdout
Fluent Bit v1.6.2
* Copyright (C) 2019-2020 The Fluent Bit Authors
* Copyright (C) 2015-2018 Treasure Data
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io

[2020/11/03 04:01:21] [ info] Configuration:
[2020/11/03 04:01:21] [ info]  flush time     | 5.000000 seconds
[2020/11/03 04:01:21] [ info]  grace          | 5 seconds
[2020/11/03 04:01:21] [ info]  daemon         | 0
[2020/11/03 04:01:21] [ info] ___________
[2020/11/03 04:01:21] [ info]  inputs:
[2020/11/03 04:01:21] [ info]      dummy
[2020/11/03 04:01:21] [ info] ___________
[2020/11/03 04:01:21] [ info]  filters:
[2020/11/03 04:01:21] [ info] ___________
[2020/11/03 04:01:21] [ info]  outputs:
[2020/11/03 04:01:21] [ info]      syslog.0
[2020/11/03 04:01:21] [ info] ___________
[2020/11/03 04:01:21] [ info]  collectors:
[2020/11/03 04:01:21] [ info] [engine] started (pid=3D1131)
[2020/11/03 04:01:21] [debug] [engine] coroutine stack size: 24576 bytes
(24.0K)
[2020/11/03 04:01:21] [debug] [storage] [cio stream] new stream registered:
dummy.0
[2020/11/03 04:01:21] [ info] [storage] version=3D1.0.6, initializing...
[2020/11/03 04:01:21] [ info] [storage] in-memory
[2020/11/03 04:01:21] [ info] [storage] normal synchronization mode, checks=
um
disabled, max_chunks_up=3D128
[2020/11/03 04:01:21] [ info] [output:syslog:syslog.0] setup done for
127.0.0.1:514
[2020/11/03 04:01:21] [debug] [router] default match rule dummy.0:syslog.0
[2020/11/03 04:01:21] [ info] [sp] stream processor started
[2020/11/03 04:01:22] [error] [src/flb_scheduler.c:52 errno=3D0] No error: 0
[2020/11/03 04:01:23] [error] [src/flb_scheduler.c:52 errno=3D0] No error: 0
[2020/11/03 04:01:24] [error] [src/flb_scheduler.c:52 errno=3D0] No error: 0
[2020/11/03 04:01:25] [error] [src/flb_scheduler.c:52 errno=3D0] No error: 0
[2020/11/03 04:01:26] [error] [src/flb_scheduler.c:52 errno=3D0] No error: 0
[2020/11/03 04:01:26] [debug] [task] created task=3D0x800b910a0 id=3D0 OK
[2020/11/03 04:01:26] [engine] caught signal (SIGSEGV)
ERROR: no stack trace because unwind library not available (0)Abort trap (c=
ore
dumped)


I seem to get the same error regardless of which input and output method I =
use.=20

Running through truss seems to show that it can't find some NLS files - but=
 I'm
not sure if that's a red herring (my locale is en_US:UTF-8):

 1117: fstatat(AT_FDCWD,"/usr/share/nls/C/libc.cat",0x7fffdfffcba0,0x0) ERR=
#2
'No such file or directory'
 1117: fstatat(AT_FDCWD,"/usr/share/nls/libc/C",0x7fffdfffcba0,0x0) ERR#2 '=
No
such file or directory'
 1117: fstatat(AT_FDCWD,"/usr/local/share/nls/C/libc.cat",0x7fffdfffcba0,0x=
0)
ERR#2 'No such file or directory'
 1117: fstatat(AT_FDCWD,"/usr/local/share/nls/libc/C",0x7fffdfffcba0,0x0) E=
RR#2
'No such file or directory'

I've looked at src/flb_scheduler.c and line 52 is pretty uninteresting:
 45     /* We need to consume the byte */
 46     ret =3D flb_pipe_r(fd, &val, sizeof(val));
 47 #ifdef __APPLE__
 48     if (ret < 0) {
 49 #else
 50     if (ret <=3D 0) {
 51 #endif
 52         flb_errno();
 53         return -1;
 54     }


Let me know if more information is needed, I'm building a local pkg via
poudriere now to see if I can reproduce or get additional debug info.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250825-7788>