Closed
Bug 934151
Opened 11 years ago
Closed 11 years ago
WebGL errors/warnings originating from ASM.js do not get associated with source line number, even if source mapping information is present
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 670002
People
(Reporter: jwringstad, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.114 Safari/537.36 Steps to reproduce: - Use firefox 24.0 - Use emcc to compile some C99 that uses OpenGL ES to render some stuff, compile with -g4 to generate source maps - create GL error somewhere by performing any arbitrary invalid GL operation - look at javascript console to see resulting error message. I can provide a minimal test-case if needed, but I assume the issue is not hard to reproduce. Actual results: Received error message with untranslated javascript line numbers: [07:36:24.945] Error: WebGL: vertexAttribPointer: stride doesn't satisfy the alignment requirement of given type @ index.html:3550 Expected results: Received error message with translated line numbers: [07:36:24.945] Error: WebGL: vertexAttribPointer: stride doesn't satisfy the alignment requirement of given type @ main.c:181
Reporter | ||
Comment 1•11 years ago
|
||
<clb> Amadiro: a lot of firefox devs don't do emscripten dev itself, so if you can e.g. dropbox a file that someone can just run, it'll make it straightforward to reproduce <Amadiro> clb, will do http://dl.dropboxusercontent.com/u/21559589/webgl-test-broken/index.html
Reporter | ||
Comment 2•11 years ago
|
||
It looks like b2g Leo/HD has the same issue, by the way, which is probably not too surprising: E/GeckoConsole( 438): [JavaScript Warning: "Error: WebGL: vertexAttribPointer: stride doesn't satisfy the alignment requirement of given type" {file: "http://dl.dropboxusercontent.com/u/21559589/webgl-test-broken/index.html" line: 3550}] E/GeckoConsole( 438): [JavaScript Warning: "Error: WebGL: drawElements: no VBO bound to enabled vertex attrib index 1!" {file: "http://dl.dropboxusercontent.com/u/21559589/webgl-test-broken/index.html" line: 3553}] E/GeckoConsole( 438): [JavaScript Warning: "Error: WebGL: No further warnings will be reported for this WebGL context (already reported 32 warnings)" {file: "http://dl.dropboxusercontent.com/u/21559589/webgl-test-broken/index.html" line: 3553}]
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•