Reproducible sig 11 with bash2

Mike Jakubik mikej at rogers.com
Thu Apr 7 11:24:48 PDT 2005


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.




More information about the freebsd-current mailing list