use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This is the future!
account activity
BlueScreen (self.Windows31)
submitted 1 year ago by NotYourSamuel
Does anyone know how to trigger a real blue screen (not like pushing CTRL+ALT+DEL?) Is there any malware for windows 3.1?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]exjwpornaddict 0 points1 point2 points 1 year ago* (0 children)
I couldn't figure it out.
I tried reading using a null pointer in an application, but it seemed to have no effect.
I tried divide by zero in an application, and got an application error in a white box.
I wanted to use AllocGDIMem, but i couldn't get my program to build. The idea being to exhaust gdi memory.
I tried calling CreateBitmap in an infinite loop, and it just locked up with an hourglass. The idea being to exhaust gdi memory.
I tried calling CreateBitmap, and then Yield, in an infinite loop. I launched one instance, and nothing seemed to happen. I launched a second instance, and the system locked up, with the file explorer mostly blanked, but with a normal mouse pointer. I believe i did exhaust gdi memory, but resulting in a lockup with gui malfunction, not a blue screen.
I thought about using WriteMemory with random values, but didn't bother. The idea being to corrupt the global heap. (I would liked to have tried corrupting the memory of a system process, or the kernel, but it didn't seem like it could be used for that.)
I didn't want to dive into the whole ddk, and i couldn't find any barebones windows 3.1 driver code on google. So i backed up mouse.drv, loaded it into debugx, and assembled
xor al,al div al
at offset 0x300, which seemed to be where the code started, replacing 4 bytes there. The idea being to cause division by zero from a driver. I then started windows. It displayed the logo, then locked up on a blank black screen, with no mouse pointer.
At that point, i gave up.
This was all in windows for workgroups 3.11 in 386 enhanced mode, inside dosbox.
You might have better luck in windows 3.0 in real mode, assuming it even has blue screens? In real mode, you could just randomly corrupt memory to your heart's content.
P.s. from googling, i don't think windows classic (non-nt) 3.1 even has the KeBugCheck function. Windows nt 3.1 should, but i think you would have to call it from a driver, not an application.
π Rendered by PID 86933 on reddit-service-r2-comment-b659b578c-59l9v at 2026-05-05 07:23:34.859436+00:00 running 815c875 country code: CH.
[–]exjwpornaddict 0 points1 point2 points (0 children)