Exception on remote login when there is a paused traced process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Low
|
Björn Tillenius | ||
landscape-client (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I start a process with gdb on our 12.04 LTS server, then pause/stop it (in this case, it stopped by itself because of a segfault), any remote SSH login to our server is greeted with about the following message (I have replaced most data with dots):
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-30-generic x86_64)
* Documentation: https:/
System information as of Fri Oct 5 14:56:59 CEST 2012
System load: ... Swap usage: ...
Usage of /raid: ... Users logged in: ...
Memory usage: ... IP address for eth1: ...
=> /raid is using ...
=> /media/backup is using ...
=> There were exceptions while processing one or more plugins. See
/var/
Graph this data and manage this system at https:/
*** System restart required ***
No mail.
Last login: Fri Oct 5 11:18:48 2012 from ...
Looking into /var/log/
2012-10-05 14:56:59,372 ERROR Processes plugin raised an exception.
Traceback (most recent call last):
File "/usr/lib/
result = plugin.run()
File "/usr/lib/
for process_info in info.get_
File "/usr/lib/
process_info = self.get_
File "/usr/lib/
process_
KeyError: 't (tracing stop)'
I therefore patched /usr/lib/
@@ -14,7 +14,7 @@
"D (disk sleep)": "D",
"S (sleeping)": "S",
"T (stopped)": "T",
- "T (tracing stop)": "I",
+ "t (tracing stop)": "I",
"X (dead)": "X",
"Z (zombie)": "Z"}
Now everything seems to work as intended. Please feel free to adopt this patch.
Related branches
- Jerry Seutter (community): Approve
- Alberto Donato (community): Approve
-
Diff: 204 lines (+91/-26)3 files modifiedlandscape/lib/process.py (+21/-23)
landscape/lib/tests/test_process.py (+67/-0)
landscape/monitor/tests/test_activeprocessinfo.py (+3/-3)
Changed in landscape-client: | |
milestone: | none → 12.10 |
importance: | Undecided → Low |
tags: | added: kanban |
tags: | removed: kanban |
Changed in landscape-client: | |
status: | New → In Progress |
assignee: | nobody → Björn Tillenius (bjornt) |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
The attachment "Same patch as included in the description. Adapt file names as needed." of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]