From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 9 16:00:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5330916A419 for ; Fri, 9 Nov 2007 16:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1549913C4BC for ; Fri, 9 Nov 2007 16:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lA9G01Eq025114 for ; Fri, 9 Nov 2007 16:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lA9G01D2025113; Fri, 9 Nov 2007 16:00:01 GMT (envelope-from gnats) Resent-Date: Fri, 9 Nov 2007 16:00:01 GMT Resent-Message-Id: <200711091600.lA9G01D2025113@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, Aprigio Neto Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5218516A419 for ; Fri, 9 Nov 2007 15:54:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2AB13C4C4 for ; Fri, 9 Nov 2007 15:54:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lA9Fs79c021992 for ; Fri, 9 Nov 2007 15:54:07 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id lA9Fs7sZ021991; Fri, 9 Nov 2007 15:54:07 GMT (envelope-from nobody) Message-Id: <200711091554.lA9Fs7sZ021991@www.freebsd.org> Date: Fri, 9 Nov 2007 15:54:07 GMT From: Aprigio Neto To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/117942: Core Dump on redir X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 16:00:01 -0000 >Number: 117942 >Category: ports >Synopsis: Core Dump on redir >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Nov 09 16:00:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Aprigio Neto >Release: FreeBSD 6.2-STABLE >Organization: Grupos Internet S.A. >Environment: FreeBSD xxx.xxxxxx.xxx 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Oct 4 09:16:11 UTC 2007 root@:/usr/src/sys/amd64/compile/KERNEL amd64 >Description: I've been compiled and started the 'redir-2.2.1' program, and when it is accepting a connection it make a core dump. >How-To-Repeat: always on redir-2.2.1 . >Fix: Debugging the code (using "truss") I found a lib with problem, named "TCP_WRAPPER". I've been compiled the 'redir' whitout "TCP_WRAPPER" and it is OK now. Patch attached with submission follows: 34c34 < CFLAGS += -Wall -Igetopt $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS) --- > CFLAGS += -Wall -Igetopt $(STR_CFLAGS) $(EXTRA_CFLAGS) >Release-Note: >Audit-Trail: >Unformatted: