Skip to content

IPC unavailable under WINE #90

@garyttierney

Description

@garyttierney

Describe the bug

minidumper uses Unix domain sockets for IPC on Windows, which are currently unimplemented in wine and Proton.

To Reproduce
Steps to reproduce the behavior:

fn main() {
    minidumper::Server::new("socket-name").expect("unable to create socket")
}

CARGO_TARGET_x86_64_pc_windows_msvc_RUNNER=wine cargo run --target x86_64-pc-windows-msvc

Creating the socket will fail with an unsupported address family error.

Expected behavior
IPC works under wine.

Screenshots
If applicable, add screenshots to help explain your problem.

Device:

  • wine-9.5-1

Additional context
Appreciate this is an odd use case, but figured I'd file it in case anyone runs into the same issue. For background my use case is catching crashes of a game I'm modding on Steam.

There is a patch available on the wine list but IIRC it needs tests: https://www.winehq.org/pipermail/wine-devel/2020-September/173277.html. I'll maybe see if I can pick it up and get it landed or maybe fork minidumper with support for named pipes (or send it upstream if it could be feature-gated or something?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions