Page 19 of 55

Re: When your OS goes crazy - Screenshots

Posted: Fri Nov 22, 2013 7:32 pm
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.

Re: When your OS goes crazy - Screenshots

Posted: Sun Nov 24, 2013 2:08 am
by nerdguy
@sortie Is your OS a sort of Windows/Linux/Mac killer?

Re: When your OS goes crazy - Screenshots

Posted: Sun Nov 24, 2013 10:03 am
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.

Re: When your OS goes crazy - Screenshots

Posted: Wed Nov 27, 2013 9:31 pm
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

Re: When your OS goes crazy - Screenshots

Posted: Fri Nov 29, 2013 9:42 pm
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

Re: When your OS goes crazy - Screenshots

Posted: Sat Nov 30, 2013 9:24 pm
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.

Re: When your OS goes crazy - Screenshots

Posted: Sun Dec 08, 2013 10:45 pm
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

Re: When your OS goes crazy - Screenshots

Posted: Tue Dec 17, 2013 2:02 pm
by greyOne
Image

This was the result of trying to clear the screen with a syscall.

Re: When your OS goes crazy - Screenshots

Posted: Wed Jan 01, 2014 1:49 pm
by wichtounet
My bootloader getting crazy today:

Re: When your OS goes crazy - Screenshots

Posted: Thu Jan 02, 2014 7:40 am
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

Re: When your OS goes crazy - Screenshots

Posted: Sat Jan 11, 2014 5:40 am
by Bender
This needs no explanation................As if I have any.....
Image

Re: When your OS goes crazy - Screenshots

Posted: Sat Jan 11, 2014 7:35 am
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).

Re: When your OS goes crazy - Screenshots

Posted: Sat Jan 11, 2014 8:31 am
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)

Re: When your OS goes crazy - Screenshots

Posted: Fri Jan 17, 2014 12:40 am
by VolTeK
I've noticed your error screens have progressed over the years
Image

Image


Preferred the window approach to be honest. ;)

Re: When your OS goes crazy - Screenshots

Posted: Fri Jan 17, 2014 1:24 am
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