Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

segmentation fault when running tests in multi-kernel&virtual machine mode #117

Open
latesnow opened this issue Jun 22, 2021 · 1 comment

Comments

@latesnow
Copy link

Hi,
I followed the instructions, trying to do some tests in multi-kernel within virtual machine mode. But no matter which test program I choose, it always generates a segmentation fault like below:

Welcome to HermitCore (http://www.hermitcore.org/)!

/ #
/ # /hermit/x86_64-hermit/extra/tests/pi
traps: pi[112] general protection ip:83ea2d sp:7ffd70178a10 error:402 in pi[800000+362000]
Segmentation fault

and objdump result shows:

000000000083ea14 <Llinux_main>:
  83ea14:       b8 04 00 00 00          mov    $0x4,%eax
  83ea19:       bb 02 00 00 00          mov    $0x2,%ebx
  83ea1e:       48 b9 06 30 9e 00 00    movabs $0x9e3006,%rcx
  83ea25:       00 00 00
  83ea28:       ba 5c 00 00 00          mov    $0x5c,%edx
  83ea2d:       cd 80                   int    $0x80
  83ea2f:       b8 01 00 00 00          mov    $0x1,%eax
  83ea34:       bb 00 00 00 00          mov    $0x0,%ebx

Is there anyway I can fix this?

@jounathaen
Copy link
Member

Hi and thanks for the bug report.
Unfortunately we have mostly shifted our efforts from this project to rusty-hermit which is also a unikernel but rewritten in Rust. Maybe this project does also fulfill your needs as I cannot promise you if or when somebody can take a look at this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants