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
function input_feed { typeset i for ((i=0; 1; i++)) do print "1,string,0,9,1,-1,1" sleep 1 done } function alarm_handler { # Drop the tables, get ready for reload # Reload the process table typeset arg1 arg2 print "arg1 arg2" | while read arg1 arg2 do print "Interrupt: arg1=$arg1 arg2=$arg2 " done } alarm -r alarm_handler +5 function alarm_handler.alarm { alarm_handler print "UPDATE!" } input_feed | while IFS=',' read arg1 arg2 arg3 arg4 arg5 arg6 arg7 do print "$arg1 $arg2 $arg3 $arg4 $arg5 $arg6 $arg7" done
_______________________________________________ ast-developers mailing list ast-developers@lists.research.att.com http://lists.research.att.com/mailman/listinfo/ast-developers