Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.
This repository was 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

Description

@latesnow

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions