Index: /trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c
===================================================================
--- /trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c	(revision 41264)
+++ /trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c	(revision 41265)
@@ -316,7 +316,8 @@
     {
         int rc = _crVBoxHGSMIClientInit(pClient, pHgsmi);
-        AssertRC(rc);
         if (RT_SUCCESS(rc))
             return (HVBOXCRHGSMI_CLIENT)pClient;
+        else
+            crWarning("_crVBoxHGSMIClientCreate: _crVBoxHGSMIClientInit failed rc %d", rc);
 
         crFree(pCLient);
@@ -348,5 +349,4 @@
         {
             int rc = _crVBoxHGSMIClientInit(&conn->HgsmiClient, pHgsmi);
-            AssertRC(rc);
             if (RT_SUCCESS(rc))
             {
@@ -354,4 +354,6 @@
                 return &conn->HgsmiClient;
             }
+            else
+                crWarning("_crVBoxHGSMIClientGet: _crVBoxHGSMIClientInit failed rc %d", rc);
             VBoxCrHgsmiDestroy(pHgsmi);
         }
@@ -393,7 +395,7 @@
     pBuf = pHdr->pBuffer;
     rc = pBuf->pfnUnlock(pBuf);
-    AssertRC(rc);
     if (RT_FAILURE(rc))
     {
+        crWarning("_crVBoxHGSMIBufFromHdr: pfnUnlock failed rc %d", rc);
         return NULL;
     }
@@ -424,7 +426,8 @@
     fFlags.bDiscard = 1;
     rc = pClient->pCmdBuffer->pfnLock(pClient->pCmdBuffer, 0, cbBuffer, fFlags, (void**)&pHdr);
-    AssertRC(rc);
     if (RT_SUCCESS(rc))
         return pHdr;
+    else
+        crWarning("_crVBoxHGSMICmdBufferLock: pfnLock failed rc %d", rc);
 
     crWarning("Failed to Lock the command buffer of size(%d), rc(%d)\n", cbBuffer, rc);
@@ -444,5 +447,5 @@
      * 3. guest must wait for command completion in the same order as it submits them
      * in case we can not satisfy any of the above, we should introduce multiple command buffers */
-    CRVBOXHGSMIHDR * pHdr;
+    CRVBOXHGSMIHDR * pHdr = NULL;
     VBOXUHGSMI_BUFFER_LOCK_FLAGS fFlags;
     int rc;
@@ -450,5 +453,4 @@
     fFlags.bReadOnly = 1;
     rc = pClient->pCmdBuffer->pfnLock(pClient->pCmdBuffer, 0, cbBuffer, fFlags, (void**)&pHdr);
-    AssertRC(rc);
     if (RT_FAILURE(rc))
         crWarning("Failed to Lock the command buffer of size(%d), rc(%d)\n", cbBuffer, rc);
@@ -459,7 +461,6 @@
 {
     int rc = pClient->pCmdBuffer->pfnUnlock(pClient->pCmdBuffer);
-    AssertRC(rc);
     if (RT_FAILURE(rc))
-        crWarning("Failed to Unlock the command buffer rc(%d)\n", rc);
+        crError("Failed to Unlock the command buffer rc(%d)\n", rc);
 }
 
@@ -473,5 +474,4 @@
     fFlags.bReadOnly = 1;
     rc = pClient->pCmdBuffer->pfnLock(pClient->pCmdBuffer, 0, sizeof (*pHdr), fFlags, (void**)&pHdr);
-    AssertRC(rc);
     if (RT_FAILURE(rc))
     {
@@ -508,9 +508,9 @@
     fFlags.Value = 0;
     rc = pClient->pHGBuffer->pfnLock(pClient->pHGBuffer, 0, cbBuffer, fFlags, &pClient->pvHGBuffer);
-    AssertRC(rc);
     if (RT_SUCCESS(rc))
-    {
         return pClient->pvHGBuffer;
-    }
+    else
+        crWarning("_crVBoxHGSMIRecvBufData: pfnLock failed rc %d", rc);
+
     return NULL;
 }
@@ -1439,6 +1439,5 @@
         if (g_crvboxhgcm.hGuestDrv == INVALID_HANDLE_VALUE)
         {
-            crDebug("could not open VBox Guest Additions driver! rc = %d\n", GetLastError());
-            CRASSERT(0);
+            crWarning("could not open VBox Guest Additions driver! rc = %d\n", GetLastError());
             VBOXCRHGSMIPROFILE_FUNC_EPILOGUE();
             return FALSE;
@@ -1836,5 +1835,4 @@
 
     rc = pClient->pHgsmi->pfnBufferSubmit(pClient->pHgsmi, aSubmit, 2);
-    AssertRC(rc);
     if (RT_FAILURE(rc))
     {
@@ -1924,14 +1922,13 @@
         fFlags.bWriteOnly = 1;
         rc = pBuf->pfnLock(pBuf, 0, len, fFlags, &pvBuf);
-        AssertRC(rc);
         if (RT_SUCCESS(rc))
         {
             memcpy(pvBuf, buf, len);
             rc = pBuf->pfnUnlock(pBuf);
-            AssertRC(rc);
             CRASSERT(RT_SUCCESS(rc));
         }
         else
         {
+            crWarning("_crVBoxHGSMIWriteReadExact: pfnUnlock failed rc %d", rc);
             _crVBoxHGSMIBufFree(pClient, pBuf);
             /* fallback */
@@ -1968,5 +1965,4 @@
 
         rc = pClient->pHgsmi->pfnBufferSubmit(pClient->pHgsmi, aSubmit, 3);
-        AssertRC(rc);
         if (RT_FAILURE(rc))
         {
@@ -2077,5 +2073,4 @@
 
         rc = pClient->pHgsmi->pfnBufferSubmit(pClient->pHgsmi, aSubmit, 2);
-        AssertRC(rc);
         if (RT_SUCCESS(rc))
         {
@@ -2110,5 +2105,4 @@
 
         rc = pClient->pHgsmi->pfnBufferSubmit(pClient->pHgsmi, aSubmit, 2);
-        AssertRC(rc);
         if (RT_SUCCESS(rc))
         {
