weird Windows 2000/XP bug

From: Teodor Cimpoesu (
Date: 10/29/01

Date: Mon, 29 Oct 2001 17:19:47 +0200
From: Teodor Cimpoesu <>
Subject: weird Windows 2000/XP bug
Message-ID: <>

Some guys arround here are having fun with a little C program which causes
Windows200/XP to reboot:

#include <stdio.h>

int main(void)
   while (1)
   return 0;

I don't know exactly where it was first seen, and who discovered it; just
thought to forward it here maybe others have insights.


-- teodor

Relevant Pages

  • Re: Fibonacci via binrec combinator
    ... including 0 ms collecting ... (define (fun x) ... int main; ... struct rectangular; ...
  • Re: questions
    ... will it default to int??? ... char fun() ... there is a sequence point after evaluation of the left operand. ... Since 'i' is non-zero, the right operand of the && expression must be evaluated, resulting in a recursive call to fun. ...
  • Re: Obstacles for Tcl/Tk commercial application development ?
    ... Whenever there was a problem in a Tcl program, it was not related to the type system and would have occurred in any static language as well - but eventually much worse. ... "Simple typos" will come back to you as soon as you run your procedure the first time for testing. ... int fun { ...
  • Re: ML simple while loop problem(deleting VAL ID)
    ... with resultp. ... fun prompt p = ... "int" in while-loop. ... int ref * int ref list ...
  • Re: writing a monitor
    ... executing int 0x19." ... The subroutine reboot: reboots the PC. ... jmp ffff:0000h; jmp to segment:offset ... This is the address where IBM put the BIOS PC reset vector. ...