profile
viewpoint
Porter Smith flowbish Qumulo, Inc Seattle, WA Software Engineer at Qumulo, Inc

flowbish/Isometric-Blocks 1

Block with an isometric attitude

flowbish/my_scripts 1

my ~/scripts directory, full of interesting crap and stuff

flowbish/Shad 1

3D Java Game Based On Light And Darkness

flowbish/stashpy 1

python wrapper for deviantart's sta.sh api

flowbish/SuperChromePass 1

SuperChromePass Google Chrome Extension

berwinxie/dogeface 0

facebook hackathon project

flowbish/ClassCodeReview 0

Scalable Classroom Code Review Tool

issue commentrust-lang/rust

Program crashes with #[track_caller] applied to main()

I made the false assumption that this was rustc crashing, but it's actually the binary that crashes upon running it.

flowbish

comment created time in 3 months

issue openedrust-lang/rust

Rustc crashes with #[track_caller] applied to main()

Code

#[track_caller]
fn main() {
    panic!("{}: oh no", std::panic::Location::caller());
}

Meta

Crash occurs in both 1.46.0 beta and in current nightly.

rustc --version --verbose:

rustc 1.46.0-beta.2 (6f959902b 2020-07-23)
binary: rustc
commit-hash: 6f959902b3103c49ca981fbc01871589c3498489
commit-date: 2020-07-23
host: x86_64-unknown-linux-gnu
release: 1.46.0-beta.2
LLVM version: 10.0
rustc 1.47.0-nightly (81e754c35 2020-08-02)
binary: rustc
commit-hash: 81e754c359c471f91263813c46c67955071716a7
commit-date: 2020-08-02
host: x86_64-unknown-linux-gnu
release: 1.47.0-nightly
LLVM version: 10.0

Error output

memory allocation of 94396265198519 bytes failed

created time in 3 months

more