Hi,

we've found regression in new ksh. It crashes during several tests from 
src/cmd/ksh93/tests. First one being arith.sh test, with backtrace ending:

#0 towctrans () from /lib64/libc-2.12.90.so
#1 put_trans (np=0x22cac20, val=0x22c5151 "0 -0 -0 -0 -0 -0", flags=1, 
fp=0x22c5100) at sh/init.c:2087
#2 nv_putv (np=0x22cac20, value=0x22c5150 "-0 -0 -0 -0 -0 -0", flags=1, 
nfp=0x2d) at sh/nvdisc.c:150
...
...

In Mapchar structure mp->trans has obviously wrong value (0xffffxxxx) which 
makes towctrans crash. Problem seems to be caused with some build time checks, 
because if I comment out this:

#if !_typ_wctrans_t
#undef  wctrans_t
#define wctrans_t       sh_wctrans_t
typedef int wctrans_t;
#endif

from init.c everything works fine, so typ wctrans_t test probably does not 
worka as expected.

Michal
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to