Skip to content

Backtraces only showing unknowns on Windows 10 #30625

@Jonesey13

Description

@Jonesey13

Attempting to run the example in the Chapter "Functions" of the Rust book using RUST_BACKTRACE=1:

fn diverges() -> ! {
    panic!("This function never returns!");
}

fn main() {
    diverges();
}

Under Windows 10 using Rust 1.5 Gnu ABI (64 bit), this gives:

thread '<main>' panicked at 'This function never returns!', hello.rs:2
stack backtrace:
   0:           0x4410a7 - <unknown>
   1:           0x448a5e - <unknown>
   2:           0x40561c - <unknown>
   3:           0x401589 - <unknown>
   4:           0x40151d - <unknown>
   5:           0x4016a8 - <unknown>
   6:           0x4480e8 - <unknown>
   7:           0x4316a1 - <unknown>
   8:           0x447ff7 - <unknown>
   9:           0x4016da - <unknown>
  10:           0x4013b4 - <unknown>
  11:           0x4014e7 - <unknown>
  12:     0x7ffa8ec32d91 - <unknown>

This is a repeat of the issue brought up by user jonas-schievink in Issue #28004 (which was merged).

This issue is also present on the 32bit version and the latest nightly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions