OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Segmentation fault in sh script using base utilities only

From: Andrés (adelfinogmail.com)
Date: Mon Aug 06 2007 - 10:53:14 CDT


On 8/6/07, Otto Moerbeek <ottodrijf.net> wrote:
>
> On Sun, 5 Aug 2007, Andris wrote:
>
> > Yeap, it segfaults here with:
> >
> > aTbTc
> > daaaaaaaaaaaTe
> > fsssssssssssssssssssssssssssss
> >
> > Upper case T are horizontal tabs. It makes OpenBSD freeze too :S
> >
>
> Hmm, no segfault here, just:
>
> [ottopepper:35]$ sh x
> awk: syntax error at source line 2
> context is
> { l = length($0); if >>>
> <<<
> awk: illegal statement at source line 2
> iax[33]: internal error: unable to allocate memory
> [ottopepper:35]$
>
> This is on current.
>
> -Otto

Could this be related to my lack of swap space?