VirtualBox

Ticket #14415 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Assertion failure 'Tag != 0' from VBoxDisp.dll

Reported by: ThFabba Owned by:
Priority: major Component: guest additions
Version: VirtualBox 5.0.0 Keywords:
Cc: Guest type: Windows
Host type: all

Description

When running VBox 5 with Guest Additions against a checked build of the Windows kernel, it will assert on startup. VBoxDisp is calling EngAllocMem with a Tag of zero, which is invalid. This is a regression, and worked fine in 4.x.

From a quick look through the source it seems to come from this line: src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVBVA.cpp:305

return EngAllocMem(0, cb, 0);

WinDbg output:

*** Assertion failed: Tag != 0
***   Source File: d:\srvrtm\base\ntos\ex\pool.c, line 1839

Break repeatedly, break Once, Ignore, terminate Process, or terminate Thread (boipt)? b
b
Execute '.cxr F8646554' to dump context
Break instruction exception - code 80000003 (first chance)
nt!DbgBreakPoint:
811507a8 cc              int     3
*** ERROR: Module load completed but symbols could not be loaded for VBoxDisp.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for WINSRV.DLL - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for CSRSRV.DLL - 
*** ERROR: Module load completed but symbols could not be loaded for CSRSS.EXE
kd> .reload
Connected to Windows Server 2003 3790 x86 compatible target at (Fri Aug  7 16:28:53.983 2015 (UTC + 2:00)), ptr64 FALSE
Loading Kernel Symbols
...............................................................
.............................
Loading User Symbols
..........
Loading unloaded module list
........
*** ERROR: Module load completed but symbols could not be loaded for VBoxDisp.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for winsrv.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for CSRSRV.dll - 
*** ERROR: Module load completed but symbols could not be loaded for csrss.exe
kd> kp
ChildEBP RetAddr  
f864653c 811529f6 nt!DbgBreakPoint
f8646824 811823b9 nt!RtlAssert+0xba
f8646884 bf876b12 nt!ExAllocatePoolWithTag+0x29
f8646898 bf88814a win32k!Win32AllocPool+0x1a
f86468b0 bf9eb571 win32k!EngAllocMem+0x34
WARNING: Stack unwind information not available. Following frames may be wrong.
f86468c4 bf9f6053 VBoxDisp+0x3571
f86468f4 bf9f6472 VBoxDisp+0xe053
f8646904 bf9f5669 VBoxDisp+0xe472
f8646928 bf9eb733 VBoxDisp+0xd669
f86469ac bf9e9e1f VBoxDisp+0x3733
f86469c4 bf807b5c VBoxDisp+0x1e1f
f86469fc bf82be02 win32k!WatchdogDrvEnableSurface+0x36
f8646a18 bf820998 win32k!PDEVOBJ::bMakeSurface+0x43
f8646a78 bf81ebff win32k!hCreateHDEV+0x398
f8646bf4 bf8189fe win32k!DrvCreateMDEV+0x4f0
f8646ce8 bf81b8aa win32k!DrvChangeDisplaySettings+0x2eb
f8646d24 bf812ba9 win32k!InitVideo+0x28
f8646d48 bf824314 win32k!UserInitialize+0x10d
f8646d50 8116fdb5 win32k!NtUserInitialize+0x8b
f8646d50 7c82ed64 nt!KiFastCallEntry+0x135
0015fd7c 75a8aa43 ntdll!KiFastSystemCallRet
0015fdb0 75a53496 winsrv!ConServerDllInitialization+0x55c
0015fe20 75a5306f CSRSRV!CsrUnhandledExceptionFilter+0x268
0015ff78 75a5313f CSRSRV!CsrPopulateDosDevices+0x603
0015ff8c 4a6810a7 CSRSRV!CsrServerInitialization+0x79
0015ffa4 4a68131e csrss+0x10a7
0015fff4 00000000 csrss+0x131e

Change History

comment:1 Changed 2 years ago by frank

Thanks. The fix will be part of the next 5.0.x maintenance release.

comment:2 Changed 2 years ago by frank

Fix is part of the latest 5.0 Guest Additions as can be found at our test builds page.

comment:3 Changed 2 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of VBox 5.0.4.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use