Skip to content

[core] Running the web example throws an exception. #802

@valtsu41

Description

@valtsu41
printErr @ core_basic_window.html:1
core_basic_window.html:1 falling back to ArrayBuffer instantiation
printErr @ core_basic_window.html:1
core_basic_window.html:1 INFO: Initializing raylib 2.5-dev
core_basic_window.html:1 INFO: Display device initialized successfully
core_basic_window.html:1 INFO: Render size: 800 x 450
core_basic_window.html:1 INFO: Screen size: 800 x 450
core_basic_window.html:1 INFO: Viewport offsets: 0, 0
core_basic_window.html:1 INFO: GPU: Vendor:   WebKit
core_basic_window.html:1 INFO: GPU: Renderer: WebKit WebGL
core_basic_window.html:1 INFO: GPU: Version:  OpenGL ES 2.0 (WebGL 1.0 (OpenGL ES 2.0 Chromium))
core_basic_window.html:1 INFO: GPU: GLSL:     OpenGL ES GLSL ES 1.00 (WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium))
core_basic_window.html:1 INFO: Number of supported extensions: 47
core_basic_window.html:1 INFO: [EXTENSION] VAO extension detected, VAO functions initialized successfully
core_basic_window.html:1 WARNING: [EXTENSION] NPOT textures extension not found, limited NPOT support (no-mipmaps, no-repeat)
core_basic_window.html:1 INFO: [EXTENSION] DXT compressed textures supported
core_basic_window.html:1 INFO: [TEX ID 1] Texture created successfully (1x1 - 1 mipmaps)
core_basic_window.html:1 INFO: [TEX ID 1] Base white texture loaded successfully
core_basic_window.html:1 INFO: [SHDR ID 2] Shader compiled successfully
core_basic_window.html:1 INFO: [SHDR ID 3] Shader compiled successfully
core_basic_window.html:1 INFO: [SHDR ID 4] Shader program loaded successfully
core_basic_window.html:1 INFO: [SHDR ID 4] Default shader loaded successfully
core_basic_window.html:1 INFO: Internal buffers initialized successfully (CPU)
core_basic_window.html:1 Invalid function pointer called with signature 'vii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)
printErr @ core_basic_window.html:1
core_basic_window.html:1 Build with ASSERTIONS=2 for more info.
printErr @ core_basic_window.html:1
core_basic_window.html:1 19
core_basic_window.html:1 19
printErr @ core_basic_window.html:1
core_basic_window.html:1 exception thrown: abort(19) at Error
    at jsStackTrace (http://localhost:8080/core/core_basic_window.js:1:10810)
    at stackTrace (http://localhost:8080/core/core_basic_window.js:1:10981)
    at abort (http://localhost:8080/core/core_basic_window.js:1:648516)
    at nullFunc_vii (http://localhost:8080/core/core_basic_window.js:1:599392)
    at wasm-function[305]:27976
    at wasm-function[307]:42
    at wasm-function[305]:22392
    at wasm-function[305]:4741
    at wasm-function[305]:4741
    at wasm-function[305]:4741
printErr @ core_basic_window.html:1
core_basic_window.js:1 Uncaught abort(19) at Error
    at jsStackTrace (http://localhost:8080/core/core_basic_window.js:1:10810)
    at stackTrace (http://localhost:8080/core/core_basic_window.js:1:10981)
    at abort (http://localhost:8080/core/core_basic_window.js:1:648516)
    at nullFunc_vii (http://localhost:8080/core/core_basic_window.js:1:599392)
    at wasm-function[305]:27976
    at wasm-function[307]:42
    at wasm-function[305]:22392
    at wasm-function[305]:4741
    at wasm-function[305]:4741
    at wasm-function[305]:4741

Happens when trying to run the web example. My browser is Chromium, and I built the example by copying the command from make and changing the paths to work with Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions