-
Notifications
You must be signed in to change notification settings - Fork 178
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
Open file dialog extremely slow on network drive #11
Comments
Thank you for following this up. In case it is of use I'm working with a version compiled from source from:
Which is a few changes ahead of v0.6.7 but changes are in readme and non-code files. Michael |
Without indentation (so it auto-links): 7e06def |
Hi, I'm not sure if this sheds any light on it but I attached gdb to cgdb and interrupted during this hang. The stacktrace is so short I guess it either tells you everything or nothing:
Hope it is of some use. I'm happy to perform more tests if you feel there is anything else I can do. Cheers, |
Hi, To clarify, if I do a "next" step in gdb it hangs again. So it doesn't seem to be doing a loop and coming back to that, it is hanging on the __select_nocancel. If I knew more about system calls and the like I might have some idea what that meant :) Cheers, |
Thanks, that actually debunks a theory I had. Unfortunately, I don't have a new theory yet. I'll try to investigate some more. |
Has anyone run into this again lately? My thought was to cache the file list each time the sources are reloaded. My configuration doesn't hang as long but each time I try to open the file dialog over NFS, it's a delay of a couple of seconds. Slows down the workflow just enough to be frustrating. |
On Fri, Aug 12, 2016 at 06:45:59AM -0700, BarrettLowe wrote:
Hi, Please run, gdb --annotate=2 ./debugged program, Then run the command, "maint set per-command time on". Then time how long the command, 'info sources' takes. If GDB is the one taking a long time, there is nothing we can do Thanks, |
Closing really old bugs (and cgdb switched to gdb/mi). If this still is a problem, please open a new bug. Thanks much. |
User reported that cgdb will thrash for 20+ minutes at 100% CPU after hitting 'o' to open a file where the sources are hosted on an NFS drive. Running
info sources
in gdb completes in a few seconds, so this is likely a bug in cgdb.See discussion here: https://groups.google.com/forum/?fromgroups=#!topic/cgdb-users/BtI9ze4g9Ts
The text was updated successfully, but these errors were encountered: