When your OS goes crazy - Screenshots

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
rwosdev
Member
Member
Posts: 49
Joined: Thu Apr 26, 2018 11:21 pm

Re: When your OS goes crazy - Screenshots

Post by rwosdev »

Implemented some maths functions to my kernel's runtime library because I want cool graphics stuff, so tested out some pixel plotting, and a couple famous line and ellipse drawing algorithms. Everything works but I gave some off parameters and got this! Want to become good with the graphics/mathematical side of things 8)
Attachments
line1.jpg
User avatar
Schol-R-LEA
Member
Member
Posts: 1925
Joined: Fri Oct 27, 2006 9:42 am
Location: Athens, GA, USA

Re: When your OS goes crazy - Screenshots

Post by Schol-R-LEA »

rwosdev wrote:Implemented some maths functions to my kernel's runtime library because I want cool graphics stuff, so tested out some pixel plotting, and a couple famous line and ellipse drawing algorithms. Everything works but I gave some off parameters and got this! Want to become good with the graphics/mathematical side of things 8)
Well, that looks fine to me, if you goal was to depict a Mobius strip. I gather it wasn't, however.
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
rwosdev
Member
Member
Posts: 49
Joined: Thu Apr 26, 2018 11:21 pm

Re: When your OS goes crazy - Screenshots

Post by rwosdev »

That's exactly what it's like! No it wasn't the aim!!!
User avatar
zesterer
Member
Member
Posts: 59
Joined: Mon Feb 22, 2016 4:40 am
Libera.chat IRC: zesterer
Location: United Kingdom
Contact:

Re: When your OS goes crazy - Screenshots

Post by zesterer »

Not even Rust is immune to undefined behaviour.

Don't worry! There are enough smiley faces and hearts to solve this.

Image
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml
User avatar
pvc
Member
Member
Posts: 201
Joined: Mon Jan 15, 2018 2:27 pm

Re: When your OS goes crazy - Screenshots

Post by pvc »

MyBSOD
Attachments
bsod.png
Monax
Posts: 12
Joined: Tue Jul 10, 2018 2:11 pm

Re: When your OS goes crazy - Screenshots

Post by Monax »

Image
Just working on paging
dseller
Member
Member
Posts: 84
Joined: Thu Jul 03, 2014 5:18 am
Location: The Netherlands
Contact:

Re: When your OS goes crazy - Screenshots

Post by dseller »

Not really going crazy, and it's actually expected behavior, but crashing nonetheless. I am currently porting my compiler/VM to my OS to provide a user-mode programming language. Here you can see it come to life.

What happened is the VM crashed because of an unimplemented opcode, which resulted in the VM trying to drop its hosting task. However, my proof-of-concept implementation is running it in the kernel task, which is "immortal" (can't be dropped). The result is that the CPU continues executing garbage and eventually raises an interrupt.

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

Re: When your OS goes crazy - Screenshots

Post by egranata »

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
tyler569
Posts: 3
Joined: Sun Feb 25, 2018 1:14 pm
Libera.chat IRC: tyler569

Re: When your OS goes crazy - Screenshots

Post by tyler569 »

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.
klange
Member
Member
Posts: 679
Joined: Wed Mar 30, 2011 12:31 am
Libera.chat IRC: klange
Discord: klange

Re: When your OS goes crazy - Screenshots

Post by klange »

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)
User avatar
Ender
Posts: 24
Joined: Thu Jul 19, 2018 9:40 pm

Re: When your OS goes crazy - Screenshots

Post by Ender »

Image

Working on this....
Bowlslaw
Posts: 20
Joined: Fri Oct 26, 2018 12:54 pm
Contact:

Re: When your OS goes crazy - Screenshots

Post by Bowlslaw »

Image

I wrote the wrong magic numbers to the wrong IO ports :)
klange
Member
Member
Posts: 679
Joined: Wed Mar 30, 2011 12:31 am
Libera.chat IRC: klange
Discord: klange

Re: When your OS goes crazy - Screenshots

Post by klange »

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
User avatar
flerovium
Posts: 8
Joined: Tue May 15, 2012 10:11 am

Re: When your OS goes crazy - Screenshots

Post by flerovium »

Image

Poor console driver tries to follow 4 "conversations" (CPU cores) at once :D
User avatar
K3achas
Posts: 22
Joined: Sat May 26, 2018 5:32 pm

Re: When your OS goes crazy - Screenshots

Post by K3achas »

Basically it's just saying "Error: drive has no errors."
#-o =D>
Attachments
drive-error-no-error.jpg
The maker of Foxtrot microkernels. Currently just Greyhound, which is currently smaller than 3 KiB.
Also working on osmkVII.
Post Reply