Opened 11 years ago
Last modified 7 years ago
#10292 new bug
Debugger cli freezes when debugged team exits
Reported by: | pulkomandy | Owned by: | anevilyak |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Debugger | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Debugger -c ls co
This runs ls as expected, but ends with this message:
Debugger: Failed to run thread 171718: Bad port ID
Then, it is not possible to interact with Debugger anymore. The prompt doesn't come back, commands don't do anything, even Ctrl+C doesn't work.
Expected behavior: Debugger should either exit, show the debug prompt, or do something similar to the GUI mode with a "do nothing/quit/restart team" prompt.
Change History (6)
comment:1 by , 11 years ago
comment:2 by , 10 years ago
Milestone: | R1 → Unscheduled |
---|
Moving Debugger related tickets out of R1 milestone (Prop #14).
comment:3 by , 9 years ago
Blocking: | 12155 added |
---|
comment:4 by , 9 years ago
The hang on team exit should be addressed in hrev49416. Leaving this open for the other mentioned problems though.
comment:5 by , 8 years ago
Blocking: | 12155 removed |
---|
comment:6 by , 7 years ago
A possibly related freeze of Debugger:
~$ Debugger --thread 1359 -c debugger> bt # works fine debugger> save-report # works fine debugger> cont # works fine debugger> bt [thread terminated: 1372 "w:1067:app_server cached menu"] # Note: some threads terminating as I do things on display [thread terminated: 1370 "w:1067:Tâches et activité CPU"] [thread terminated: 1368 "w:1067:Global Popup cached menu"] [thread terminated: 1366 "w:1067:Global Popup"] Current thread is not stopped. Can't get stack trace.
The prompt does not come back, and ctrl+C doesn't work.
I'm using Debugger through ssh to debug some app_server things, so it would be nice to have this working.
I tried to kill Debugger and attach a new instance to the same thread. I did not get to the prompt on this second try and the debugger thread was not stopped (it was still using 100% CPU).
Forgot to mention: save-report cli command freezes Debugger in a similar way, after saving the report and showing the prompt.