From owner-freebsd-ports-bugs@freebsd.org Tue Nov 3 04:16:01 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9160B449B43 for ; Tue, 3 Nov 2020 04:16:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CQGg53Mgjz4YM3 for ; Tue, 3 Nov 2020 04:16:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 73876449E47; Tue, 3 Nov 2020 04:16:01 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 734BE449F31 for ; Tue, 3 Nov 2020 04:16:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQGg52Xs5z4YS3 for ; Tue, 3 Nov 2020 04:16:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3BC4314F85 for ; Tue, 3 Nov 2020 04:16:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A34G1Px096166 for ; Tue, 3 Nov 2020 04:16:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A34G11Y096165 for ports-bugs@FreeBSD.org; Tue, 3 Nov 2020 04:16:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250825] sysutils/fluent-bit: 1.6.2 SIGSEGV on start Date: Tue, 03 Nov 2020 04:16:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pete@nomadlogic.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: girgen@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 04:16:01 -0000 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.=