I am a writer, developer, futurist, and one-half of the Knotty Geeks podcast.

Interests: Astronomy, newLISP, Science Fiction.

User: Password: | Create new account

< Back to OSY 1.0 thread list

OSY 1.0 Thread Viewer

Thread #: 1308

1, 2, 3....CRASH.

Madan

Fri Jan 18 18:51:24 2002

How to lock XP:


Dude, XP is [em]fucking pathetic[/em].
If you have access to a C compiler, try compiling this code and running it:
[pre]
[tt]
#include <stdio.h>
int main(int argc, char** argv) {
int i;
for (i = 0; i < 5; i++) {
printf(" \t\t\t\b\b\b");
}
return 0;
}
[/tt]
[/pre]
This creates a small command-line app.
For those not familiar with C, that code will print out "three tabs, three beeps" five times... or it SHOULD. In actuality, running that program CRASHES XP, every time (and I mean, like cold reboot crash). Oddly, it only gets 2k Pro if I compile it with MSVC++, if I compile it with cygwin's gcc it's no problem...

source: FuckedCompany.com

Just thought you'd like to know.

M.

OscarWilde

Fri Jan 18 19:34:44 2002

i think you should use the code tag because its hil-fricking-arious to see a 'wink' in the middle of the code. At first i thought it was some new programming language:

include <emoticon.h>
include <osy.h>
include <stdio.h>

int so;

void main()
{

:cheesy: ("so what do ya think? \n");
:confused: ("%d", &so);
:cheesy: ("\n really? you think %d about me?", so);

begin(GL_POLYGON);
gl_vertex (getx, gety, getz);
end(GL_POLYGON);

return 0;
}


:biggrin:

DrPizza

Fri Jan 18 19:46:47 2002

This is actually pretty old news, Madan.

CSRSS walks off the beginning of the buffer used for the console windows, and then lets you write garbage all over the place.

Though the analysis by fuckedcompany is wrong.

\b is the backspace character (which is why CSRSS walks backwards in its buffer, I imagine).  The bell is \a.

Madan

Fri Jan 18 20:03:38 2002

*shrug*

I couldn't care less one way or the other.
Just thought you should know.

M.

DuffMan

Sat Jan 19 01:37:48 2002

Alright! A C program I can actually understand!
Jeremy Reimer

Sat Jan 19 14:45:02 2002

Don't forget OSX can be kernel paniced by running Myth III or running a Hotline server in Classic.

http://arstechnica.infopop.net/OpenTopic/page?a=tpc&s=50009562&f=8300945231&m=3480954353

http://arstechnica.infopop.net/OpenTopic/page?a=tpc&s=50009562&f=8300945231&m=8540946353

<shrugs>

Madan

Sat Jan 19 16:13:58 2002

You're comparing the complexity of a program like Myth III to the above Jeremy?
DrPizza

Sat Jan 19 21:26:05 2002

Madan, you don't know how complex the particular bits within Myth that cause the problem are.

For all you know, they could be just as simple.