Skip to content

[Bug] [Windows] - "The handle is invalid" #706

@jasonwilliams

Description

@jasonwilliams

I'm trying to use samply on Chromium (which I have symbols for), however, when I run it i get this response.

samply record /d/dev/chromium/src/out/Default/content_shell.exe [url]
Stopping xperf...
Processing ETL trace...
[samply-0.13.1\src\windows\etw_gecko.rs:39:9] etl_file = "D:\\dev\\chromium\\src\\profile.kernel.etl"
[samply-0.13.1\src\windows\etw_gecko.rs:40:9] &result = Err(
    Os {
        code: -2147024890,
        kind: Uncategorized,
        message: "The handle is invalid.",
    },
)

I've searched that directory (D:\\dev\\chromium\\src\\) for that file and it's not there so i assume that's the real reason why this is failing. Anything I should be checking?

I'm using Windows 11
samply 0.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions