D 2010-05-30T07:54:18
J icomment To\smake\sit\sclearer\swhere\sthe\sbadness\sis\soccurring,\sI've\smodified\sthe\scode.\n\nproc\sbottomp\s{y}\s{\n\s\s\s\sputs\sstderr\s"*running\sbottom"\n\s\s\s\safter\s0\stop\s1\n\s\s\s\sputs\sstderr\s"*yield\sin\sbottom"\n\s\s\s\syield\n\s\s\s\sputs\sstderr\s"*return\sfrom\sbottom"\n}\n\nproc\stopp\s{x}\s{\n\s\s\s\sputs\sstderr\s"*running\stop"\n\s\s\s\scoroutine\sbottom\sbottomp\s2\n\s\s\s\safter\s0\sbottom\s3\n\s\s\s\sputs\sstderr\s"*yield\sin\stop"\n\s\s\s\syield\n\s\s\s\sputs\sstderr\s"*return\sfrom\stop"\n}\n\nputs\sstderr\s"*starting"\ncoroutine\stop\stopp\s1\n\nset\sdone\s0\nvwait\sdone\n\nAnd\shere\sis\sthe\soutput\s(edited\sfor\sclarity):\n\n*starting\nTclNRCoroutineObjCmd\ssave\scaller:\s0x86a7610\nSAVE\s:\s0x8679e48\nTclProcCompileProc:\sPUSH\s:\s0x869f470\s0x8679e48\nTclProcCompileProc:\sDELETING\s0x869f470\sPOP\s:\s0x8679e48\nPushProcCallFrame:\sPUSH\s:\s0x869f470\s0x8679e48\n*running\stop\nTclNRCoroutineObjCmd\ssave\scaller:\s0x86a7a90\nSAVE\s:\s0x869f470\s0x8679e48\nTclProcCompileProc:\sPUSH\s:\s0x869ec70\s0x869f470\s0x8679e48\nTclProcCompileProc:\sDELETING\s0x869ec70\sPOP\s:\s0x869f470\s0x8679e48\nPushProcCallFrame:\sPUSH\s:\s0x869ec70\s0x869f470\s0x8679e48\n*running\sbottom\n*yield\sin\sbottom\nNRCoroutineCallerCallback\ssave\srunning:\s0x86a7a90\nSAVE\s:\s0x869ec70\s0x869f470\s0x8679e48\nNRCoroutineCallerCallback\srestore\scaller:\s0x86a7a90\nRESTORE\s:\s0x869f470\s0x8679e48\n*yield\sin\stop\nNRCoroutineCallerCallback\ssave\srunning:\s0x86a7610\nSAVE\s:\s0x869f470\s0x8679e48\nNRCoroutineCallerCallback\srestore\scaller:\s0x86a7610\nRESTORE\s:\s0x8679e48\nNRInterpCoroutine\ssave\scaller:\s0x86a7610\nSAVE\s:\s0x8679e48\nNRInterpCoroutine\srestore\srunning:\s0x86a7610\nRESTORE\s:\s0x869f470\s0x8679e48\n*return\sfrom\stop\nInterpProcNR2:\sPOP\s:\s0x8679e48\nInterpProcNR2:\sDELETING\s0x869f470\nNRCoroutineExitCallback\srestore\scaller\s0x86a7610\nRESTORE\s:\s0x8679e48\nNRInterpCoroutine\ssave\scaller:\s0x86a7a90\nSAVE\s:\s0x8679e48\nNRInterpCoroutine\srestore\srunning:\s0x86a7a90\nRESTORE\s:\s0x869ec70\s0x869f470\s0xfffffff9Segmentation\sfault\n\nThe\sbadness\shere\sis\saround\sstack\selement\s0x869f470\n\nI\n
J login coldstore
J mimetype text/plain
J username coldstore
K 3008307fffffffffffffffffffffffffffffffff
U coldstore
Z fce8bac1399b2828c2eb9538805030b2