Skip to content

Getting "Assertion failed: old table entries must remain the same when linking with multiple dynamic libraries" #11458

@gorinje

Description

@gorinje

Hi,

Setting dynamicLibraries to more than one .wasm files always provide this error :

Assertion failed: old table entries must remain the same

whatever .wasm files are used.

This is cause by this assert in the generated .js file :

for (var i = 0; i < tableBase; i++) {
        assert(table.get(i) === oldTable[i], 'old table entries must remain the same');
}

The last index of oldTable[i] is always null although table.get(i) has a value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions