On Tuesday, April 12, 2011 10:46:03 Michal Hlavinka wrote:
> Hi,
>
> is there any plan to release new beta version soon? We'd like to test some
> bug
> fixes that should be fixed in this not yet released version. Thanks
>
> Michal
Hi,
we've tested new ksh beta version with this result. You probably know about
some of these bugs:
1) kill <some big number>
triggers overflow in strtol called on line 938 in sh/jobs.c:job_walk, which
kills group with init = whole system.
This affects older versions too.
2) typeset foo[7]; echo ${#foo[@]} = 1 instead of 0 bug is still present
3) there is regression on 32bit systems compared to 2011-02-08. 32bit ksh
crashes in basic.sh test:
#0 __strlen_sse2_bsf () at ../sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S:52
#1 _sfopen (f=0x0, file=0x1 <Address 0x1 out of bounds>, mode=0x8159bbd "s")
at lib/libast/sfio/_sfopen.c:88
#2 sfopen (f=0x0, file=0x1 <Address 0x1 out of bounds>, mode=0x8159bbd "s")
at lib/libast/sfio/sfopen.c:39
#3 sh_trap (trap=0x1 <Address 0x1 out of bounds>, mode=0)
at cmd/ksh93/sh/fault.c:474
#4 sh_subshell (shp=0x81a16a0, t=0x99dc5dc, flags=<optimized out>, comsub=1)
at cmd/ksh93/sh/subshell.c:586
#5 comsubst (mp=0x99d98f0, t=<optimized out>, type=<optimized out>)
at cmd/ksh93/sh/macro.c:2111
#6 varsub (mp=0x99d98f0)
at cmd/ksh93/sh/macro.c:1176
#7 copyto (mp=<optimized out>, endch=0, newquote=0)
at cmd/ksh93/sh/macro.c:631
#8 sh_mactrim (shp=0x81a16a0, str=0x99dc2e1 "got=$(\n\tfunction
fun\n\t{\n\t\t$binfalse && echo FAILED\n\t}\n\t: works if this line
deleted : |\n\tfun\n\t:
works if this line deleted :\n)", mode=-1)
at cmd/ksh93/sh/macro.c:182
#9 nv_setlist (arg=0x99dc2d8, flags=131584, typ=0x0)
at cmd/ksh93/sh/name.c:336
#10 sh_exec (t=0x99dc360, flags=4)
at cmd/ksh93/sh/xec.c:1076
#11 exfile ()
#12 sh_main ()
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers