VirtualBox

Opened 16 years ago

Closed 15 years ago

#1619 closed defect (fixed)

Assertion Failed to release the client -> Fixed in 2.1.2

Reported by: James Lucas Owned by:
Component: RDP Version: VirtualBox 1.5.6
Keywords: Cc:
Guest type: other Host type: other

Description

When powering off a vm an assertion was thrown by VBoxVRDP

41:29:57.892 VRDP: TCP server failed to send data to the client!!! Disconnecting the client.
41:29:57.892 VRDP: Failed to release the client. Status 0x2, Context 0x2!!!
41:29:57.892
41:29:57.892 !!Assertion Failed!!
41:29:57.892 Expression: <NULL>
41:29:57.892 Location  : /home/vbox/vbox-1.5.6/src/VBox/RDP/server/vrdpclient.cpp(340) void VRDPClient::ThreadContextRelease(int)

This put the machine into an aborted state and could not be recovered by a VBoxManage controlvm <vmname> poweroff|reset because the VBoxVRDP process had executed and there was no current session.

I had to manually change the aborted="true" value in the vm .xml file to reset this state.

What is the correct method from recovering from aborts such as these? Manually having to edit the xml file is a sloppy.

Attachments (1)

VBox.log.vrdpassert (102.7 KB ) - added by James Lucas 16 years ago.
Log file from crash (Last few lines after poweroff)

Download all attachments as: .zip

Change History (8)

by James Lucas, 16 years ago

Attachment: VBox.log.vrdpassert added

Log file from crash (Last few lines after poweroff)

comment:1 by Frank Mehnert, 16 years ago

AFAIR you don't need to recover from the aborted state as it should be handled like the powered off state. You should be able to just start aborted VMs.

comment:2 by Frank Mehnert, 16 years ago

Component: otherRDP

comment:3 by sunlover, 15 years ago

Resolution: fixed
Status: newclosed
Summary: Assertion Failed to release the clientAssertion Failed to release the client -> Fixed in 2.1.2

Should be fixed in 2.1.2. Please reopen if the problem persists.

comment:4 by Martin, 15 years ago

Resolution: fixed
Status: closedreopened

I just got this error with virtualbox 2.1.4 on debian lenny. Was not able to get a core dump. I'm pretty sure this is the first time this has happened since I installed 2.1.4 a few months ago.

80:03:06.346 VRDP: TCP server failed to send data to the client!!! Disconnecting the client.
80:03:06.385 VBVA: VRDP acceleration has been disabled.
80:03:06.460 VRDP: Failed to release the client. Status 0xff357c30, Context 0x2!!!
80:03:06.460 
80:03:06.460 !!Assertion Failed!!
80:03:06.460 Expression: <NULL>
80:03:06.460 Location  : /home/vbox/vbox-2.1.4/src/VBox/RDP/server/vrdpclient.cpp(329) void VRDPClient::ThreadContextRelease(int)

Last RDP log message before this is:

79:46:24.870 VRDP: Received the Disconnect Request packet.
79:46:24.870 VRDP: Connection closed: 
79:46:29.894 VRDP: DisableStatus timed out 5000!!!
79:46:29.894 VRDP: Logoff: localhost (192.168.1.5) build 2600. User: [theuser] Domain: [] Reason 0x0001.

comment:5 by MrX1980, 15 years ago

Please try it with v3.0.0 again.

comment:6 by James Lucas, 15 years ago

This can likely be re-closed. The bug I originally reported was found and fix in 2.1.2 (as per the title)

Perhaps the Asset can be changed to be just a logged error (with the appropriate cleanup of resources on the server side). There could be many reasons why the client does not disconnect correctly which are out of the control of VBoxHeadless.

comment:7 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use