Code Monkey home page Code Monkey logo

Comments (8)

ileitch avatar ileitch commented on September 15, 2024

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

from hijack.

pcboy avatar pcboy commented on September 15, 2024

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!"

from hijack.

ileitch avatar ileitch commented on September 15, 2024

Please try 0.2.1.

from hijack.

e0da avatar e0da commented on September 15, 2024

No luck with hijack 0.2.1 against ruby 1.9.3

from hijack.

ileitch avatar ileitch commented on September 15, 2024

What kind of process are you trying to hijack?

from hijack.

jfirebaugh avatar jfirebaugh commented on September 15, 2024

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

from hijack.

ileitch avatar ileitch commented on September 15, 2024

Debug symbols for your Ruby are missing. There's not much hijack can do in this case...

from hijack.

jfirebaugh avatar jfirebaugh commented on September 15, 2024

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.

from hijack.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.