OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Jun 24, 2017 9:40 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 682 posts ]  Go to page 1, 2, 3, 4, 5 ... 46  Next
Author Message
 Post subject: When your OS goes crazy - Screenshots
PostPosted: Sat Jan 17, 2009 2:27 pm 
Offline
Member
Member
User avatar

Joined: Fri Feb 23, 2007 1:41 am
Posts: 63
Location: Italy
We have a post called "What does your OS look like? (Screen Shots..)"

and i thought: "Why don't do a post with screenshots of our OS when it goes crazy?"

When we are coding, and our new pieces of code make our OS to strange things, print unprintable and etc.

I begin with my screenshot (i collect them :D):
Image
That happens when i was trying in old version of my OS the task switching (I had the feeling that the OS was laughing at me?, wath do you think? :D)

Image
That happens when i insert a very very long command (over 260 characters).

If you have screenshot of your Os when it goes crazy i think it would be nice to post them here.

bye ^_^

_________________
Elen síla lúmenn' omentielvo


Last edited by finarfin on Sat Jan 17, 2009 6:01 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Jan 17, 2009 5:52 pm 
Offline
Member
Member

Joined: Sat Sep 22, 2007 7:26 am
Posts: 115
Wish I had know this was going to be posted, I had mine spew a few hours ago, I fixed the problem though and didn't think to get a screenie.

_________________
Getting back in the game.


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Jan 17, 2009 6:00 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
This happened when I tried to do 8x8 font in 640x480 VGA mode :)


Attachments:
oh noes.png
oh noes.png [ 8.91 KiB | Viewed 54931 times ]

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Jan 17, 2009 7:28 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2061
Location: Bucharest, Romania
Gee, Troy... I remember getting similar results back in the days of Borland Pascal's graphics unit. Borland compilers came with video drivers for a few popular video cards (except generic ones like VGA). I never knew what the hell caused those red pixels to appear. I thought it had something to do with their implementation; WHY RED? What exactly did you do?

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Jan 17, 2009 8:11 pm 
Offline
Member
Member
User avatar

Joined: Sun Feb 18, 2007 7:28 pm
Posts: 1404
I forget what I was doing but I remember one time when I was clearing a region of memory. I watched the system (It was printing some info out). Nothing much new. Then out of nowhere a few seconds later the entire display turned black.

Turns out I was overwriting a buffer somewhere infinitely with the value 0...That could have turned nasty when it reached the end of memory...or even before reaching the end of memory...

_________________
OS Development Series | Project Neptune
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Jan 17, 2009 8:46 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
Love4Boobies wrote:
What exactly did you do?

Code:
mov ax,0012h    ; Set up 640x480 graphics mode
xor bx,bx
int 10h

mov ax,1112h    ; Use 8x8 font
xor bx,bx
int 10h

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Jan 17, 2009 11:09 pm 
Offline
Member
Member

Joined: Tue Oct 17, 2006 10:21 pm
Posts: 38
Location: Hampshire, UK
This happened after I messed up a memcpy and dumped my kernel's debug info to VGA memory. :)


Attachments:
duuude.png
duuude.png [ 36.52 KiB | Viewed 51857 times ]
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Jan 17, 2009 11:36 pm 
Offline
Member
Member
User avatar

Joined: Fri Jun 22, 2007 12:47 pm
Posts: 1597
Location: New Hampshire, USA
ooo pretty. =)

I don't have any shots yet, when I do I'll post.

_________________
Website: https://Joscor.com


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Jan 18, 2009 2:13 am 
Offline
Member
Member

Joined: Wed Jul 25, 2007 8:45 am
Posts: 391
Location: York, UK
I just went through my screenshots directory and picked up all the screw-ups I could find:

Image
Really old version of my kernel - don't quite remember what happened but it looks like the panic function is causing an exception, causing a recursive panic. Fun! :D

Image
Quite recently when I was writing my terminal driver - bad memcpy in the scrolling code! I think it had ended up copying part of the kernel onto the VGA memory

Image
When my PNG display application went wrong =)

Image
Font setting fail! :)

_________________
http://alex-smith.me.uk


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Jan 18, 2009 5:31 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9228
Location: An der schönen blauen Donau, watching muppets
Quote:
Font setting fail!
Consider it a novel method of setting leetspeak font :)

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Jan 18, 2009 10:41 am 
Offline
Member
Member
User avatar

Joined: Sat Nov 29, 2008 1:07 pm
Posts: 550
Location: Throw a dart at central Texas
Heh, if you still have the code that did that, you could just for laughs implement some sort of 'mirrored mode.' Plus, if you did that, you'd have most of the code for a RTL language!

_________________
Owner of Fawkes Software.
Wierd Al wrote:
You think your Commodore 64 is really neato,
What kind of chip you got in there, a Dorito?


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Wed Jan 21, 2009 5:00 am 
Offline
Member
Member

Joined: Wed Oct 31, 2007 9:09 am
Posts: 1382
Love4Boobies wrote:
WHY RED?


The character font resides at plane 2 (EGA, VGA) and 3 (VGA) in text mode (plane 0 = character, plane 1 = attribute). When setting the (text mode) font, the BIOS writes to plane 2. It just so happens that writing to plane 2 encodes for attribute 0100b, which is dark red. I doubt it having anything to do with your BGI problems of yore :).


JAL


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Jan 27, 2009 6:16 am 
Offline
Member
Member

Joined: Sun Sep 23, 2007 4:52 am
Posts: 360
When I tried to resume Windows:
The smilies were blinking on and off.

Image
Image


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Jan 27, 2009 11:33 am 
Offline
Member
Member

Joined: Tue Jun 20, 2006 9:17 am
Posts: 566
Thats possibly a hardware issue . Most the time windows crashes due to poorly written third party drivers , Microsoft cannot take the blame for that .

Regards
Shrek


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Jan 27, 2009 3:13 pm 
Offline
Member
Member

Joined: Sun Sep 23, 2007 4:52 am
Posts: 360
Shrek wrote:
Most the time windows crashes due to poorly written third party drivers , Microsoft cannot take the blame for that.
As if they didn't chose to let the drivers run with maximum privileges...

I've already had three Microsoft HQL certified drivers (one written by Microsoft) on this computer which shouldn't have passed the certification because they blatantly violates the specifications by huge amounts (up to 130 times as long block as maximium allowed). If MS can't take the blame for certifying drivers that don't comply with their own specifications, who can?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 682 posts ]  Go to page 1, 2, 3, 4, 5 ... 46  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group