CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.93k stars 554 forks source link

ERROR [COM]: aRC=VBOX_E_VM_ERROR (0x80bb0003) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={Could not take a screenshot (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=-37 #2142

Closed penguin-number-123 closed 2 years ago

penguin-number-123 commented 2 years ago

Area of Cosmos - What area of Cosmos are we dealing with?

Virtual Machine (VBox + Vmware)

Expected Behaviour - What do you think that should happen?

The os should boot

Actual Behaviour - What unexpectedly happens?

Shows "Memory Initialization" Guru Meditation, Critical failure image

Digging in logs yields ERROR [COM]: aRC=VBOX_E_VM_ERROR (0x80bb0003) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={Could not take a screenshot (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=-37 image

Further analysis shows that there is a strange image with "Now create the kernel class". image

Appears to be a screenshot

Reproduction - How did you get this error to appear?

I simply do not know It is fine with default code

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Dek kit, updated yesterday.

Notes

Compiling to ISO, not direct start with vmware.

penguin-number-123 commented 2 years ago

https://github.com/penguin-number-123/PenguinOS Code for reference

quajak commented 2 years ago

Most likely cause is that something is causing the os to crash.

MishaTy commented 2 years ago

What devkit branch are you using?

penguin-number-123 commented 2 years ago

What devkit branch are you using?

I really don't know, it was the one that was cloned ereyesterday. It was auto cloned by github desktop.

penguin-number-123 commented 2 years ago

Most likely cause is that something is causing the os to crash.

I know, but main problem is that... The first line is just a console.writeline statement, and even it doesn't load. Removing the fs.init and register vfs havd no effect.

quajak commented 2 years ago

Most likely cause is that something is causing the os to crash.

I know, but main problem is that... The first line is just a console.writeline statement, and even it doesn't load. Removing the fs.init and register vfs havd no effect.

Are you initializing any static variables?

penguin-number-123 commented 2 years ago

Most likely cause is that something is causing the os to crash.

I know, but main problem is that... The first line is just a console.writeline statement, and even it doesn't load. Removing the fs.init and register vfs havd no effect.

Are you initializing any static variables?

Yes, I am, since I am using a manifest resource stream

penguin-number-123 commented 2 years ago

I commented out the static variable but the error persists.

quajak commented 2 years ago

I recommend commenting out further parts of the code until it starts working to figure out what the problem is.

penguin-number-123 commented 2 years ago

ok

MishaTy commented 2 years ago

Closing because not enough info.