OSDev.org

The Place to Start for Operating System Developers
It is currently Sun May 31, 2020 3:42 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 756 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12, 13 ... 51  Next
Author Message
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Thu Oct 20, 2011 9:18 am 
Offline
Member
Member

Joined: Sun Sep 18, 2011 10:18 am
Posts: 45
Obviously, my OS does not crash frequently enough. :twisted:


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Oct 22, 2011 10:42 pm 
Offline
Member
Member

Joined: Fri Aug 22, 2008 12:01 pm
Posts: 50
Location: Germany - Aachen
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 ;)


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Oct 23, 2011 1:27 am 
Offline
Member
Member

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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Oct 23, 2011 7:22 am 
Offline
Member
Member

Joined: Wed Oct 01, 2008 1:55 pm
Posts: 2249
I got it!

An OS crash with Bochs: :mrgreen:

Image

Updated bochs panic screen with the newest version:

Quote:
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:
Quote:
00434348346e[CPU0 ] LLDT: doesn't point to an LDT descriptor!


I'm absolutely certain that this is an emulation error, and not something real!


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Oct 23, 2011 9:10 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9287
Location: On the balcony, watching the Swedish Chef
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 ]


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Thu Oct 27, 2011 2:16 am 
Offline
Member
Member

Joined: Wed Oct 31, 2007 9:09 am
Posts: 1383
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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Thu Oct 27, 2011 3:01 am 
Offline
Member
Member

Joined: Sat Oct 09, 2010 3:35 am
Posts: 272
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.


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Oct 29, 2011 9:12 pm 
Offline
Member
Member
User avatar

Joined: Sat Oct 15, 2011 6:52 pm
Posts: 29
Location: Land of Bald Eegels
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:


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Oct 29, 2011 11:33 pm 
Offline
Member
Member
User avatar

Joined: Sat Nov 15, 2008 2:37 pm
Posts: 812
Location: The Fire Nation
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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Wed Nov 09, 2011 4:16 pm 
Offline
Member
Member
User avatar

Joined: Tue Feb 08, 2011 1:58 pm
Posts: 496
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:
Attachment:
bug.png
bug.png [ 45.95 KiB | Viewed 3344 times ]

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.


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Thu Nov 10, 2011 9:44 pm 
Offline
Member
Member
User avatar

Joined: Wed Jul 13, 2011 7:38 pm
Posts: 550
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?


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Fri Nov 11, 2011 2:59 am 
Offline
Member
Member
User avatar

Joined: Tue Feb 08, 2011 1:58 pm
Posts: 496
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:
File comment: Sorry for zip, html "was identified as a possible attack vector"
chargen.zip [1.84 KiB]
Downloaded 43 times
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Nov 12, 2011 11:43 am 
Offline

Joined: Sat Nov 12, 2011 11:42 am
Posts: 6
Forgot to change my console functions to account for a bigger framebuffer.
Image


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Nov 13, 2011 3:57 am 
Offline
Member
Member
User avatar

Joined: Sat Jul 17, 2010 12:45 am
Posts: 487
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 !


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Nov 13, 2011 5:40 am 
Offline

Joined: Sat Nov 12, 2011 11:42 am
Posts: 6
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 :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 756 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12, 13 ... 51  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [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