Skip to content

Stack overflow in rustc frontend on Windows #75512

Closed
@comcma

Description

@comcma

It seems rustc can no longer handle how much is defined in these two binding files. If I comment out either module, it will successfully build. It was previously building on rustc 1.45.2 (d3fb005a3 2020-07-31).

Code

Building this project on Windows:
https://github.com/gamozolabs/applepie/tree/master/whvp_bindings

Meta

rustc --version --verbose:

rustc 1.47.0-nightly (81dc88f88 2020-08-13)
binary: rustc
commit-hash: 81dc88f88f92ba8ad7465f9cba10c12d3a7b70f1
commit-date: 2020-08-13
host: x86_64-pc-windows-msvc
release: 1.47.0-nightly
LLVM version: 10.0

Error output

thread 'rustc' has overflowed its stack
Backtrace

2020-08-14T02:29:59.465476Z  INFO rustc_mir::interpret::eval_context: LEAVING(0) winhvemulation::COMPARTMENT_ID_DEFAULT_COMPARTMENT_ID (unwinding = false)
2020-08-14T02:29:59.469195Z  INFO rustc_mir::interpret::eval_context: ENTERING(0) winhvemulation::_EXCEPTION_DISPOSITION_ExceptionContinueExecution
2020-08-14T02:29:59.469231Z  INFO rustc_mir::interpret::step: _0 = const 0_i32
2020-08-14T02:29:59.469251Z  INFO rustc_mir::interpret::step: return
2020-08-14T02:29:59.469260Z  INFO rustc_mir::interpret::eval_context: LEAVING(0) winhvemulation::_EXCEPTION_DISPOSITION_ExceptionContinueExecution (unwinding = false)
2020-08-14T02:29:59.469373Z  INFO rustc_mir::interpret::eval_context: ENTERING(0) winhvemulation::_EXCEPTION_DISPOSITION_ExceptionContinueSearch
2020-08-14T02:29:59.469391Z  INFO rustc_mir::interpret::step: _0 = const 1_i32
2020-08-14T02:29:59.469404Z  INFO rustc_mir::interpret::step: return
2020-08-14T02:29:59.469412Z  INFO rustc_mir::interpret::eval_context: LEAVING(0) winhvemulation::_EXCEPTION_DISPOSITION_ExceptionContinueSearch (unwinding = false)
2020-08-14T02:29:59.469493Z  INFO rustc_mir::interpret::eval_context: ENTERING(0) winhvemulation::_EXCEPTION_DISPOSITION_ExceptionNestedException
2020-08-14T02:29:59.469506Z  INFO rustc_mir::interpret::step: _0 = const 2_i32
2020-08-14T02:29:59.469518Z  INFO rustc_mir::interpret::step: return
2020-08-14T02:29:59.469525Z  INFO rustc_mir::interpret::eval_context: LEAVING(0) winhvemulation::_EXCEPTION_DISPOSITION_ExceptionNestedException (unwinding = false)
2020-08-14T02:29:59.469587Z  INFO rustc_mir::interpret::eval_context: ENTERING(0) winhvemulation::_EXCEPTION_DISPOSITION_ExceptionCollidedUnwind
2020-08-14T02:29:59.469597Z  INFO rustc_mir::interpret::step: _0 = const 3_i32
2020-08-14T02:29:59.475783Z  INFO rustc_mir::interpret::step: return
2020-08-14T02:29:59.475808Z  INFO rustc_mir::interpret::eval_context: LEAVING(0) winhvemulation::_EXCEPTION_DISPOSITION_ExceptionCollidedUnwind (unwinding = false)

thread 'rustc' has overflowed its stack

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions