-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.Category: This is a bug.O-macosOperating system: macOSOperating system: macOST-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
Current report
Original report
OSX backtrace line numbers, enabled in stable and beta, were lost (unintentionally???) starting with Thanksgiving's nightly.
$ for d in $(seq 21 27); do
rustup install nightly-2017-11-$d
rustc +nightly-2017-11-$d -vV
RUST_BACKTRACE=1 cargo +nightly-2017-11-$d script -e 'fn foo() { panic!() } foo()' --clear-cache --debug
rustup uninstall nightly-2017-11-$d
done
[snip]
nightly-2017-11-25-x86_64-apple-darwin installed - rustc 1.23.0-nightly (5f44c653c 2017-11-24)
rustc 1.23.0-nightly (5f44c653c 2017-11-24)
binary: rustc
commit-hash: 5f44c653cff61d0f55f53e07a188f755c7acddd1
commit-date: 2017-11-24
host: x86_64-apple-darwin
release: 1.23.0-nightly
LLVM version: 4.0
Compiling expr v0.1.0 (file:///Users/alex/.cargo/script-cache/expr-c1e0a0b3aa579a73)
Finished dev [unoptimized + debuginfo] target(s) in 2.23 secs
thread 'main' panicked at 'explicit panic', /Users/alex/.cargo/script-cache/expr-c1e0a0b3aa579a73/expr.rs:18:22
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:68
2: std::panicking::default_hook::{{closure}}
at src/libstd/sys_common/backtrace.rs:57
at src/libstd/panicking.rs:381
3: std::panicking::default_hook
at src/libstd/panicking.rs:397
4: std::panicking::begin_panic
at src/libstd/panicking.rs:577
5: std::panicking::begin_panic
at /Users/travis/build/rust-lang/rust/src/libstd/panicking.rs:538
6: expr::try_main::foo
at /Users/alex/.cargo/script-cache/expr-c1e0a0b3aa579a73/expr.rs:18
7: expr::try_main
at /Users/alex/.cargo/script-cache/expr-c1e0a0b3aa579a73/expr.rs:18
8: expr::main
at /Users/alex/.cargo/script-cache/expr-c1e0a0b3aa579a73/expr.rs:4
9: panic_unwind::dwarf::eh::read_encoded_pointer
at src/libpanic_unwind/lib.rs:101
10: rust_panic
at src/libstd/panicking.rs:459
at src/libstd/panic.rs:365
at src/libstd/rt.rs:58
11: expr::try_main::foo
info: uninstalling toolchain 'nightly-2017-11-25-x86_64-apple-darwin'
info: toolchain 'nightly-2017-11-25-x86_64-apple-darwin' uninstalled
info: syncing channel updates for 'nightly-2017-11-26-x86_64-apple-darwin'
info: latest update on 2017-11-26, rust version 1.23.0-nightly (e97ba8328 2017-11-25)
info: downloading component 'rustc'
36.3 MiB / 36.3 MiB (100 %) 3.5 MiB/s ETA: 0 s
info: downloading component 'rust-std'
52.1 MiB / 52.1 MiB (100 %) 3.5 MiB/s ETA: 0 s
info: downloading component 'cargo'
2.9 MiB / 2.9 MiB (100 %) 1.1 MiB/s ETA: 0 s
info: downloading component 'rust-docs'
4.6 MiB / 4.6 MiB (100 %) 1.8 MiB/s ETA: 0 s
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: installing component 'rust-docs'
nightly-2017-11-26-x86_64-apple-darwin installed - rustc 1.23.0-nightly (e97ba8328 2017-11-25)
rustc 1.23.0-nightly (e97ba8328 2017-11-25)
binary: rustc
commit-hash: e97ba83287a6f0f85cc9cc7a51ab309487e17038
commit-date: 2017-11-25
host: x86_64-apple-darwin
release: 1.23.0-nightly
LLVM version: 4.0
Compiling expr v0.1.0 (file:///Users/alex/.cargo/script-cache/expr-c1e0a0b3aa579a73)
Finished dev [unoptimized + debuginfo] target(s) in 1.76 secs
thread 'main' panicked at 'explicit panic', /Users/alex/.cargo/script-cache/expr-c1e0a0b3aa579a73/expr.rs:18:22
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::print
2: _ZN3std9panicking12default_hook28_$u7b$$u7b$closure$u7d$$u7d$17haa05421012ac6c20E.llvm.5B51A422
3: _ZN3std9panicking12default_hook17h2d0d0ff0f27771f9E.llvm.5B51A422
4: std::panicking::rust_panic_with_hook
5: std::panicking::begin_panic
6: expr::try_main::foo
7: expr::try_main
8: expr::main
9: __rust_maybe_catch_panic
10: std::rt::lang_start
11: main
info: uninstalling toolchain 'nightly-2017-11-26-x86_64-apple-darwin'
info: toolchain 'nightly-2017-11-26-x86_64-apple-darwin' uninstalled
[snip]
Here are the commits.
Wild guess: was this caused by #46008 somehow? cc @alexcrichton
zmoshansky
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.Category: This is a bug.O-macosOperating system: macOSOperating system: macOST-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.