Thread: windows crash?

  1. #1
    Codebot
    Join Date
    Jun 2004
    Location
    Toronto
    Posts
    195

    windows crash?

    Can someone tell me why this code seems to crash windows??

    Code:
    #include <stdio.h>
    
    int main (void) {
         while (1)
             printf ("\t\t\b\b\b\b\b\b");
    
         return 0;
    }
    yet another bug among thousands in XP?

  2. #2
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    It runs fine on mine
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    98
    @ Mastadex :

    I have been caught with chaff, run your code make my computer restart!!!!

  4. #4
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    How long you run it until the computer restart? I ran it and the memory and processor seemed stable
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  5. #5
    Registered User
    Join Date
    Jul 2004
    Posts
    98
    immediately, why?

  6. #6
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    I don't know. Just wondering.
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  7. #7
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    http://homepages.tesco.net./~J.deBoy...space-bug.html
    http://support.microsoft.com/?kbid=311486
    http://groups.google.com/groups?q=printf+csrss.exe

    This was reportedly fixed in XP SP1 which was released 2 years ago. Can you confirm that you don't have SP1 installed?

  8. #8
    Codebot
    Join Date
    Jun 2004
    Location
    Toronto
    Posts
    195
    I dont have SP1 installed. I find it kinda funny that a simple printf statement can make windows crazy

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Anyone using Windows 7?
    By Sharke in forum General Discussions
    Replies: 60
    Last Post: 07-12-2009, 08:05 AM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM