Skip to content

ICE - monomorphization related #2464

Closed
Closed
@paulstansifer

Description

@paulstansifer

I added a type parameter to the parser; this caused an ICE. I haven't had any luck isolating a small example, but the guilty commit is at paulstansifer@2b02574

Relevant part of the backtrace:

rust: upcall fail 'option none', /home/rustbuild/src/rustbot/workspace-snap-stage3-x86_64-unknown-linux-gnu/src/src/rustc/rustc.rc:1
/home/paul/src/rust/build/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(_ZN9rust_task4failEv+0x28)[0x2ba2c74ecd88]
/home/paul/src/rust/build/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(+0x2f739)[0x2ba2c7503739]
/home/paul/src/rust/build/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(upcall_fail+0x164)[0x2ba2c74f0e74]
/home/paul/src/rust/build/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-688fa7810161fd45-0.2.so(_ZN6middle5trans4impl22find_vtable_in_fn_ctxt17_2df7f898566251f83_02E+0x238)[0x2ba2c6e3bcc8]
/home/paul/src/rust/build/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-688fa7810161fd45-0.2.so(_ZN6middle5trans4impl26trans_monomorphized_callee17_6cf3821e99a569183_02E+0xb6)[0x2ba2c6e3a276]
/home/paul/src/rust/build/x86_64-unknown-linux-gnu/stage0/bin/../lib/librustc-688fa7810161fd45-0.2.so(_ZN6middle5trans4impl19trans_method_callee17_70b6f8c98bee506d3_02E+0x188)[0x2ba2c6dc26c8]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions