Michal, that is a bug in one of the iffe probes. The bug will only
happen for platforms with sizeof(int) != sizeof(long), i.e. 64bit
Linux machines. Solaris is OK.
We've observed this on SuSE 11 but more data, e.g. from Fedora may
help. Please run this and send iffe.out to this list:
bin/package use
cd ksh93
iffe -v -d2 - typ wctrans_t wctype.h > iffe.out 2>&1
Olga
On Thu, Jan 6, 2011 at 1:47 PM, Michal Hlavinka <[email protected]> wrote:
> 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
>
--
, _ _ ,
{ \/`o;====- Olga Kryzhanovska -====;o`\/ }
.----'-/`-/ [email protected] \-`\-'----.
`'-..-| / http://twitter.com/fleyta \ |-..-'`
/\/\ Solaris/BSD//C/C++ programmer /\/\
`--` `--`
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers