cryptoadvance / cryptoadvance/specter-diy
Segmentation fault error when starting the simulator
- Dominant language
- Python
- Stars
- 585
- Forks
- 108
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 5
Description
I am running ubuntu 20.04
This is the logs I have after trying to start the simulator.
```lola@*****:~/Workspace/specter-diy$ make simulate
Building cross-compiler
make -C f469-disco/micropython/mpy-cross \
DEBUG=0 && \
cp f469-disco/micropython/mpy-cross/mpy-cross bin
make[1]: Entering directory '/home/lola/Workspace/specter-diy/f469-disco/micropython/mpy-cross'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
make[1]: Leaving directory '/home/lola/Workspace/specter-diy/f469-disco/micropython/mpy-cross'
Building binary with frozen files
make -C f469-disco/micropython/ports/unix \
USER_C_MODULES=../../../usermods \
FROZEN_MANIFEST=../../../../manifests/unix.py && \
cp f469-disco/micropython/ports/unix/micropython bin/micropython_unix
make[1]: Entering directory '/home/lola/Workspace/specter-diy/f469-disco/micropython/ports/unix'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Including User C Module from ../../../usermods/qrcode
Including User C Module from ../../../usermods/scard
Including User C Module from ../../../usermods/sdram
Including User C Module from ../../../usermods/secp256k1
Including User C Module from ../../../usermods/udisplay_f469
Including User C Module from ../../../usermods/uebmit
Including User C Module from ../../../usermods/uhashlib
make[1]: Leaving directory '/home/lola/Workspace/specter-diy/f469-disco/micropython/ports/unix'
bin/micropython_unix simulate.py
Running TCP-UART on 127.0.0.1 port 22849 - connect with telnet
Connect to 127.0.0.1:22849 to send QR code content
Pin None set to ON
make: *** [Makefile:68: simulate] Segmentation fault (core dumped)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure with `make simulate` on Ubuntu 20.04, then start by reading the `simulate` target at `Makefile:68` and the invoked `simulate.py` entry point. Trace the run through the last logged step, `Pin None set to ON`; done means the simulator starts without a segmentation fault.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100