From owner-freebsd-ports@FreeBSD.ORG Thu Apr 7 18:24:48 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EF2E16A4CF for ; Thu, 7 Apr 2005 18:24:48 +0000 (GMT) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id C011E43D49 for ; Thu, 7 Apr 2005 18:24:47 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from unknown (HELO 172.16.0.1) (mikej@69.193.222.195 with login) by smtp100.rog.mail.re2.yahoo.com with SMTP; 7 Apr 2005 18:24:47 -0000 Received: from 172.16.0.199 (SquirrelMail authenticated user mikej) by 172.16.0.1 with HTTP; Thu, 7 Apr 2005 14:24:38 -0400 (EDT) Message-ID: <4106.172.16.0.199.1112898278.squirrel@172.16.0.1> In-Reply-To: <42553ED0.70707@tvog.net> References: <1724.172.16.0.199.1112814116.squirrel@wettoast.dyndns.org> <20050406191652.GA26737@xor.obsecurity.org> <1805.172.16.0.199.1112815734.squirrel@wettoast.dyndns.org> <20050406193254.GA26965@xor.obsecurity.org> <1890.172.16.0.199.1112818160.squirrel@wettoast.dyndns.org> <42553ED0.70707@tvog.net> Date: Thu, 7 Apr 2005 14:24:38 -0400 (EDT) From: "Mike Jakubik" To: "Frank Laszlo" User-Agent: SquirrelMail/1.5.1 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-current@freebsd.org cc: freebsd-ports@freebsd.org cc: Kris Kennaway Subject: Re: Reproducible sig 11 with bash2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2005 18:24:48 -0000 On Thu, April 7, 2005 10:08 am, Frank Laszlo said: > Trying compiling this against ports/devel/readline and see if it still > exists. I've seen this bug before, I believe it has to do with bash's > autocompletion. Give the readline port a shot FYI. Bash v3 does not have this problem. > At 5:56 PM -0400 4/6/05, Mike Jakubik wrote: > >> On Wed, April 6, 2005 6:45 pm, Garance A Drosihn said: >> >>> >>> See: >>> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/75315 >>> >>> >>> The PR includes instructions on a quick way around the problem, if >>> it's something that you personally trip over very often (which I did, >>> because I like typing in ... >> >> As i mentioned in my last email, recompiling system libreadline >> with -O instead of default -O2 fixes the problem for me. > > I realize that, but I am pretty sure it is still true that the > real problem is a mismatch in libreadline versions. Changing the > compile-time options may happen to solve the sig-11, but it might also > leave some other obscure problems lurking around... > > The fix I did was the one in the PR, which was: > > > cp /usr/include/readline/history.h ./work/bash-2.05b/lib/readline/ > > I did not have to recompile the system libreadline at all. Ok, thanks for the info! I will try your fix instead. I wonder how this can be solved permanently though. Also, bash3 is out, would be intresting to see if it too has this problem.