Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'createShader' of null on Chromium 59 #160

Open
autra opened this issue Jul 19, 2017 · 0 comments

Comments

@autra
Copy link

autra commented Jul 19, 2017

Hi there \o

Description

The chromium extension makes WebGL context crash after its activation (for one origin), until the browser is restarted.

Steps

Expected

  • The page still works correctly (you can see the texture on the globe, zoom etc)
  • The page can be debugged with webgl-inspector

Actual

  • My computer freeze some seconds, the page crashes with all lot of errors, the first of them being
(unknown) Uncaught TypeError: Cannot read property 'createShader' of null
    at new TexturePreviewGenerator (<anonymous>:9134:20)
    at SurfaceInspector.TextureView.inspector.setupPreview (<anonymous>:10656:30)
    at <anonymous>:7582:18

There are also a lot of warnings seemingly concerning my application (itowns), but I don't have them if I disable this extension. Full logs

THREE.WebGLRenderer: Error creating WebGL context.
xn @ itowns.js:1
l @ itowns.js:12
i @ itowns.js:5
i @ itowns.js:12
(anonymous) @ globe.js:11

itowns.js:1 Uncaught TypeError: Cannot read property 'getExtension' of null
    at Object.get (itowns.js:1)
    at new xn (itowns.js:1)
    at new l (itowns.js:12)
    at i [as constructor] (itowns.js:5)
    at new i (itowns.js:12)
    at globe.js:11
get @ itowns.js:1
xn @ itowns.js:1
l @ itowns.js:12
i @ itowns.js:5
i @ itowns.js:12
(anonymous) @ globe.js:11

globe.html:50 Uncaught TypeError: Cannot read property 'addEventListener' of undefined
    at globe.html:50
(anonymous) @ globe.html:50

Additionnal informations

OS: Ubuntu 16.04 LTS
Device: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)

If I embed directly the script (<script src="http://benvanik.github.com/WebGL-Inspector/core/embed.js"></script>) in my webpage, it also fails, but with other errors.

I'll be happy to provide other relevant infos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant