Skip to content

Reclass does not attach to process on linux (Ubuntu 22.04/ Debian 11 / Arch linux) (Freezes) #242

Closed

Description

@AIVDNL

Reclass runs correctly after building for linux x64, and runs correctly using mono /bin/Release/x64/ReClass.NET.exe

However, attaching to a process causes Reclass to freeze. I've tried rebuilding the solution and different VMs, but the result persists. It will not attach and immediately freeze.

FWIW /proc/sys/kernel/yama/ptrace_scope is set to 0. (I've tried different values)

Activity

  1. AIVDNL commented on Nov 4, 2022

    @AIVDNL
    Author

    Also, after building on linux 20.04 using docker gives me Failed to load native functions! Couldn't find at location x64/x86 NativeCore.so while the file is clearly there. maybe something to do with mono?

    Anyway I cannot get reclass to function correctly either because it does not run *20.04 or because it won't attach to a process (immediately freezes) * 22.04

  2. ihateadmins commented on Nov 5, 2022

    @ihateadmins

    NativeCore.so exception might be related to #241
    i don't have any issue at all with the x64 version.
    Also mono compiled with multilib didn't make any difference to it either.

  3. AIVDNL commented on Nov 5, 2022

    @AIVDNL
    Author

    You use Ubuntu 22.04? I've tried different tools that attach to processes (GameConqueror) and they attached just fine. not sure where the issue lies. If you have any idea if and where there are log files, I'd be happy to post them.

    I also tried Debian 11 now, same error as Ubuntu 20.04. After installing with docker I cannot run ReClass. both x32 and x64 versions give #241
    -- I opened a seperate issue for the NativeCore.so error, I think it's unrelated to the freezing on Ubuntu 22.04

  4. AIVDNL commented on Nov 5, 2022

    @AIVDNL
    Author

    Following #47 to build on Debian 11 works, but this will also freeze when trying to attach to a process. getting really confused here.

  5. AIVDNL commented on Nov 6, 2022

    @AIVDNL
    Author

    Running with gdb attached gives the following error when attaching to a process (Both on Ubuntu 22.04 and Debian 11):

    thread 4 "mono" received signal SIG35, Real-time event 35.
    [Switching to Thread 0x7fffec9e7640 (LWP 14724)]
    __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fffec9e6be0, op=137, expected=0, futex_word=0x5555559fd888) at ./nptl/futex-internal.c:57
    57	./nptl/futex-internal.c: No such file or directory.
    
    

    If I ignore SIG35 i get the following error (please note that I have no idea what I'm doing -- i'm just trying to get reclass to work on linux.. :/)

    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0x7ffff6fff700 (LWP 7910)]
    [New Thread 0x7ffff765b700 (LWP 7911)]
    [New Thread 0x7fffecae7700 (LWP 7915)]
    [New Thread 0x7fffec8e6700 (LWP 7916)]
    [New Thread 0x7fffec6e5700 (LWP 7917)]
    
    Thread 1 "mono" received signal SIG36, Real-time event 36.
    0x00007ffff7a9712a in __GI___sigsuspend (set=0x5555559f2ae0)
        at ../sysdeps/unix/sysv/linux/sigsuspend.c:26
    26	../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or directory.
    (gdb) 
    

    Is there really no one else who has ran into this error? Pretty sure these are the two most popular linux builds out there.

  6. changed the title [-]Reclass does not attach to process on linux (Ubuntu 22.04) (Freezes)[/-] [+]Reclass does not attach to process on linux (Ubuntu 22.04/ Debian 11 / Arch linux) (Freezes)[/+] on Nov 6, 2022
  7. AIVDNL commented on Nov 6, 2022

    @AIVDNL
    Author

    Also tried on Arch Linux - also freezes.

    huh2
    the issue above is identical on Debian and Ubuntu.

  8. nekiter commented on Nov 23, 2022

    @nekiter

    Same problem here, but on Manjaro.

    Build the current version of this repo.

  9. qb-0 commented on Jan 31, 2023

    @qb-0

    Same here. PopOs

  10. cassanof commented on Mar 9, 2023

    @cassanof

    Same problem on Arch Linux.

  11. EricYoong commented on Mar 16, 2023

    @EricYoong

    Anyone got the solution for this? I also having this issue on Ubuntu 22.04

  12. damajor commented on May 4, 2023

    @damajor

    Same on Fedora 37

  13. added a commit that references this issue on Jun 24, 2023
    b6c17dc
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