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

GDB stuck at "Detaching after fork from child process" when trying to load library #63

Open
aaaasdfghjkllll opened this issue Jul 2, 2024 · 5 comments

Comments

@aaaasdfghjkllll
Copy link

I'm using the x86_64 branch of Garry's Mod on Arch Linux. I have built libgluasteal.so from the latest source code but whenever I try injecting with gdb I get stuck at this:

(gdb) set $dlopen = (void*(*)(char*, int)) dlopen
(gdb) call $dlopen("/home/asdfghjkl/glua-steal/build/src/libgluasteal.so", 1)
[Detaching after fork from child process 53626]

I believe this is a gmod update because this has worked for me yesterday with the same build. I tried rebuilding and clean reinstalling gmod with no success.

@lewisclark
Copy link
Owner

I can reproduce with the same setup but not sure what is causing this at the moment

@aaaasdfghjkllll
Copy link
Author

32-bit branch works fine, so it is likely a x86_64 update which broke it

@aaaasdfghjkllll
Copy link
Author

I feel like this could also be a problem with GModCEFCodecFix because I have tried downgrading and the game still has the same problem

@lewisclark
Copy link
Owner

I feel like this could also be a problem with GModCEFCodecFix because I have tried downgrading and the game still has the same problem

Oh that's interesting. You went to a previously working version of the game and gluasteal still doesn't work?

@aaaasdfghjkllll
Copy link
Author

Yes, I tried the one after the latest 32-bit release and it did not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants