OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Dec 13, 2019 9:13 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 729 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49  Next
Author Message
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Sep 04, 2018 10:35 pm 
Offline

Joined: Sat Jun 09, 2018 11:51 am
Posts: 6
Image

Happened after I pressed CTRL+D (aka, EOF) at my shell prompt

The shell should probably exit if it encounters an EOF - but first I need to figure out why I could only spawn up to PID 999


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Oct 06, 2018 1:24 pm 
Offline

Joined: Sun Feb 25, 2018 1:14 pm
Posts: 1
One of my favorites from a few months back,

Image

Looks like a pretty standard panic screen right? Turns the screen red and print some debug info? The reason that, shall we say, mildly surprised me is that I never programmed it to turn red. In fact, the whole operating system literally has no code to change the color of the screen!

It even got worse from there:

Image

What it turned out to be was that I had screwed up my initial implementation of threading, and was setting the RSP0 value in the TSS to the bottom of the allocated stack region, so the stack was immediately clobbering kernel data. What happened to be right below the stack for the first thread? The default background color applied to all characters printed.

_________________
My OS: nightingale


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Oct 07, 2018 5:16 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 322
Ran across a few different issues with how I was handling self-delivered signals, so here's a rare look at what a particularly catastrophic failure looks like in my serial log:

Image

(Click for full size)

_________________
toaruos on github | toaruos.org | gitlab | twitter


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Oct 08, 2018 2:04 am 
Offline
User avatar

Joined: Thu Jul 19, 2018 9:40 pm
Posts: 24
Image

Working on this....


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Nov 05, 2018 4:20 pm 
Offline

Joined: Fri Oct 26, 2018 12:54 pm
Posts: 19
Image

I wrote the wrong magic numbers to the wrong IO ports :)


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Thu Nov 08, 2018 12:49 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 322
I tracked this down to a missing printf flag handler causing a constant fold to fail while trying to locally build a graphical demo. Wasn't even aware gcc folded stuff like this...

Image

_________________
toaruos on github | toaruos.org | gitlab | twitter


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Fri Nov 23, 2018 5:26 pm 
Offline
User avatar

Joined: Tue May 15, 2012 10:11 am
Posts: 8
Image

Poor console driver tries to follow 4 "conversations" (CPU cores) at once :D

_________________
Current project: https://github.com/reinixOS/microsphere/


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Thu Feb 07, 2019 9:30 am 
Offline
User avatar

Joined: Sat May 26, 2018 5:32 pm
Posts: 22
Basically it's just saying "Error: drive has no errors."
#-o =D>


Attachments:
drive-error-no-error.jpg
drive-error-no-error.jpg [ 64.35 KiB | Viewed 3103 times ]

_________________
The maker of Foxtrot microkernels. Currently just Greyhound, which is currently smaller than 3 KiB.
Also working on osmkVII.
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Thu Feb 28, 2019 6:55 am 
Offline
User avatar

Joined: Sat May 26, 2018 5:32 pm
Posts: 22
Even after fixing it, I'm still not quite sure why it said "I don't trust it." I think my code has trust issues.


Attachments:
trust-issues.gif
trust-issues.gif [ 109.4 KiB | Viewed 4338 times ]

_________________
The maker of Foxtrot microkernels. Currently just Greyhound, which is currently smaller than 3 KiB.
Also working on osmkVII.
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Mar 03, 2019 12:37 pm 
Offline
Member
Member

Joined: Wed Dec 12, 2018 12:16 pm
Posts: 119
Image
My custom syscall entered in recursion, or something like that. :)


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Mar 04, 2019 3:42 am 
Offline
User avatar

Joined: Fri Mar 01, 2019 3:50 pm
Posts: 6
Location: France
Image
This is what happens when you incorrectly copy some data. :mrgreen:


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Mar 04, 2019 6:37 pm 
Offline
Member
Member

Joined: Wed Dec 12, 2018 12:16 pm
Posts: 119
crosssans wrote:
Image
This is what happens when you incorrectly copy some data. :mrgreen:

The classical error :)


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 05, 2019 1:57 pm 
Offline

Joined: Tue Jan 08, 2019 7:20 am
Posts: 20
https://imgur.com/a/tI6spO6

My first visual error + cannot figure out how to print he keyboard keys thing

_________________
Hello world!


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 05, 2019 3:44 pm 
Offline
User avatar

Joined: Fri Mar 01, 2019 3:50 pm
Posts: 6
Location: France
xSlendiX wrote:
https://imgur.com/a/tI6spO6


Interesting. =P~


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 05, 2019 7:14 pm 
Offline
Member
Member

Joined: Wed Dec 12, 2018 12:16 pm
Posts: 119
xSlendiX wrote:
https://imgur.com/a/tI6spO6

My first visual error + cannot figure out how to print he keyboard keys thing

You forgetted the return carriage escape sequence! ('\r')
;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 729 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 6 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