hikalium / liumos

A toy operating system which supports NVDIMM natively.
MIT License
270 stars 24 forks source link

Panic when creating a GUI window #62

Open d0iasm opened 3 years ago

d0iasm commented 3 years ago

Panic happens when guitestrust.bin and other GUI applications are executed in liumos.

I think this is caused by the commit 9eca4359d9764755cad8954daa2a1e25dc117cae.

(liumos)$ guitestrust.bin
LOAD program header idx: 0x1
LOAD program header idx: 0x2
file name: window.bmp
&GetLoaderInfo(): 0x7fea4470
&loader_info: 0xffffff807fea4470
not found!
PANIC!!!
panicked at 'Failed to create window', src/main.rs:147:19
hikalium commented 3 years ago

It is fixed now. Could you verify it?

hikalium commented 3 years ago

(I should have added a test for it...)