Skip to content

chroot.py crashing on SteamOS using the ArchLinux default RootFS #38

Description

@granitrocky

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions