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.
User avatar
sortie
Member
Member
Posts: 930
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: When your OS goes crazy - Screenshots

Post by sortie »

I'd post a screenshot, but:

Code: Select all

bash: cd: /home/sortie/sortix/ports/libfreetype: No such file or directory
Oh, that's odd. I just built my libfreetype port and now the source code directory has mysteriously disappeared? But- I am not, what? I'm not deleting that anywhere! Hmm, this can be reproduced. I suppose I'll strace recursively the entire build process tree and see what process is running the unlinkat system call.

Code: Select all

execve("/bin/rm", ["rm", "-rf", "--", "/home/sortie/sortix/ports/libfreetype", [/* 63 vars */]) = 0
Right, my port build program uses a temporary directory in /tmp to store temporary things and I clean it up upon process exit, where I fork and execve rm -rf. But that code cleans up the temporary bin dir in the PATH, not the source directory! I guess I'll pull up the source code and see if I used the wrong variable.

Code: Select all

char* bindir = print_string("%s/bin", tmp_directory);
assert(bindir);
on_exit(cleanup_file_or_directory, bindir);
That's odd. I can verify that the correct temporary path is given to on_exit, the source directory is not given here, that would be impossi-

Code: Select all

free(bindir);
Oh-

$@!&ing $@!&!

Turns out I'm lucky that only unimportant directories began disappearing.
User avatar
nerdguy
Member
Member
Posts: 70
Joined: Wed Oct 30, 2013 8:11 am

Re: When your OS goes crazy - Screenshots

Post by nerdguy »

@sortie Is your OS a sort of Windows/Linux/Mac killer?
When you say, "I wrote a program that crashed Windows," people just stare at you blankly and say, "Hey, I got those with the system, for free." - Linus Torvalds
64 bit Kernel in early development
http://github.com/nerdguy12/core64
User avatar
sortie
Member
Member
Posts: 930
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: When your OS goes crazy - Screenshots

Post by sortie »

nerdguy wrote:@sortie Is your OS a sort of Windows/Linux/Mac killer?
Only to the extent that untested build systems might wipe your root directory in the worst case - and that the actual operating system itself is capable of much worse damage.
User avatar
BMW
Member
Member
Posts: 286
Joined: Mon Nov 05, 2012 8:31 pm
Location: New Zealand

Re: When your OS goes crazy - Screenshots

Post by BMW »

Testing multitasking - I am using 0xDEADBEEF for the EIP of newly added processes... decided I would print Dead Beef when the page fault occurs (without actually loading the program/setting up paging structures), so the page fault kept occuring:
Image
Currently developing Lithium OS (LiOS).

Recursive paging saves lives.
"I want to change the world, but they won't give me the source code."
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: When your OS goes crazy - Screenshots

Post by Bender »

I decided to stop asking useless questions.
Multitasking implemented!
Those are the tasks crying out how many times the Multitasker Interrupt is being run.
Image
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
greyOne
Member
Member
Posts: 58
Joined: Sun Feb 03, 2013 10:38 pm
Location: Canada

Re: When your OS goes crazy - Screenshots

Post by greyOne »

Image

I'm still not entirely sure what actually caused the Page Fault.
My panic function turns off hardware interrupts and multitasking, and allocates no memory.
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: When your OS goes crazy - Screenshots

Post by Bender »

I made a nice picture with my mouse driver,
Worst Part : It leaves it's mark everywhere.
I think I thought of a new feature! (I think I thought!)
A paint program!!!!!!!!!!!!
(With this wrecked mouse driver!)
Image
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
greyOne
Member
Member
Posts: 58
Joined: Sun Feb 03, 2013 10:38 pm
Location: Canada

Re: When your OS goes crazy - Screenshots

Post by greyOne »

Image

This was the result of trying to clear the screen with a syscall.
User avatar
wichtounet
Member
Member
Posts: 90
Joined: Fri Nov 01, 2013 4:05 pm
Location: Fribourg, Switzerland
Contact:

Re: When your OS goes crazy - Screenshots

Post by wichtounet »

My bootloader getting crazy today:
Attachments
screen.png
Thor Operating System: C++ 64 bits OS: https://github.com/wichtounet/thor-os
Good osdeving!
olsner
Posts: 2
Joined: Fri Aug 10, 2012 7:37 am

Re: When your OS goes crazy - Screenshots

Post by olsner »

Trying to test my lwIP port with DHCP setup instead of a static IP:

Code: Select all

kvm: /build/buildd/qemu-kvm-1.2.0+noroms/slirp/arp_table.c:41: arp_table_add: Assertion `(ip_addr & (__extension__ ({ register unsigned int __v, __x = (~(0xf << 28)); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }))) != 0' failed.
./run_qemu.sh: line 5:   862 Aborted                 (core dumped) kvm -m 32M "$@" -cdrom $ISO -netdev $NETDEV -device e1000,netdev=vmnet0
After working around that one (by setting a dummy IP address in lwIP before starting DHCP or sending anything), the timer, lwIP and/or ethernet processes deadlock waiting to do IPC to each other:
(0x381 is the line number of the &quot;panic on IPC deadlock&quot; code)
(0x381 is the line number of the "panic on IPC deadlock" code)
My "crash screen" is significantly less sophisticated than some others in this thread! :D
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: When your OS goes crazy - Screenshots

Post by Bender »

This needs no explanation................As if I have any.....
Image
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
Nable
Member
Member
Posts: 453
Joined: Tue Nov 08, 2011 11:35 am

Re: When your OS goes crazy - Screenshots

Post by Nable »

sid123
Nice mirrored font - I really want such feature on my workstation to distract other people from looking at my screen (as for me, it's rather easy to read such text but most people say that it's difficult).
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: When your OS goes crazy - Screenshots

Post by Bender »

@Nable I was trying to make it mirrored but it became upside down :P
Could use it for a water reflection effect 8)
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
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 »

I've noticed your error screens have progressed over the years
Image

Image


Preferred the window approach to be honest. ;)
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: When your OS goes crazy - Screenshots

Post by Bender »

I've noticed your error screens have progressed over the years
Years? My OS is not even 10 months old XD
@VolTek Even I liked that, but the problem was the 80x50 screen font, you've more lines to scroll
but the font is horrible. :(
EDIT:
VolTek's advice is quite nice!
FASMIDE Looks cool. 8)
Hmmmm.... Which OS is that in the previous image?
Fooling people that my OS has "full" multitasking :oops:
Image
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
Post Reply