[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash2 segfaults in while: do loops

From: Bob Proulx
Subject: Re: Bash2 segfaults in while: do loops
Date: Fri, 15 Sep 2006 09:23:27 -0600
User-agent: Mutt/1.5.9i

address@hidden wrote:
> Bash Version: 2.05b
> Patch Level: 0
> ...
>       When trying to run a while loop, bash seldom segfaults. The
> behavior is not constant. The machine is in fact an AMD 64x2, here
> is a extract from dmesg:
> ...
> address@hidden ~]$ while : ; do true ;done
> Segmentation fault: 11 (core dumped)

Unfortunately that is such a non-specific error that only non-specific
responses can be given.

Obviously such a simple case should not produce a segmentation fault
and does not on most systems or there would be many reports.  I am
also running bash-2.05b from Debian Sarge/Stable on amd64 and am not
experiencing this problem.  Therefore I conjecture that this is
something specific to your particular environment, compiler, library,
or other.  Probably simply rebuilding the previous source with a fresh
environment would avoid or move this problem around.

Since you are running FreeBSD you might be able to find OS specific
help from a FreeBSD support group.  I suggest you ask there and see
what other users suggest.  Personally I think you just have a bad
build and if you can get a better build you will avoid this problem.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]