• Dear forum reader,
    To actively participate in our forum discussions or to start your own threads, in addition to your game account you need a forum account. You can
    REGISTER HERE!
    Please ensure a translation in to English is provided if your post is not in English and to respect your fellow players when posting.

Fixed on Beta: HTML5 on Chrome: crash, "oops, Web-GL was blocked"

Andi47

Overlord
From time to time (I did not find out yet what specific action causes this), the game crashes, and the browser says "oops, web-GL was blocked".

Web-GL blocked? What is this? Is this something what I can change in my browser settings? If yes, how?

1.120.d5fbae73e0 (09.02.2018 8:25), Andi47 (73349), zz1, en_US, WEB 6,5,0,0, Windows 10, Chrome/63.0.3239.132, 1920x949, OpenGL Vendor=WebKit Version=WebGL 2.0 (OpenGL ES 3.0 Chromium) Renderer=WebKit WebGL GLSL=WebGL GLSL ES 3.00 (OpenGL ES GLSL ES 3.0 Chromium) (512 MB VRAM)
 

DeletedUser

Guest
Has anyone else experienced this or noticed anything that leads to it?
 

Andi47

Overlord
Seems I found out what happens here: Seemingly it is the symptom of "memory leak causes memory to overflow"

And there is more than one memory leak in the game!! I managed to crash the game quite a few times by just playing (doing GE battles or negotiations, collecting and restarting productions, going to the tech tree, etc....)
 

DeletedUser

Guest
I managed to crash the game quite a few times by just playing

So you actually got to the point where the game crashed? Was this in HTML5?
I reproduced a memory leak in HTML5 with Aid and tavern visits, but I did not get to the point the game actually locked up or crashed, just excessive memory use.
 

Andi47

Overlord
Yes it was HTML5. I had it one or two times that I observed increased activity of the hard disc (memory swapping?), while the memory use was around 3.5 Gigabytes - short time later it crashed with the "oops" message.

I guess that there is more than one memory leak in the HTML version.
 

Andi47

Overlord
Please check the battles (Campaign map and GE) an switching to campaign- and GE maps and back to city for memory leaks - it seams that these crashes have a significantly higher probability to occur when doing several battles (not fully-automatic, but with loading the battlefield for at least keeping the "real" unit behind before clicking the automatic button) in a row.

And yes, I just had a crash after:
1.) being in the game for just some time, and then, when my DC started, doing:
2.) switching to campaign map
3.) switching between explored provinces to choose which one to conquer
4.) doing one battle (fully manually) for the DC
5.) switched to city, restarted a few military buildings
6.) went to GE map, did a few battles
7.) back to city, collected reward of recurring quest, bought 5 FP for next quest and collected reward
8.) back to GE, clicked on next encounter
--> CRASH, "ooops"-message in the browser
 
Last edited:

DeletedUser

Guest
Memory leaks are a bit out of the scope of this report, but I will look into it.
Let me restate that, I mean that I am not convinced the OP is actually caused by memory leaks at this point :)
 

DeletedUser

Guest
Andi, are you able to get a screenie of the dev console when this happens? The WebGL part I mean.
 

Andi47

Overlord
Crash.jpg
 

Andi47

Overlord
another one (sorry, the last one was cut - I now increased the window size before taking the screenshot)

HTML5_crash_ooops2.jpg

edit: and for comparison a screenshot just after reloading and restarting a military building (FoE was working without a problem at this moment):
DevTool_after_reload.jpg
 

Andi47

Overlord
List of errors and warnings while the game is running without crash:

Code:
24232820.js Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
index?ref=:1 Cross-origin plugin content from  must have a visible size larger than 400 x 300 pixels, or it will be blocked. Invisible content is always blocked.
merged-game-b4a922c3.js:27 LocalStorage has 411340 chars in 275 entries
merged-haxe-deps-c75527b0.js:136 Big
merged-haxe-deps-c75527b0.js:114 Translations file loaded
merged-game-b4a922c3.js:19 [Deprecation] GainNode.gain.value setter smoothing is deprecated and will be removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/features/5287995770929152 for more details.
r @ merged-game-b4a922c3.js:19
init @ merged-game-b4a922c3.js:11
(anonymous) @ merged-game-b4a922c3.js:19
t @ merged-game-b4a922c3.js:11
n @ merged-game-b4a922c3.js:23
t.registerSoundAtlas @ merged-game-b4a922c3.js:23
t.setAtlasDefinitions @ merged-game-b4a922c3.js:25
_onSoundAtlasLoaded @ ForgeHX-a80534c2.js:11210
e @ ForgeHX-a80534c2.js:14
_onDataLoaded @ ForgeHX-a80534c2.js:7270
e @ ForgeHX-a80534c2.js:14
__dispatchEvent @ ForgeHX-a80534c2.js:20
dispatchEvent @ ForgeHX-a80534c2.js:17
_onDataLoaded @ ForgeHX-a80534c2.js:7259
load @ ForgeHX-a80534c2.js:7259
_load @ ForgeHX-a80534c2.js:7276
load @ ForgeHX-a80534c2.js:7267
execute @ ForgeHX-a80534c2.js:11210
execute @ ForgeHX-a80534c2.js:26168
routeEventToCommand @ ForgeHX-a80534c2.js:26171
k @ ForgeHX-a80534c2.js:26165
__dispatchEvent @ ForgeHX-a80534c2.js:20
dispatchEvent @ ForgeHX-a80534c2.js:17
dispatch @ ForgeHX-a80534c2.js:7363
_executeNextStep @ ForgeHX-a80534c2.js:7366
_executeNextStep @ ForgeHX-a80534c2.js:11208
step @ ForgeHX-a80534c2.js:7365
postConstruct @ ForgeHX-a80534c2.js:7365
applyInjection @ ForgeHX-a80534c2.js:26254
applyInjectionPoints @ ForgeHX-a80534c2.js:26143
instantiateUnmapped @ ForgeHX-a80534c2.js:26138
instantiate @ ForgeHX-a80534c2.js:26148
execute @ ForgeHX-a80534c2.js:11202
execute @ ForgeHX-a80534c2.js:26168
routeEventToCommand @ ForgeHX-a80534c2.js:26171
k @ ForgeHX-a80534c2.js:26165
__dispatchEvent @ ForgeHX-a80534c2.js:20
dispatchEvent @ ForgeHX-a80534c2.js:17
dispatchEvent @ ForgeHX-a80534c2.js:7514
startup @ ForgeHX-a80534c2.js:7515
startup @ ForgeHX-a80534c2.js:10895
checkAutoStartup @ ForgeHX-a80534c2.js:7519
HA @ ForgeHX-a80534c2.js:7515
ak @ ForgeHX-a80534c2.js:7522
Tga @ ForgeHX-a80534c2.js:10894
_bootstrap @ ForgeHX-a80534c2.js:212
_onContextCreated @ ForgeHX-a80534c2.js:212
e @ ForgeHX-a80534c2.js:14
__dispatchEvent @ ForgeHX-a80534c2.js:20
dispatchEvent @ ForgeHX-a80534c2.js:17
__dispatchCreate @ ForgeHX-a80534c2.js:25827
e @ ForgeHX-a80534c2.js:14
e.run @ ForgeHX-a80534c2.js:23834
(anonymous) @ ForgeHX-a80534c2.js:23834
71ForgeHX-a80534c2.js:25511 WebGL: INVALID_OPERATION: bindTexture: attempt to bind a deleted texture
Ca.__flushSamplerState @ ForgeHX-a80534c2.js:25511
4merged-game-b4a922c3.js:25 Sound rate changed to 1
2ForgeHX-a80534c2.js:25511 WebGL: INVALID_OPERATION: bindTexture: attempt to bind a deleted texture
Ca.__flushSamplerState @ ForgeHX-a80534c2.js:25511
 

Andi47

Overlord
errors and warnings after a crash:

Code:
24232820.js Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
index?ref=:1 Cross-origin plugin content from  must have a visible size larger than 400 x 300 pixels, or it will be blocked. Invisible content is always blocked.

