Bug #20
onehost delete fails with a segfault
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Ruben S. Montero | % Done: | 0% | |
Category: | Core & System | |||
Target version: | - | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: |
Description
onehost delete causes oned to crash
History
#1 Updated by Tino Vázquez about 13 years ago
Mail from users mailing list
Oh yes!!
You're definitely right, I had not my oned process running. :( Sorry!
The problem is that it suddenly died and I didn't know about it. I have reproduced when it dies. When I do:
onehost delete 0
Error: end of file reached Fails here!!!!!!!!!!!
And the oned process dies.
I have traced the error and it turns out to be the same point as in the previous message, it fails here:
def call(action, *args)
begin
response=@server.call("one."+action, "sessionID", *args)
response<<nil if response.length<2
response
rescue Exception => e
[false, e.message + " Fails here!!!!!!!!!!! "]
end
end
end
Do you know what can be? I have this, and want to delete the first host (though I get the same error on all the hosts), which is useless:
HID NAME RVM TCPU FCPU ACPU TMEM FMEM STAT
0 invented 0 0 100 on
1 localhost 0 0 100 on
2 localhost 0 0 100 on
#2 Updated by Tino Vázquez about 13 years ago
- Status changed from New to Closed
- Resolution set to fixed
Fixed in changeset r22