Skip to content

[wasm][debugger] Assertion caused by invalid array id being used #65742

Closed

Description

@radical

This can be seen in DebuggerTests.ArrayTests.InvalidArrayId, which gets an assertion:

console.error: * Assertion at /workspaces/runtime/src/mono/mono/metadata/class.c:4580, condition ' not met`

mono_array_element_size (MonoClass *ac)
{
        g_assert (m_class_get_rank (ac));

We should validate validate whether a given object is an array or not, before calling into these functions.

Activity

  1. ghost added
    untriaged
    on Feb 22, 2022
  2. radical commented on Feb 22, 2022

    @radical
    MemberAuthor
  3. removed
    untriaged
    on Feb 23, 2022
  4. added this to the 7.0.0 milestone on Feb 23, 2022
  5. lewing commented on Jul 25, 2022

    @lewing
    Member

    is this still an issue?

  6. ghost added
    in-pr
    on Jul 28, 2022
  7. added a commit that references this issue on Jul 28, 2022
    07ebba1
  8. ghost removed
    in-pr
    on Jul 28, 2022
  9. ghost locked as resolved and limited conversation to collaborators on Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Debugger-mono

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions