Giter Site home page Giter Site logo

segfault about stage0 HOT 3 CLOSED

oriansj avatar oriansj commented on June 17, 2024
segfault

from stage0.

Comments (3)

bittorf avatar bittorf commented on June 17, 2024

Sorry, i will answer myself:
The input file is missing:

seed/NATIVE/knight/hex0-seed

Where does it come from?
debug:

user@box:~/software/stage0$ strace ./bin/vm --rom seed/NATIVE/knight/hex0-seed --tape_01 stage0/stage0_monitor.hex0 --tape_02 roms/stage0_monitor
execve("./bin/vm", ["./bin/vm", "--rom", "seed/NATIVE/knight/hex0-seed", "--tape_01", "stage0/stage0_monitor.hex0", "--tape_02", "roms/stage0_monitor"], 0x7fffa438cc50 /* 49 vars */) = 0
brk(NULL)                               = 0x5649927b0000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=190060, ...}) = 0
mmap(NULL, 190060, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9a67411000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 o\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1831600, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9a6740f000
mmap(NULL, 1844568, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9a6724c000
mmap(0x7f9a67271000, 1351680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f9a67271000
mmap(0x7f9a673bb000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16f000) = 0x7f9a673bb000
mmap(0x7f9a67405000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b8000) = 0x7f9a67405000
mmap(0x7f9a6740b000, 13656, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9a6740b000
close(3)                                = 0
arch_prctl(ARCH_SET_FS, 0x7f9a67410540) = 0
mprotect(0x7f9a67405000, 12288, PROT_READ) = 0
mprotect(0x5649912e9000, 4096, PROT_READ) = 0
mprotect(0x7f9a67468000, 4096, PROT_READ) = 0
munmap(0x7f9a67411000, 190060)          = 0
brk(NULL)                               = 0x5649927b0000
brk(0x5649927d1000)                     = 0x5649927d1000
openat(AT_FDCWD, "seed/NATIVE/knight/hex0-seed", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV +++
Segmentation fault

user@box:~/software/stage0$ ls -l seed/NATIVE/knight/hex0-seed
ls: cannot access 'seed/NATIVE/knight/hex0-seed': No such file or directory

from stage0.

bittorf avatar bittorf commented on June 17, 2024

And again the answer to myself:
Everything is included in the successor project:

https://gitlab.com/janneke/stage0

from stage0.

oriansj avatar oriansj commented on June 17, 2024

This repository utilizes submodules, so you need to clone this repository using
git clone --recursive. If you have already cloned it run git submodule update --init or after a pull be sure to do: git submodule update --recursive

but I probably should make a more obvious answer when files are not found

from stage0.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.