Comments (8)
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.
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.
Please try 0.2.1.
from hijack.
No luck with hijack 0.2.1 against ruby 1.9.3
from hijack.
What kind of process are you trying to hijack?
from 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
from hijack.
Debug symbols for your Ruby are missing. There's not much hijack can do in this case...
from hijack.
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)
- Can't hijack Rail's 'script/server' or shotgun processes
- hangs in OSX Leopard, ruby 1.9.2 at start HOT 4
- hijack gives a strange issue at times. HOT 3
- cryptic error if gdb is not installed HOT 8
- Error out if debug symbols are missing.
- Hijack doesn't work with Emacs inferior ruby process? HOT 2
- Perhaps the worst bug for a ruby debugger is that it cannot recognize ruby program. HOT 3
- hijack fails missing constant Config HOT 2
- Hijacking Passenger HOT 1
- Implement complete payload unloading HOT 1
- Hijacking while the GC is running kills target process HOT 1
- Investigate target process crash after repeated hijacks
- Race condition in gdb HOT 1
- hangs in ubuntu during the start HOT 2
- Can't hijack Rails 3 process running under Ruby 1.9.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hijack.