Can't use apps downloaded with pkg
-
I agree that I have searched opened and closed issues to prevent duplicates.
Description
I can't launch applications that I downloaded with pkg (tested sodium and rusthello, same error)
Environment info
- Redox OS Release: 0.6.0
Running on qemu kvm using the command listed in the book :
qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 1024 -s -machine q35 -device ich9-intel-hda -device hda-duplex -net nic,model=e1000 -net user -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -enable-kvm -cpu host -drive file=harddrive.bin,format=raw
Steps to reproduce
- Download a package (
pkg install sodium
) - Open it (
$ sodium
) - Doesn't open
Behavior
- Expected behavior: The app opens
- Actual behavior: I get the following error in the kernel logs:
Invalid opcode fault
RFLAG: 0000000000010206
CS: 0000000000000023
RIP: 000000000044F96D
RAX: 0000000000000000
RCX: 000000000045D9E3
RDX: 0000000000000001
RDI: 0000000000000002
RSI: 000000000056FCA4
R8: 00000180000FFBD0
R9: 0000000001010000
R10: FFFFFFFFFFFFFFFF
R11: 0000000000000202
RBX: 00000180000FFE30
RBP: 0000000000000000
R12: 0000000000000000
R13: 0000000000000000
R14: 00000180000FFE30
R15: 0000000000000000
FS: 0000000000000033
TRACE: FFFFFF00004B72C8
FFFFFF00004B72C8: FFFF8000001389B8
FFFF8000001388C0+00F8
__interrupt_invalid_opcode
FFFFFF00004B7348: FFFF8000001011CF
FFFF8000001011A4+002B
invalid_opcode
0000000000000000: GUARD PAGE
kernel:INFO -- SIGNAL 4, CPU 3, PID ContextId(167)
kernel:INFO -- NAME file:/ui/bin/sodium
Ok("file:/ui/bin/orbterm") using deprecated funmap(...) call
And this one in the terminal:
panicked in ld.so: failed to open handle for process registers: expect failed for Result with err: No such device
ion: pipeline execution error: process (161) ended by signall SIGILL