It is a very unhelpful error message. Just a segfault.
I have commented out DoBreak() at the end of the Chroot command so the state can be left the way the script intends.
Running chroot under gdb in this scenario and I get this:
Starting program: /usr/bin/chroot . /fex/bin/FEX
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
process 6151 is executing new program: /home/steamos/.local/share/fex-emu/RootFS/ArchLinux/fex/bin/FEX
Program received signal SIGSEGV, Segmentation fault.
0x0000fffff7fc58bc in elf_dynamic_do_Rela (skip_ifunc=<optimized out>, lazy=<optimized out>,
nrelative=<optimized out>, relsize=<optimized out>, reladdr=<optimized out>,
scope=<optimized out>, map=<optimized out>) at /usr/src/debug/glibc/glibc/elf/do-rel.h:53
53 = (const void *) D_PTR (map, l_info[DT_SYMTAB]);
I don't fully understand this issue, but I think it has to do with the dependency patching being done in the chroot.py script
It is a very unhelpful error message. Just a segfault.
I have commented out
DoBreak()at the end of theChrootcommand so the state can be left the way the script intends.Running chroot under gdb in this scenario and I get this:
I don't fully understand this issue, but I think it has to do with the dependency patching being done in the
chroot.pyscript