Comments (17)
I've reprod this (independantly, I actually thought I broke something).
I'm digging into this atm, however it's definitely a regression, so in the very short term you can probably wind back about ~a month of git history and have this bug go away.
from voltron.
Separately, you should not have the init line in your .gdbinit.
You should load voltron, load the inferior, the voltron init
from voltron.
No, it’s fine to voltron init
in your gdbinit. Doing it after loading a target is only required for LLDB due to the way it manages the stop hooks (you add stop hooks on a per-target basis).
Thanks for looking into it Richo.
On 15 Jan 2015, at 6:18 am, Richo Healey [email protected] wrote:
Separately, you should not have the init line in your .gdbinit.
You should load voltron, load the inferior, the voltron init
—
Reply to this email directly or view it on GitHub.
from voltron.
Ah! my bad.
(Interestingly, sometimes this issue did not happen to me when I started
my inferior, and stepped through a few instructions before init'ing voltron
and attaching some views. I really doubt they're related, but it might be a
Thing You Could Do to get moving with it.
Will hopefully make time to dig into the underlying issue this week some
time, but nfi when.
On Wed, Jan 14, 2015 at 4:32 PM, snare [email protected] wrote:
No, it’s fine to
voltron init
in your gdbinit. Doing it after loading a
target is only required for LLDB due to the way it manages the stop hooks
(you add stop hooks on a per-target basis).Thanks for looking into it Richo.
On 15 Jan 2015, at 6:18 am, Richo Healey [email protected]
wrote:Separately, you should not have the init line in your .gdbinit.
You should load voltron, load the inferior, the voltron init
—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub
#65 (comment).
from voltron.
Didn't mean to close this. THANKS GITHUB. Let me know if this solves your problem, @theqlabs. Thanks!
from voltron.
Will test again this week, got a little busy. Will post back results. Thanks guys for digging into this! Been dying to use this tool.
from voltron.
Looks like it's still occurring, just pulled the newest commit and installed on a 32-bit Ubuntu 12.04 VM again:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/voltron-0.1-py2.7.egg/voltron/core.py", line 202, in run
rfds, _, _ = select.select([serv, self.exit_pipe] + self.clients, [], [])
error: (4, 'Interrupted system call')
from voltron.
Ok, it looks like if I load the inferior first (as you suggested) and then source dbgentry.py and run voltron init, I don't seem to get the Interrupted System call exception.
And I also just got views working, this seems a little shaky but it's currently working (if I do it in the above order)
from voltron.
The first "ni" I take in GDB, I check the views and instead of refreshing I get: Failed getting registers: Exception getting registers from debugger: Couldn't get extended state status: No such process.
I will try to dig into this as I have time. Am I the only one having these issues?
from voltron.
Wow, that's weird. I don't suppose you can bundle up a VM that does this for me to poke?
from voltron.
Can you try the branch at https://github.com/richo/voltron/tree/debug/theqlabs ?
It'll most likely barf about a jillion messages into your console. It seems likely that something is leaking tons of signals (especially if they're batched) and causing the bug.
from voltron.
Sure, can do either. I can try the branch above first, if that doesn't work I'll bundle up the VM.
from voltron.
@theqlabs re: you being the only one having the issue, I really only use this on OS X with LLDB and it kinda only gets tested on Linux/GDB when @richo has to do something on Linux.
There's a test suite which runs some tests against the GDB CLI but they're really unreliable at the moment so you have to run them a few times and only treat a failure that occurred every time as a true failure. I've been meaning to try to do something to make these more reliable, but that might also be a good starting point.
In general if you're having issues, enable debug_logging
in your config (as per the configuration page). You'll get voltron_main.log
and voltron_debugger.log
created in your ~/.voltron
dir, which are the log files for the views/clients and debugger respectively. These might be helpful in finding the issues (either for us or you).
I guess I should probably write a "troubleshooting" section for the wiki :)
from voltron.
GDB tests should be more reliable now. Waiting for the debugger to restart sucks.
from voltron.
BTW you'll also get a tests/test.log
when you run the tests.
from voltron.
Which you do with nosetests -sv
in the root of the repo, or nosetests -sv tests/gdb_cli_tests.py
for just the GDB tests.
from voltron.
This will probably be resolved now since the core comms has been completely rewritten and is not using the sockets code any more
from voltron.
Related Issues (20)
- Next release? HOT 2
- Allow Command view output to be keyboard scrollable
- cannot start voltron because of import error in werkzeug HOT 2
- Multiple debugging session with voltron HOT 1
- Sorry the "An error occurred" was caused by proxy setting
- ImportError on "DispatcherMiddleware" with werkzeug 1.0.1 HOT 1
- LLDB Can't Load Python's Module HOT 2
- Install fails on debian bullseye HOT 3
- mac python2.7报错;饿 HOT 2
- How to install on Fedora? HOT 1
- RFI: Voltron and LLDB, source pane - how to suppress source display in the lldb console HOT 1
- gdb hangs when using Voltron
- voltron plugin git repository
- how to view the source code?
- Theming for Voltron
- Mac M1: ImportError: dlopen... symbol not found in flat namespace '_PyInt_FromSsize_t HOT 3
- ImportError – name clash when debugging MacOS Kernel with LLDB HOT 11
- How to uninstall voltron HOT 1
- Architecture 'arm64e' not supported
- Issue with fresh installation
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 voltron.