Skip to content

Assertion error #4

Description

@altostratous
(venv) (base) ali@simon:~/Desktop/Code/trrespass/drama$ sudo make run
sudo obj/tester
tester: src/rev-mc.c:94: uint64_t get_phys_addr(uint64_t): Assertion `entry & (1ULL << 63)' failed.
make: *** [Makefile:58: run] Aborted

I'm compiling x86_64 (default build essentials on my system)
Seems the read value out of /proc/self/pagemap has not the correct bits set. How can I fix the problem.
Little bit of context:

(venv) (base) ali@simon:~/Desktop/Code/trrespass/drama$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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