Uploaded image for project: 'ReactOS Test Suite'
  1. ReactOS Test Suite
  2. ROSTESTS-315

"win32knt : NtGdiDdQueryDirectDrawObject" ApiTest crashes on Windows Server 2003

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: ReactOS Tests
    • Labels:

      Description

      "SVN" history

      Test WHS: Sep 16 10:06 d69a00e03939... success #1485

      Running Wine Test, Module: win32knt, Test: NtGdiDdQueryDirectDrawObject
      NtGdiDdQueryDirectDrawObject.c:289: Test failed: RTEST failed: pCallBackFlags[0] != 0
      NtGdiDdQueryDirectDrawObject.c:290: Test failed: RTEST failed: pCallBackFlags[1] != 0
      NtGdiDdQueryDirectDrawObject.c:321: Test failed: RTEST failed: puD3dCallbacks->dwSize == sizeof(D3DNTHAL_CALLBACKS)
      NtGdiDdQueryDirectDrawObject.c:378: Test failed: RTEST failed: pCallBackFlags[0] != 0
      NtGdiDdQueryDirectDrawObject.c:379: Test failed: RTEST failed: pCallBackFlags[1] != 0
      NtGdiDdQueryDirectDrawObject.c:422: Test failed: RTEST failed: pCallBackFlags[0] != 0
      NtGdiDdQueryDirectDrawObject.c:423: Test failed: RTEST failed: pCallBackFlags[1] != 0
      NtGdiDdQueryDirectDrawObject.c:432: Test failed: RTEST failed: puD3dDriverData->dwSize == sizeof(D3DNTHAL_GLOBALDRIVERDATA)
      NtGdiDdQueryDirectDrawObject.c:433: Test failed: RTEST failed: puD3dDriverData->hwCaps.dwSize == sizeof(D3DNTHALDEVICEDESC_V1)
      NtGdiDdQueryDirectDrawObject.c:434: Test failed: RTEST failed: puD3dDriverData->hwCaps.dtcTransformCaps.dwSize == sizeof(D3DTRANSFORMCAPS)
      NtGdiDdQueryDirectDrawObject.c:435: Test failed: RTEST failed: puD3dDriverData->hwCaps.dlcLightingCaps.dwSize == sizeof(D3DLIGHTINGCAPS)
      NtGdiDdQueryDirectDrawObject.c:436: Test failed: RTEST failed: puD3dDriverData->hwCaps.dpcLineCaps.dwSize == sizeof(D3DPRIMCAPS)
      NtGdiDdQueryDirectDrawObject.c:437: Test failed: RTEST failed: puD3dDriverData->hwCaps.dpcTriCaps.dwSize == sizeof(D3DPRIMCAPS)
      NtGdiDdQueryDirectDrawObject.c:494: Test failed: RTEST failed: pCallBackFlags[0] != 0
      NtGdiDdQueryDirectDrawObject.c:495: Test failed: RTEST failed: pCallBackFlags[1] != 0
      NtGdiDdQueryDirectDrawObject.c:504: Test failed: RTEST failed: puD3dBufferCallbacks->dwSize == sizeof(DD_D3DBUFCALLBACKS)
      NtGdiDdQueryDirectDrawObject.c:604: Test failed: RTEST failed: puD3dTextureFormats != NULL
      Test NtGdiDdQueryDirectDrawObject completed in 0.03 seconds.
      

      Code

       604     RTEST(puD3dTextureFormats != NULL);
       605     ASSERT(puD3dTextureFormats != NULL);
       606 
       607     RTEST(puNumFourCC == NULL);
      

      (WTB) Job 42294

      • XP/S2003: fails line 159+ checks, then dies silently after line 165 check.
      • Vista/7: fails then returns on line 73+ check.
      • 8: seems not to start.

      Code

       158         /* Check the res */
       159         RTEST(pHalInfo->vmiData.dwDisplayWidth == devmode.dmPelsWidth );
       160         RTEST(pHalInfo->vmiData.dwDisplayHeight == devmode.dmPelsHeight );
       161 
       162         /*  This can never be test for it is who big the line is after it been align displayPitch */
       163         RTEST(pHalInfo->vmiData.lDisplayPitch != 0);
       164 
       165         RTEST(pHalInfo->vmiData.ddpfDisplay.dwSize == sizeof(DDPIXELFORMAT) );
       166         ASSERT(pHalInfo->vmiData.ddpfDisplay.dwSize == sizeof(DDPIXELFORMAT));
       167 
       168         /* We can not check if it DDPF_RGB flags been set for primary surface
       169          * for it can be DDPF_PALETTEINDEXED1,DDPF_PALETTEINDEXED2,DDPF_PALETTEINDEXED4,DDPF_PALETTEINDEXED8, DDPF_PALETTEINDEXEDTO8, DDPF_RGB, DDPF_YUV
       170          */
       171         RTEST( (pHalInfo->vmiData.ddpfDisplay.dwFlags & (DDPF_PALETTEINDEXED1 | DDPF_PALETTEINDEXED2 | DDPF_PALETTEINDEXED4 |
       172                                                          DDPF_PALETTEINDEXED8 | DDPF_PALETTEINDEXEDTO8 | DDPF_RGB | DDPF_YUV)) != 0);
      

      Are these ASSERT() malfunctionning?
      Should they be replaced by a test and skip/return?
      Is the test simply wrong somehow?
      ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ThePhysicist Timo Kreuzer
                Reporter:
                Serge Gautherie Serge Gautherie
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: