Skip to content

Backtrace crashes in Wine with target i686-pc-windows-gnu #122154

Closed
rust-lang/backtrace-rs
#588
@Bytekeeper

Description

@Bytekeeper

I tried this code:

fn main() {
    std::backtrace::Backtrace::force_capture();
}

running
cargo r --target i686-pc-windows-gnu

I expected to see this happen: Nothing

Instead, this happened:
wine: Unhandled page fault on read access to 726F735F at address 7AADD340 (thread 0734), starting debugger...

Running with
cargo r --target x86_64-pc-windows-gnu
using the 64bit target, no crash happens, as expected.

Meta

rustc --version --verbose:

rustc 1.76.0 (07dca489a 2024-02-04)
binary: rustc
commit-hash: 07dca489ac2d933c78d3c5158e3f43beefeb02ce
commit-date: 2024-02-04
host: x86_64-unknown-linux-gnu
release: 1.76.0
LLVM version: 17.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-windowsOperating system: WindowsO-windows-gnuToolchain: GNU, Operating system: WindowsO-x86_32Target: x86 processors, 32 bit (like i686-*) (IA-32)T-libsRelevant to the library 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