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.
Vijfhoek
Posts: 4
Joined: Sun Jun 16, 2013 4:54 am

Re: When your OS goes crazy - Screenshots

Post by Vijfhoek »

Something went wrong with my printf implementation...

Image
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

Re: When your OS goes crazy - Screenshots

Post by BrightLight »

It's because I forgot one line of code:

Code: Select all

mov byte[is_program_running], 0
crazy bsod.png
You know your OS is advanced when you stop using the Intel programming guide as a reference.
jnc100
Member
Member
Posts: 775
Joined: Mon Apr 09, 2007 12:10 pm
Location: London, UK
Contact:

Re: When your OS goes crazy - Screenshots

Post by jnc100 »

Significant interleaving of serial port log messages whilst I was stress-testing the scheduler:

Code: Select all

vfmoLodfs./
tyggs.vf
es:r. Logmoengetr: dferenisoterng ins_messsfag .rmectagssaore ge y:loloop
op
voofstfs: ent ent: ererining messag Moge lunootp
m: esmosauntingg te loop
ysos.rootfs to /
I should probably do something about that.

Regards,
John.
User avatar
hgoel
Member
Member
Posts: 89
Joined: Sun Feb 09, 2014 7:11 pm
Libera.chat IRC: hgoel
Location: Within a meter of a computer

Re: When your OS goes crazy - Screenshots

Post by hgoel »

Not really sure why this is happening, something to do with my double buffering implementation
Image

EDIT: I eventually figured it out, main issue was the size of the kernel after including that wallpaper data as a header exported from GIMP, it'd go from 17kb to 8MB
EDIT2: Actually seems like the problem might be something deeper than that, everything is fine if I copy the translated GIMP output into an array first and then just copy that to the framebuffer.
EDIT3: Finally found the problem, buffer overflow because GIMPS macro assumes that data will only be read once.
"If the truth is a cruel mistress, than a lie must be a nice girl"
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
User avatar
Quaker763
Posts: 17
Joined: Sun Mar 08, 2015 5:32 am
Location: Straya

Re: When your OS goes crazy - Screenshots

Post by Quaker763 »

I have this strange suspicion it didn't actually allocate a block....

Image
User avatar
hgoel
Member
Member
Posts: 89
Joined: Sun Feb 09, 2014 7:11 pm
Libera.chat IRC: hgoel
Location: Within a meter of a computer

Re: When your OS goes crazy - Screenshots

Post by hgoel »

Well, setup multithreading, AHC and EXT2 parsing since my last post so I was trying my hand at loading an image from disk, this is the spectacular close but not there yet outcome:
Image
"If the truth is a cruel mistress, than a lie must be a nice girl"
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
tuxie
Posts: 1
Joined: Sun Sep 13, 2015 11:27 am
Libera.chat IRC: tuxie

Re: When your OS goes crazy - Screenshots

Post by tuxie »

When I finally managed to compile my kernel from a year ago again:
Attachments
screenshot from qemu freaking out
screenshot from qemu freaking out
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: When your OS goes crazy - Screenshots

Post by sortie »

Editing console rendering code always goes wrong. Today the redraw logic (used for scrolling and such) only updated a fourth of the screen, while the normal single-character rendering code continued to work.
Image
User avatar
Vercas
Posts: 2
Joined: Thu May 28, 2015 9:16 am
Libera.chat IRC: Vercas
Location: Manchester, UK
Contact:

Re: When your OS goes crazy - Screenshots

Post by Vercas »

This photo is a bit old, but it shows quite accurately what happens when you don't check the framebuffer type (pixels or chars) that GRUB gives you:
Image

On the other hand, it means that I used the rest of the info correctly.
My main project is Beelzebub.
abhoriel
Posts: 9
Joined: Sun Dec 23, 2012 12:13 pm

Re: When your OS goes crazy - Screenshots

Post by abhoriel »

Image

I was adjusting my panic() routine to send NMIs to the other cores causing them to also dump stack traces.
as they all got the NMI at the same time they all dumped their stack traces at the same time, they got interleaved :(
ostylk
Posts: 9
Joined: Fri Feb 13, 2015 12:38 pm

Re: When your OS goes crazy - Screenshots

Post by ostylk »

Image
Hmm.. Looks fine.
Let's test out my new scroll() function
Image
... fail
User avatar
Vercas
Posts: 2
Joined: Thu May 28, 2015 9:16 am
Libera.chat IRC: Vercas
Location: Manchester, UK
Contact:

Re: When your OS goes crazy - Screenshots

Post by Vercas »

Image

A couple of days old, it's a test of my object allocator with SMP.
Unsynchronized serial output FTW.
My main project is Beelzebub.
Awe2K
Member
Member
Posts: 49
Joined: Sat Oct 24, 2015 3:14 am
Libera.chat IRC: awe2k

Re: When your OS goes crazy - Screenshots

Post by Awe2K »

When something really went wrong:
Printing text when SUDDENLY interrupt arrives :)
Attachments
I try to print "Hello, it's me" when interrupt wants to show itself
I try to print "Hello, it's me" when interrupt wants to show itself
sss.png (7.39 KiB) Viewed 12074 times
Techel
Member
Member
Posts: 215
Joined: Fri Jan 30, 2015 4:57 pm
Location: Germany
Contact:

Re: When your OS goes crazy - Screenshots

Post by Techel »

ThiHellos iHellos HelloHelloindeeHellod verHelloy fuHellonny :D
nicknytko
Posts: 2
Joined: Fri Nov 20, 2015 10:07 pm

Re: When your OS goes crazy - Screenshots

Post by nicknytko »

bug in my printDec( ) caused an infinite loop, and also a cool gradient

Image
Post Reply