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.
pdurlej
Member
Member
Posts: 46
Joined: Sun Sep 18, 2011 10:18 am
Contact:

Re: When your OS goes crazy - Screenshots

Post by pdurlej »

Obviously, my OS does not crash frequently enough. :twisted:
Andy1988
Member
Member
Posts: 50
Joined: Fri Aug 22, 2008 12:01 pm
Location: Germany - Aachen

Re: When your OS goes crazy - Screenshots

Post by Andy1988 »

xyzzy wrote:Turns out it's actually a bug with QEMU's Cocoa frontend, it works fine anywhere else :P
Argh! I can confirm this.
I chased a bug in my VBE code for a few days and didn't find anything. This explains why.

Also, have a look at this screenshot:
http://lockerz.com/s/120621654
On the left side you can see VMware, VirtualBox is in the middle and qemu on the right.
All created by the same code, counting a 16 bit integer from 1 up and using it as a color value. Something is not right there ;)
rdos
Member
Member
Posts: 3297
Joined: Wed Oct 01, 2008 1:55 pm

Re: When your OS goes crazy - Screenshots

Post by rdos »

How do people manage to get pictures from a crashed OS? Is it because they run on emulators rather than real hardware? :mrgreen:
rdos
Member
Member
Posts: 3297
Joined: Wed Oct 01, 2008 1:55 pm

Re: When your OS goes crazy - Screenshots

Post by rdos »

I got it!

An OS crash with Bochs: :mrgreen:

Image

Updated bochs panic screen with the newest version:
Divide error Sing Gdt 0000
EAX=0007EEA0 EBX=00000FC4 ECXÂ010D18C7 EDX=00000000 ESI=00000000 EDI=00000000
EPC=0000C0EF ESP=00000800 EBP=00007B00 NC PE NA ZR PL EI UP NV PR PM
CS=0030 SS=0188 DS=EEA0 ES=0030 FS=F040 GS=0000
Bochs log:
00434348346e[CPU0 ] LLDT: doesn't point to an LDT descriptor!
I'm absolutely certain that this is an emulation error, and not something real!
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: When your OS goes crazy - Screenshots

Post by Combuster »

rdos wrote:How do people manage to get pictures from a crashed OS? Is it because they run on emulators rather than real hardware? :mrgreen:
Yes, it's the easiest way. I for one lack a good camera to show off all the bugs in my video drivers (including some that would need an audio recording)...
"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 ]
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: When your OS goes crazy - Screenshots

Post by jal »

rdos wrote:I'm absolutely certain that this is an emulation error, and not something real!
While there are bugs in bochs, I very much doubt whether you're right :).


JAL
shikhin
Member
Member
Posts: 274
Joined: Sat Oct 09, 2010 3:35 am
Libera.chat IRC: shikhin
Contact:

Re: When your OS goes crazy - Screenshots

Post by shikhin »

Hi,
Combuster wrote:(including some that would need an audio recording)...
Wondering whether that's because of the monitor bursting, or the neighbors screaming due to the fire.. :mrgreen:

Coming back to the topic, I got some really stupid bugs with me, though I forgot to take screenshots. One of these is that I switched to mode 0x12 instead of 0x13, and kept wondering why everything was so borked up.. :)

Regards,
Shikhin
http://shikhin.in/

Current status: Gandr.
User avatar
Oranos
Member
Member
Posts: 29
Joined: Sat Oct 15, 2011 6:52 pm
Location: Land of Bald Eegels

Re: When your OS goes crazy - Screenshots

Post by Oranos »

Shikhin wrote:
Combuster wrote:(including some that would need an audio recording)...
Wondering whether that's because of the monitor bursting, or the neighbors screaming due to the fire.. :mrgreen:
:shock:
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: When your OS goes crazy - Screenshots

Post by VolTeK »

Oranos wrote:Wondering whether that's because of the monitor bursting
Was once told of a chip in CRT screens that if malfunctioning, blinds viewers? Or just explodes either one sucks
User avatar
turdus
Member
Member
Posts: 496
Joined: Tue Feb 08, 2011 1:58 pm

Re: When your OS goes crazy - Screenshots

Post by turdus »

I've made many modifications in threading lately, and it works fine with apic timer. So I was wondering what's with the good old PIT driver? It should make no difference, but I gave it a try, so I recompiled my kernel in legacy mode (hence the "L" in the right upper corner of screen). As it turned out, after a couple of thread switches, it suddenly messes up the stack very badly, that leads to executing an error message string in a different method... :oops:
bug.png
I'm not sure whether debugging worth it, maybe it's time to drop PIT support?

p.s. for those in doubt: you can relax, this screen is not a fake.
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

Re: When your OS goes crazy - Screenshots

Post by Kazinsal »

GhostXoPCorp wrote:Was once told of a chip in CRT screens that if malfunctioning, blinds viewers? Or just explodes either one sucks
Either one is also an interesting and unique way to deal with those annoying neighbours...


@turdus: Are you using a custom font to display those little logos in the bottom corners of the screen?
User avatar
turdus
Member
Member
Posts: 496
Joined: Tue Feb 08, 2011 1:58 pm

Re: When your OS goes crazy - Screenshots

Post by turdus »

Blacklight wrote:@turdus: Are you using a custom font to display those little logos in the bottom corners of the screen?
Yep. I've written a small javascript utility to generate bitmap in source format (asm, c and pascal). I've draw the logo with it and copy'n'paste the code into my source. You can set it up via BIOS (see RBIL) or directly programming vga registers.
Attachments
chargen.zip
Sorry for zip, html "was identified as a possible attack vector"
(1.84 KiB) Downloaded 144 times
ben1066
Posts: 6
Joined: Sat Nov 12, 2011 11:42 am

Re: When your OS goes crazy - Screenshots

Post by ben1066 »

Forgot to change my console functions to account for a bigger framebuffer.
Image
User avatar
Chandra
Member
Member
Posts: 487
Joined: Sat Jul 17, 2010 12:45 am

Re: When your OS goes crazy - Screenshots

Post by Chandra »

ben1066 wrote:Forgot to change my console functions to account for a bigger framebuffer.
Doesn't really look like the OS going crazy. Just some mis-aligned texts.
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
ben1066
Posts: 6
Joined: Sat Nov 12, 2011 11:42 am

Re: When your OS goes crazy - Screenshots

Post by ben1066 »

Chandra wrote:
ben1066 wrote:Forgot to change my console functions to account for a bigger framebuffer.
Doesn't really look like the OS going crazy. Just some mis-aligned texts.
It's the closest to crazy my OS gets, which, for the most part, is a good thing :)
Post Reply