Discussion:
[ast-developers] Ksh93( 2012-08-01 ) dumps core in sh_readline()
rohith
2014-03-17 11:45:26 UTC
Permalink
Hi ,

The attached script dumps core with the following output on 2012-08-01.

<snip>
1 string 0 9 1 -1 1
1 string 0 9 1 -1 1
1 string 0 9 1 -1 1
1 string 0 9 1 -1 1
1 string 0 9 1 -1 1
Interrupt: arg1=arg1 arg2=arg2
Segmentation Fault (core dumped)
</snip>

$ pstack core
core 'core' of 5408: ksh ./test.ksh
080cdd7c sh_readline (81adc78, fed7a3dc, 0, 0, 0, 0) + e58
080ccd51 b_read (8, fed7a3bc, 81adf30, 0) + 45d
080b814a sh_exec (fed7a304, 0, 8046e18, 80b4bc8) + 3596
080b6009 sh_exec (fed7a2e4, 4, 0, 0) + 1455
080b94b5 sh_exec (fed7a464, 4, 8047664, 80b4bc8) + 4901
080b6c5b sh_exec (fed7a464, 4) + 20a7
08067d6a exfile (81adc78, fed994c0, a) + a3a
0806730b sh_main (2, 8047848, 0, fedf94d5, 4, 0) + b1b
0806670f main (2, 8047848, 8047854, 804783c) + 43
0806663d _start (2, 804797c, 80479a7, 0, fed8b028, 80479d8) + 7d


Does anyone have a fix for this ?

Thanks
Rohith
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.ksh
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20140317/4e4047f4/attachment.ksh>
Loading...