Re: [SSI-devel] Another rfork bug(s?)
Brought to you by:
brucewalker,
rogertsang
From: Roopa P. <pra...@in...> - 2004-03-17 03:51:15
|
On Tue, 2004-03-16 at 22:20, Maxime Ritter wrote: > I also noticed that pushing the BREAK key results in a kernel panic instead > of the kdb prompt. Bug, feature or myself ? (I don't know kdb and never used > before so I might have forgot to do something). The below link talks about the kdb panic fix : http://www.mail-archive.com/kd...@os.../msg00675.html I have tried the patch given in the mail message, and got over a similar problem with my kernel. Hope this helps. - Roopa > > -- > Maxime Ritter > ---- > > #include <stdio.h> > #include <stdlib.h> > #include <sys/cluster.h> > > int main (int argc, char *arg[]) > { > int i,j,k,l; > > printf("(useless) rfork-bomb\n"); > > // for(k=1; k<3; k++) { > for(j=1; j<3; j++) { > for(i=1; i<=3; i++) { > l=rfork(i); > if(l < 0) { > printf("%d,%d : Error rfork %d\n", clusternode_num(), getpid(),l); > } > l=rfork(i); > if(l < 0) { > printf("%d,%d : Error rfork %d\n", clusternode_num(), getpid(),l); > } > } > // } > } > > > printf("%d,%d : is alive (not for a long time)\n", clusternode_num(), getpid()); > } > |