From: Henry N. <Hen...@Ar...> - 2008-05-11 22:12:18
|
Henry Nestler schrieb: > Paolos test source: >> int pid; >> >> int main() >> { >> pid=fork(); >> if (pid==0) >> { >> while (1) printf("X"); >> } >> else >> { >> char c[1024]; >> read(STDIN_FILENO,c,1); >> kill(pid,9); >> } >> } > > This have fixed now. See attached patch. > In SVN this are the revision 1041, 1042, 1043 > New executables: > http://www.henrynestler.com/colinux/testing/devel-0.8.0/20080511-ntconsoleflood/ The last have problems, if ntconsole will detach while the testprogramm is running. The "Sleep" loop must end, if the console will detach. New executables and the patch no-reactor-read-loop-v3.patch does it: http://www.henrynestler.com/colinux/testing/devel-0.8.0/20080511-ntconsoleflood/ Is commited as SVN revision 1046. By the while: WindowsXP can also bring in the troubble. Run taskmanager and select the tabbed "System performance". Runs the test program. Than open the contect menu inside the ncconsole text with right mouse key. Don't select any, only leave this menu opened. As long the context menu is opened, the old coLinux version adds many new messages into the queue. Kernel memory and swap file is incrasing. After 5 minutes got an interesting message: "...system32/lsass terminated. Windows is shuting down in 60 Seconds...". - Windows XP reboots fairly. :-) -- Henry N. |