Skip to content

Emscripten target spurious internal compiler errors (corrupted double-linked list) #54312

Description

@kvark

(I'm not completely sure if it's a Rust bug in the first place, but previously we've had issues with emscripten target linking/compiling, and they were resolved on Rust side, so here we come again).

You can see the error happening in this travis job:

Error in `/emsdk_portable/llvm/clang/bin/llc': corrupted double-linked list: 0x000000000379a1e0 ***

According to gfx-rs/gfx#2408, it happens on both wasm32 and asmjs targets, and the error may look different:

  • corrupted size vs. prev_size
  • double free or corruption (!prev)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions