Open rdp opened 14 years ago
it may well be 1.9.1 as I haven't tried 1.9 yet. Could you attach the output of the 'bt' command when you attach to the process directly with gdb? Thanks
Is there anything new related to this issue after two years?
I'm still trying to use hijack on 1.9.3 and it doesn't work. Same issue. "XXXX doesn't appear to be a Ruby process!"
Please try 0.2.1.
No luck with hijack 0.2.1 against ruby 1.9.3
What kind of process are you trying to hijack?
I'm trying to hijack a sidekiq process on 1.9.3. I got the "XXXX doesn't appear to be a Ruby process" error message, but it was because the process to which I was trying to attach was running as a different user. When I ran sudo hijack, I got "WARNING: Did not detect a safe frame on which to set a breakpoint, hijack may fail." Then it just hangs.
Here's the output from --debug: https://gist.github.com/3361940
Debug symbols for your Ruby are missing. There's not much hijack can do in this case...
I installed ubuntu's libruby1.9.1-dbg package. Now it looks like GDB is straight up crashing: https://gist.github.com/3361996
So, I think I'm going to back out of this rabbit hole.
this hijack attempt fails, either because the process is always stuck in GC, or because it's 1.9.1?