Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARCv2: strace unexpectedly segv #22

Closed
vineetgarc opened this issue Apr 15, 2021 · 2 comments
Closed

ARCv2: strace unexpectedly segv #22

vineetgarc opened this issue Apr 15, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vineetgarc
Copy link
Contributor

strace is experiencing unexpected segv (not seen for same binary on nSIM / hardware).
Issue seen on refactored arc64 branch as well as old code base

~/arc/QEMU/upstream/build/arc-softmmu/qemu-system-arc -cpu archs -M virt -nographic -no-reboot -monitor none -global cpu.freq_hz=5000000 -serial stdio -device virtio-net-device,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5555-:21,hostfwd=tcp::5556-:23 -kernel vmlinux

# strace ls /
potentially unexpected fatal signal 11.
Path: /usr/bin/strace
CPU: 0 PID: 96 Comm: strace Not tainted 5.6.0-00222-gd6a9d9d0a1b9 #223
Insn could not be fetched
    @No matching VMA found
ECR: 0x00040000 EFA: 0x00000001 ERET: 0x00000001
STAT32: 0x80081282 [IE U     ]   BTA: 0x00000001
 SP: 0x5ffffbf4  FP: 0x00000000 BLK: 0x200be002
LPS: 0x2005b8e2	LPE: 0x2005b906	LPC: 0x00000000
r00: 0x00000006	r01: 0x0005112c	r02: 0x00000001
r03: 0x00012ab4	r04: 0x00000000	r05: 0x2000c9f4
r06: 0x5ffffe70	r07: 0x00000000	r08: 0x00000105
r09: 0x00000042	r10: 0x20010fd4	r11: 0x200209a8
r12: 0x20021260	r13: 0x00000006	r14: 0x5ffffe74
r15: 0x0005112c	r16: 0x00000000	r17: 0x000a4444
r18: 0x20195a94	r19: 0x000a441c	r20: 0x00000000
r21: 0x00000001	r22: 0xffffffff	r23: 0x5ffffc88
r24: 0x000a4430	r25: 0x201e0e68
Segmentation fault
@vineetgarc vineetgarc added the bug Something isn't working label Apr 15, 2021
@vineetgarc
Copy link
Contributor Author

@cupertinomiranda
Copy link

Closing, currently fixed. Video is long due to some external mount the image waits for.

qemu_22_proof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants