VirtualBox

Changes between Version 2 and Version 3 of Ticket #10126, comment 4


Ignore:
Timestamp:
01/23/12 10:52:28 (2 years ago)
Author:
Michael P.
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10126, comment 4

    v2 v3  
    33{{{ 
    4400:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    5 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    6 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    7 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    8 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    9 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    10 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    11 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    12 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    13 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    14 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    15 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
    16 00:00:07.350 OpenGL Error: Assertion failed: ptl->bytes, file /home/vbox/vbox-4.1.8/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c, line 188 
     5...(removed 12 lines like above) 
    17600:00:07.451 AssertLogRel /home/vbox/vbox-4.1.8/src/VBox/VMM/VMMR3/SSM.cpp(5991) int ssmR3DataReadUnbufferedV2(SSMHANDLE*, void*, size_t): !pSSM->u.Read.fEndOfData 
    18700:00:07.451 cbBuf=18446744072950519801AssertLogRel /home/vbox/vbox-4.1.8/src/VBox/Main/src-client/HGCM.cpp(1287) static int HGCMService::LoadState(SSMHANDLE*): <NULL> 
     
    2716Problem could (??) be related to numerous asserts in state_snapshot.c: 
    2817https://www.virtualbox.org/browser/trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c 
     18 
     19or to SSM.cpp:5991 (some version readable here:http://www.virtualbox.org/svn/vbox/trunk/src/VBox/VMM/VMMR3/SSM.cpp) 
     20 
     21{{{ 
     22static int ssmR3DataReadUnbufferedV2(PSSMHANDLE pSSM, void *pvBuf, size_t cbBuf) 
     23{ 
     24... 
     25    do 
     26    { 
     27        /* 
     28         * Read the next record header if no more data. 
     29         */ 
     30        if (!pSSM->u.Read.cbRecLeft) 
     31        { 
     32            int rc = ssmR3DataReadRecHdrV2(pSSM); 
     33            if (RT_FAILURE(rc)) 
     34                return pSSM->rc = rc; 
     35        } 
     36        AssertLogRelMsgReturn(!pSSM->u.Read.fEndOfData, ("cbBuf=%zu", cbBuf), pSSM->rc = VERR_SSM_LOADED_TOO_MUCH); 
     37... 
     38}}} 
    2939 
    3040{{{ 
     
    4959189      
    5060190                     ptl->img = crAlloc(ptl->bytes); 
    51 191                     if (!ptl->img) return VERR_NO_MEMORY; 
    52 192      
    53 193                     rc = SSMR3GetMem(pSSM, ptl->img, ptl->bytes); 
    54 194                     AssertRCReturn(rc, rc); 
    55 195                 } 
    56 196     #ifdef CR_STATE_NO_TEXTURE_IMAGE_STORE 
    57 197                 /* Same story as in crStateSaveTextureObjData */ 
    58 198                 else if (ptl->bytes) 
    59 199                 { 
     61... 
    6062}}} 

www.oracle.com
ContactPrivacy policyTerms of Use