Author Topic: Code that triggers a BSOD?  (Read 888 times)

scottmso

  • Newbie
  • *
  • Posts: 14
  • Kudos: 0
Code that triggers a BSOD?
« on: 15 June 2002, 03:51 »
I read somewhere that there is some C code that could trigger a Blue Screen of Death on Windows XP. If anyone has source for a program that can do that, please post it here.

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Code that triggers a BSOD?
« Reply #1 on: 15 June 2002, 07:59 »
If MS would release their code to... any.. of their products, then you could see easily what code will crash windows.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

dbl221

  • Member
  • **
  • Posts: 253
  • Kudos: 0
Code that triggers a BSOD?
« Reply #2 on: 15 June 2002, 08:41 »
Well actually most of the os is written in C and C++.  And since the OS and most M$ apps are the source of the BSOD you can just run any version of M$ windows and like magic....you can run the code you mentioned.


  :D
dbl221***Comp-Sys walking wounded

badkarma

  • VIP
  • Member
  • ***
  • Posts: 497
  • Kudos: 0
Code that triggers a BSOD?
« Reply #3 on: 18 June 2002, 18:50 »
you could try something like this:

Code: [Select]

or in c++

Code: [Select]

this will drain memory ... fast ... and will leave windows confused ... it might trigger a BSOD, it might just reboot ... it might totally crash ... it might dial 911 (or the equivalent in your country)... who knows?
If you can't learn to do something well, learn to enjoy doing it poorly.

BobsYourUncle

  • Newbie
  • *
  • Posts: 10
  • Kudos: 0
Code that triggers a BSOD?
« Reply #4 on: 22 June 2002, 10:15 »
where do i get a C++ compiler? i wanna see what happens...   :D    :D

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Code that triggers a BSOD?
« Reply #5 on: 22 June 2002, 10:21 »
http://www.gnu.org/ or more specifically http://www.gnu.org/software/gcc/gcc.html

[ June 22, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Code that triggers a BSOD?
« Reply #6 on: 22 June 2002, 10:36 »
I tried it in Linux and well.... thank Bob for ulimit  
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'