merged-game-b4a922c3.js:27 LocalStorage has 411340 chars in 275 entries
merged-haxe-deps-c75527b0.js:136 Big
merged-haxe-deps-c75527b0.js:114 Translations file loaded
merged-game-b4a922c3.js:19 [Deprecation] GainNode.gain.value setter smoothing is deprecated and will be removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/features/5287995770929152 for more details.
r @ merged-game-b4a922c3.js:19
init @ merged-game-b4a922c3.js:11
(anonymous) @ merged-game-b4a922c3.js:19
t @ merged-game-b4a922c3.js:11
n @ merged-game-b4a922c3.js:23
t.registerSoundAtlas @ merged-game-b4a922c3.js:23
t.setAtlasDefinitions @ merged-game-b4a922c3.js:25
_onSoundAtlasLoaded @ ForgeHX-a80534c2.js:sourcemap:11210
e @ ForgeHX-a80534c2.js:sourcemap:14
_onDataLoaded @ ForgeHX-a80534c2.js:sourcemap:7270
e @ ForgeHX-a80534c2.js:sourcemap:14
__dispatchEvent @ ForgeHX-a80534c2.js:sourcemap:20
dispatchEvent @ ForgeHX-a80534c2.js:sourcemap:17
_onDataLoaded @ ForgeHX-a80534c2.js:sourcemap:7259
load @ ForgeHX-a80534c2.js:sourcemap:7259
_load @ ForgeHX-a80534c2.js:sourcemap:7276
load @ ForgeHX-a80534c2.js:sourcemap:7267
execute @ ForgeHX-a80534c2.js:sourcemap:11210
execute @ ForgeHX-a80534c2.js:sourcemap:26168
routeEventToCommand @ ForgeHX-a80534c2.js:sourcemap:26171
k @ ForgeHX-a80534c2.js:sourcemap:26165
__dispatchEvent @ ForgeHX-a80534c2.js:sourcemap:20
dispatchEvent @ ForgeHX-a80534c2.js:sourcemap:17
dispatch @ ForgeHX-a80534c2.js:sourcemap:7363
_executeNextStep @ ForgeHX-a80534c2.js:sourcemap:7366
_executeNextStep @ ForgeHX-a80534c2.js:sourcemap:11208
step @ ForgeHX-a80534c2.js:sourcemap:7365
postConstruct @ ForgeHX-a80534c2.js:sourcemap:7365
applyInjection @ ForgeHX-a80534c2.js:sourcemap:26254
applyInjectionPoints @ ForgeHX-a80534c2.js:sourcemap:26143
instantiateUnmapped @ ForgeHX-a80534c2.js:sourcemap:26138
instantiate @ ForgeHX-a80534c2.js:sourcemap:26148
execute @ ForgeHX-a80534c2.js:sourcemap:11202
execute @ ForgeHX-a80534c2.js:sourcemap:26168
routeEventToCommand @ ForgeHX-a80534c2.js:sourcemap:26171
k @ ForgeHX-a80534c2.js:sourcemap:26165
__dispatchEvent @ ForgeHX-a80534c2.js:sourcemap:20
dispatchEvent @ ForgeHX-a80534c2.js:sourcemap:17
dispatchEvent @ ForgeHX-a80534c2.js:sourcemap:7514
startup @ ForgeHX-a80534c2.js:sourcemap:7515
startup @ ForgeHX-a80534c2.js:sourcemap:10895
checkAutoStartup @ ForgeHX-a80534c2.js:sourcemap:7519
HA @ ForgeHX-a80534c2.js:sourcemap:7515
ak @ ForgeHX-a80534c2.js:sourcemap:7522
Tga @ ForgeHX-a80534c2.js:sourcemap:10894
_bootstrap @ ForgeHX-a80534c2.js:sourcemap:212
_onContextCreated @ ForgeHX-a80534c2.js:sourcemap:212
e @ ForgeHX-a80534c2.js:sourcemap:14
__dispatchEvent @ ForgeHX-a80534c2.js:sourcemap:20
dispatchEvent @ ForgeHX-a80534c2.js:sourcemap:17
__dispatchCreate @ ForgeHX-a80534c2.js:sourcemap:25827
e @ ForgeHX-a80534c2.js:sourcemap:14
e.run @ ForgeHX-a80534c2.js:sourcemap:23834
(anonymous) @ ForgeHX-a80534c2.js:sourcemap:23834
71ForgeHX-a80534c2.js:sourcemap:25511 WebGL: INVALID_OPERATION: bindTexture: attempt to bind a deleted texture
Ca.__flushSamplerState @ ForgeHX-a80534c2.js:sourcemap:25511
4merged-game-b4a922c3.js:25 Sound rate changed to 1
2ForgeHX-a80534c2.js:sourcemap:25511 WebGL: INVALID_OPERATION: bindTexture: attempt to bind a deleted texture
Ca.__flushSamplerState @ ForgeHX-a80534c2.js:sourcemap:25511
2index?ref=:1 WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
 

DeletedUser

Guest
Thanks Andi :) Can you tell me if the Hardware Acceleration in your browser is on or off?
 
just FYI: why not use F12 to get the dev console displayed? much faster and easier method (plus its the same key on pretty much every common browser to get the dev stuff displayed)
 
Top