Skip to content

Maxime crashes when running with VMA #22

@nkushman

Description

@nkushman

Hello,

I've compiled and run Maxine with the docker image, following the instructions here: https://maxine-vm.readthedocs.io/en/latest/build.html#developing-using-a-docker-container

mx helloworld runs successfully:

~/maxine-src/maxine# mx helloworld                                                
Hello World! 

I then compile the VMA image using the command from here: https://maxine-vm.readthedocs.io/en/latest/Virtual-Machine-Level-Analysis.html#building-handlers-into-the-boot-image

mx --Jp @-Dmax.vma.handler.class=com.oracle.max.vm.ext.vma.handlers.store.sync.h.SyncStoreVMAdviceHandler image @vma-t1x

(fixing the typo in the documentation to change handler --> handlers)

When I run:

mx helloworld

The VM crashes generating the below stack trace. It seems that either there's a problem with the code or the documentation, but I'm not sure which:
error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions