Re: Way to kill 2.3.21.

Sami Dalouche (samid@ifrance.com)
Tue, 12 Oct 1999 18:50:44 +0200


My kernel is a stable one :
Linux pingoo 2.2.12 #2 Tue Aug 31 13:47:09 CEST 1999 i586 unknown

and I've tried your small program :
it segfaults.

On Wed, Oct 13, 1999 at 12:01:28AM +0930, Mofeed Shahin wrote:
>
> Well, I found this way to totaly kill 2.3.21. I haven't tried with any other
> versions of the kernel.
>
> The machine is a dual PIII 450, 256 Meg ram.
>
> When I ran the following program by itself it was killed after it had consumed
> all of the memory on the machine.
> But when I ran it at the same time as running another program that was using up
> most of the CPU as well, BOOOOOM.
>
> Nothing in the logs, just a solid freeze, also no ctrl-alt-del.
>
> #include <stdio.h>
> #include <unistd.h>
>
> void recurse(int a, int b, int c){
> if(a == 1000000){
> printf("Hello");
> return;
> }
> recurse(a,2,1);
> }
>
> int main(){
> int i;
>
> for(i=0; i<10 ; i++){
> recurse(1,2,3);
> }
> }
>
> Cheers Mof.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

bye,
sami

-- 
LL      II  NN   N  U   U  X  X     RRRR  U   U  LL     EEEEE  ZZZZZ    !!
LL          N N  N  U   U   XX      R  R  U   U  LL     E__       Z     !!
LL      II  N  N N  U   U   XX      RRR   U   U  LL     E       Z       
LLLLL   II  N   NN  UUUUU  X  X     R  R  UUUUU  LLLLL  EEEEE  ZZZZZ    !!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/