From owner-freebsd-ports-bugs@freebsd.org Thu Jul 30 00:41:53 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 7E704370CAE for ; Thu, 30 Jul 2020 00:41:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BHBSK2mzvz4SXd for ; Thu, 30 Jul 2020 00:41:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 59B5F370E84; Thu, 30 Jul 2020 00:41:53 +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 597DC370E83 for ; Thu, 30 Jul 2020 00:41:53 +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 4BHBSK0mDDz4Sqs for ; Thu, 30 Jul 2020 00:41:53 +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 F31858A47 for ; Thu, 30 Jul 2020 00:41:52 +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 06U0fq4D033303 for ; Thu, 30 Jul 2020 00:41:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06U0fqsh033300 for ports-bugs@FreeBSD.org; Thu, 30 Jul 2020 00:41:52 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 248358] sysutils/bareos-server bareos-dir core dumps during -t configtest at startup Date: Thu, 30 Jul 2020 00:41:52 +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: ddrinnon@cdor.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: acm@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: Thu, 30 Jul 2020 00:41:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248358 Bug ID: 248358 Summary: sysutils/bareos-server bareos-dir core dumps during -t configtest at startup Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: ddrinnon@cdor.net Assignee: acm@FreeBSD.org Flags: maintainer-feedback?(acm@FreeBSD.org) When running service bareos-dir start, I get a core dump: root@nas04:/usr/local/etc/bareos # service bareos-dir start Performing sanity check on /usr/local/etc/bareos/ configuration: BAREOS interrupted by signal 11: Segmentation violation Segmentation fault (core dumped) /usr/local/etc/rc.d/bareos-dir: WARNING: failed precmd routine for bareos_d= ir manually running /usr/local/sbin/bareos-dir with -t and -d 1000: .... bareos-dir (500): cats/mysql.cc:540-0 we have 0 rows bareos-dir (100): cats/sql_query.cc:105-0 called: void BareosDb::FillQueryVaList(PoolMem &, BareosDb::SQL_QUERY, __va_list_tag *) = with query name sql_get_max_connections (45) bareos-dir (100): cats/sql_query.cc:110-0 called: void BareosDb::FillQueryVaList(PoolMem &, BareosDb::SQL_QUERY, __va_list_tag *) query is now SHOW VARIABLES LIKE 'max_connections' bareos-dir (500): cats/mysql.cc:414-0 SqlQueryWithHandler starts with SHOW VARIABLES LIKE 'max_connections' bareos-dir (500): cats/mysql.cc:465-0 SqlQueryWithHandler succeeded. checki= ng handler bareos-dir (500): cats/mysql.cc:487-0 SqlQueryWithHandler finished bareos-dir (100): cats/mysql.cc:247-0 closedb ref=3D0 connected=3D1 db=3D80= 3c53848 bareos-dir (100): cats/mysql.cc:252-0 close db=3D803c53848 BAREOS interrupted by signal 11: Segmentation violation Segmentation fault (core dumped) bareos-dir seems to run okay and is able to backup and restore clients if I bypass the "-t" in /usr/local/etc/rc.d/bareos-dir or just run /usr/local/sbin/bareos-dir -u bareos -g bareos -v -c /usr/local/etc/bareos/ manually.=20 This is on a FreeBSD x64 v11.3 p11 system and I've duplicated it on other 1= 1.3 systems as well. This happens with Bareos 18 and 19. 17 works fine. I ha= ve not tested on v11.4 or higher. Using MySQL 5.7 for the db server. --=20 You are receiving this mail because: You are the assignee for the bug.=