Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kvark opened this issue Sep 18, 2018 · 1 comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

Comments

@kvark
Copy link
Contributor

kvark commented Sep 18, 2018

(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)
@jonas-schievink jonas-schievink added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. labels Apr 21, 2019
@jonas-schievink
Copy link
Contributor

Duplicate of #47023, as far as I can tell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Projects
None yet
Development

No branches or pull requests

2 participants