VirtualBox

Opened 11 years ago

Last modified 8 years ago

#11889 new defect

OpenGL Warning

Reported by: nothx Owned by:
Component: 3D support Version: VirtualBox 4.2.14
Keywords: Cc:
Guest type: Windows Host type: Windows

Description

OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\tinderbox\add-4.2\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 346

P.S. Nothing was listed in VBox.log

Attachments (1)

VBox.log.zip (19.1 KB ) - added by WonderMcGee 10 years ago.
VBox.log file

Download all attachments as: .zip

Change History (18)

comment:1 by Frank Mehnert, 11 years ago

Could you attach your VBox.log file anyway?

comment:2 by misha, 11 years ago

We are aware of this warning. It should be generally harmless, do you see any 3D rendering issues when you see that warning?
Please attach a VM log file as Frank suggested and also specify what do you do in guest to see this warning?

comment:3 by nothx, 11 years ago

How to reproduce (this is not the only Java game with this problem):

1) Install VirtualBox v4.2.X, WinXP SP3 guest, 1GB RAM, GuestAddons with 3D support, activate 2D & 3D Acceleration (128MB VRAM).

2) Start WinXP SP3 guest.

3) Install Java (tested with JRE v6u45 and JDK v7u21).

4) Go to https://sites.google.com/site/3079game/ and download the demo.

5) Start the demo with: java -jar 3079DemoInstaller-v2.18.12.jar

6) I get the a console window with error message:

C:\Games\3079>java -jar 3079DemoInstaller-v2.18.12.jar
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\tinderbox\add-4.2\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 346

OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\tinderbox\add-4.2\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 346

7) No graphics are displayed and java.exe is using 99% of the CPU.

Last edited 11 years ago by nothx (previous) (diff)

comment:4 by Leo, 11 years ago

I am also getting this error when doing a "Windows Experience Index" (Windows 7 SP1) using the command winsat formal.

Windows-Systembewertungstool
> Formale Bewertung wird ausgeführt
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\tinderbox\add-4.2\src\VBox\GuestHost\OpenGL\state_tte_init.c, line 346

OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\tinderbox\add-4.2\src\VBox\GuestHost\OpenGL\state_tte_init.c, line 346

OpenGL Warning: Returning GetProcAddress:NULL for wglSetPixelFormatWINE
OpenGL Warning: Returning GetProcAddress:NULL for wglSetPixelFormatWINE

After that messages, winsat crashes:

Protokollname: Application
Quelle:        Application Error
Datum:         12.07.2013 13:35:13
Ereignis-ID:   1000
Aufgabenkategorie:(100)
Ebene:         Fehler
Schlüsselwörter:Klassisch
Benutzer:      Nicht zutreffend
Computer:      poldi-7
Beschreibung:
Name der fehlerhaften Anwendung: winsat.exe, Version: 6.1.7601.17514, Zeitstempel: 0x4ce798fc
Name des fehlerhaften Moduls: ntdll.dll, Version: 6.1.7601.17725, Zeitstempel: 0x4ec4aa8e
Ausnahmecode: 0xc0000374
Fehleroffset: 0x00000000000c40f2
ID des fehlerhaften Prozesses: 0x12e0
Startzeit der fehlerhaften Anwendung: 0x01ce7ef3ddc16cca
Pfad der fehlerhaften Anwendung: C:\Windows\system32\winsat.exe
Pfad des fehlerhaften Moduls: C:\Windows\SYSTEM32\ntdll.dll
Berichtskennung: 1d0cd1d0-eae7-11e2-ae14-a5153a562f83
Ereignis-XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-07-12T11:35:13.000000000Z" />
    <EventRecordID>14061</EventRecordID>
    <Channel>Application</Channel>
    <Computer>poldi-7</Computer>
    <Security />
  </System>
  <EventData>
    <Data>winsat.exe</Data>
    <Data>6.1.7601.17514</Data>
    <Data>4ce798fc</Data>
    <Data>ntdll.dll</Data>
    <Data>6.1.7601.17725</Data>
    <Data>4ec4aa8e</Data>
    <Data>c0000374</Data>
    <Data>00000000000c40f2</Data>
    <Data>12e0</Data>
    <Data>01ce7ef3ddc16cca</Data>
    <Data>C:\Windows\system32\winsat.exe</Data>
    <Data>C:\Windows\SYSTEM32\ntdll.dll</Data>
    <Data>1d0cd1d0-eae7-11e2-ae14-a5153a562f83</Data>
  </EventData>
</Event>

in reply to:  4 comment:5 by misha, 11 years ago

Replying to TuXator: Could you please check if your WinSAT crashes are fixed with VBox 4.3 and 4.3 Guest additions?

by WonderMcGee, 10 years ago

Attachment: VBox.log.zip added

VBox.log file

comment:6 by WonderMcGee, 10 years ago

The problem is still present in v4.3 r89960:

java -jar 3079DemoInstaller-v2.18.12.jar
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\tinderbox\add-4.3\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 364

OpenGL Warning: freeing context 03860020, id(0) not being in the context list
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\tinderbox\add-4.3\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 364

OpenGL Warning: freeing context 03F90020, id(0) not being in the context list

VBox.log file is attached above.

Last edited 10 years ago by WonderMcGee (previous) (diff)

comment:7 by misha, 10 years ago

Hmm, right, the warning should be still there, although it should be harmless.
Do you see any other issues, besides the warnings?

comment:8 by WonderMcGee, 10 years ago

99% CPU use by Java v7u45 and no graphics displayed after 3 min of waiting. The issue is present in the few other OpenGL Java based apps I have tested with, also the same problem is observed when tested on different PC with NVIDIA video card.

P.S. The guest is WinXP SP3 with no updates installed on it (just the guest addons, Java and .NET).

comment:9 by misha, 10 years ago

Could you point me to a sample Java application that exposes this problem?

comment:10 by WonderMcGee, 10 years ago

@misha as stated in comment: 3:

4) Go to  https://sites.google.com/site/3079game/ and download the demo.
5) Start the demo with: java -jar 3079DemoInstaller-v2.18.12.jar 

Also: http://www.bluesaga.org/ http://www.farskygame.com/ http://www.java-gaming.org/topics/ninja-game/30588/view.html http://gamejolt.com/games/rpg/the-chasm/17733/ http://gamejolt.com/games/rpg/jevaengine-underground-online/16225/

Last edited 10 years ago by WonderMcGee (previous) (diff)

comment:11 by WonderMcGee, 10 years ago

No change in behavior after upgrading to VirtualBox v4.3.2.

comment:12 by WonderMcGee, 10 years ago

No change in behavior after upgrading to VirtualBox v4.3.4.

comment:13 by WonderMcGee, 10 years ago

No change in behavior after upgrading to VirtualBox v4.3.6. Tested with Java 7u45 and Java 7u51.

You can also add JPEXS Free Flash Decompiler (FFDec) - free opensource Flash SWF Decompiler (http://www.free-decompiler.com/flash/) to the list of applications with this behavior. Since it's an open-source project you can get the code from: http://www.free-decompiler.com/flash/source.html

OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\
tinderbox\add-4.3\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 364

OpenGL Warning: freeing context 4A2C0020, id(0) not being in the context list
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\
tinderbox\add-4.3\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 364

OpenGL Warning: freeing context 4A450020, id(0) not being in the context list

Here is a screenshot: http://i40.tinypic.com/f59w4.png

Last edited 10 years ago by WonderMcGee (previous) (diff)

comment:14 by chrisse, 10 years ago

Problem also confirmed for VirtualBox v4.3.8.

comment:15 by chrisse, 10 years ago

Brand new Oracle VirtualBox v4.3.8 installation with just installed WinXP SP3, without network, only additional software installed: .NET, Oracle JDK v1.7.0_51, Oracle JDK v1.7.0_51 Demos and the VB guest addons:

C:\jdk1.7.0_51\demo\jfc\Java2D>java -jar Java2Demo.jar
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\
tinderbox\add-4.3\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 364

OpenGL Warning: freeing context 03D60020, id(0) not being in the context list
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx, file D:\
tinderbox\add-4.3\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 364

OpenGL Warning: freeing context 03F20020, id(0) not being in the context list

The same error for the Notepad demo...

P.S. Tested on GeForce 9800M GT, NVIDIA v332.21.

Last edited 10 years ago by chrisse (previous) (diff)

comment:16 by chrisse, 10 years ago

No change in VirtualBox v4.3.10.

comment:17 by Donuts, 8 years ago

I see similar messages when using WinUAE. VirtualBox 5.1.8, XP guest, Lubuntu x86-64 host.

OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx=0, file D:\tinderbox\add-5.1\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 443
OpenGL Warning: freeing context 08220020, id(0) not being in the context list
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx=0, file D:\tinderbox\add-5.1\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 443
OpenGL Warning: freeing context 083e0020, id(0) not being in the context list
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use