From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 19 08:20:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27B4CC3A for ; Fri, 19 Oct 2012 08:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id D7F348FC1B for ; Fri, 19 Oct 2012 08:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9J8K1kJ085949 for ; Fri, 19 Oct 2012 08:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9J8K1Ux085948; Fri, 19 Oct 2012 08:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 19 Oct 2012 08:20:01 GMT Resent-Message-Id: <201210190820.q9J8K1Ux085948@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alfred Bartsch Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2741EB6F for ; Fri, 19 Oct 2012 08:10:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 0C53B8FC08 for ; Fri, 19 Oct 2012 08:10:38 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9J8Abk2064172 for ; Fri, 19 Oct 2012 08:10:37 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q9J8AbaV064171; Fri, 19 Oct 2012 08:10:37 GMT (envelope-from nobody) Message-Id: <201210190810.q9J8AbaV064171@red.freebsd.org> Date: Fri, 19 Oct 2012 08:10:37 GMT From: Alfred Bartsch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/172871: freeipmi-1.1.7: segmentation fault ipmi-sensors X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 08:20:02 -0000 >Number: 172871 >Category: ports >Synopsis: freeipmi-1.1.7: segmentation fault ipmi-sensors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 19 08:20:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alfred Bartsch >Release: FreeBSD 8.3-stable >Organization: Data-Service GmbH >Environment: FreeBSD ds832pkg.incore 8.3-STABLE FreeBSD 8.3-STABLE #3: Fri Sep 14 12:30:52 CEST 2012 root@dsscons2.incore:/usr/obj/usr/src/sys/SERVER i386 >Description: the command ipmi-sensors fails with "segmentation fault", at least in i386 environment. >How-To-Repeat: install freeipmi-1.1.7 in an i386 environment. run ipmi-sensors >Fix: The following path solves this issue for me: --- ipmi-sensors/ipmi-sensors-argp.c.orig 2012-07-30 19:01:47.000000000 +0200 +++ ipmi-sensors/ipmi-sensors-argp.c 2012-10-18 17:28:28.000000000 +0200 @@ -353,7 +353,7 @@ '\0', sizeof (struct config_file_data_ipmi_sensors)); - if (config_file_parse (cmd_args->common.config_file, + if (cmd_args->common.config_file != NULL && config_file_parse (cmd_args->common.config_file, 0, &(cmd_args->common), &(cmd_args->sdr), A similar patch was included in port freeipmi version 1.0.7. >Release-Note: >Audit-Trail: >Unformatted: