Hi!
----
We found another crash related to binary variables: The following
testcase (which should in theory work like "dd"/"cat") crashes in
"printf":
-- snip --
$ VMDEBUG=a ksh93 -c 'compound x ; typeset -b -A x.ar ; i=0 ; while read
-N10 x.ar[$i] ; do (( i++ )) ; done </etc/profile ; for ((j=0 ; j < i ;
j++ )) ; do printf "%B" x.ar[$j] ;
done'
Memory fault(coredump)
$ pstack
core
core 'core' of 26916: ksh93 -c compound x ; typeset -b -A x.ar ; i=0 ;
while read -N10 x.ar[
ffffffff7f045890 strlen (100129ce0, 10010c2e1, 0, 0, 0,
ffffffff7daa4000) + 50
ffffffff7d91add4 extend (10010c2e1, ffffffff7fff9660, ffffffff7fffc460,
73, ffffffff7daa4000, ffffffff7daa74c8) + aa8
ffffffff7eb92a90 sfvprintf (ffffffff7ecf18e8, ffffffffffffffff,
ffffffffffffffff, 10010aaf0, 0, 0) + 960
ffffffff7eb89c48 sfprintf (ffffffff7ecf18e8, ffffffff7d9a0820,
ffffffff7fffc460, 3, ffffffff7ecf17b8, ffffffffffefc820) + 1c
ffffffff7d9195e4 b_print (10010c320, 10010c308, 0, 8202,
ffffffff7ecf18e8, 10010c308) + 73c
ffffffff7d918e98 b_printf (10f000, 10010c2f8, ffffffff7daa73d0, 18b1ac,
ffffffff7daa4000, ffffffff7daa6f00) + 48
ffffffff7d9810a0 sh_exec (10010c190, 204, 0, 1, 0, 4) + 15c0
ffffffff7d983764 sh_exec (1, ffffffff7daa6f00, 1, 0, 0, 0) + 3c84
ffffffff7d97fe2c sh_exec (10010c290, 5, 0, 0, 1, 0) + 34c
ffffffff7d95b568 exfile (24, 25, 10010c290, 24, 4, 4) + be8
ffffffff7d95a964 sh_main (0, 40000200001, 0, ffffffff7daa4000,
ffffffff7daa6f00, ffffffff7daa4000) + c78
0000000100000d58 main (3, ffffffff7ffff9e8, ffffffff7ffffa08, 1f3ee8,
1c80, 10000) + 44
0000000100000cfc _start (0, 0, 0, 0, 0, 0) + 17c
-- snip --
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) [email protected]
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users