< Back to OSY 1.0 thread list

OSY 1.0 Thread Viewer

Thread #: 1308

1, 2, 3....CRASH.

Madan

Sat Jan 19 02: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

Sat Jan 19 03: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

Sat Jan 19 03: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

Sat Jan 19 04:03:38 2002

*shrug*

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

M.

DuffMan

Sat Jan 19 09:37:48 2002

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

Sat Jan 19 22: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

Sun Jan 20 00:13:58 2002

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

Sun Jan 20 05: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.