>ksh93 folks -- can you help Edgar debug his ksh core?
>On 03/ 3/10 02:03 AM, Edgar Liu wrote: >> Hello Liane, >> >> I reinstall OpenSolaris b133 and install package >> developer/opensolaris/osnet, but I still get core segment fault of ksh. >> Could you please point me to someone who is expect at this? >> >> Another question is where to find log file when running nightly? nightly >> didn't create log directory under workspace as before. >> >> admin at opensolaris:/build/admin/audiong_audiohd$ ls -l >> total 3 >> drwxr-xr-x 2 admin staff 15 Mar 3 21:43 exception_lists >> drwxr-xr-x 4 admin staff 4 Mar 3 21:43 usr >I'm guessing that's because ksh coredumped trying to execute nightly, >and nightly didn't get to do anything... >liane >> admin at opensolaris:/build/admin/audiong_audiohd/usr/src/tools/scripts$ >> pstack core | more >> core 'core' of 13307: /bin/ksh -p ./nightly -t nightly.sh I think the problem here is a infinite loop. You're running "nightly" with the script *itself* as the developer.env script; which again sources nightly.sh; it recurses until it runs out of stack and it core dumps. Casper