Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading traces recorded with wpr seems broken. #418

Open
jrmuizel opened this issue Nov 17, 2024 · 0 comments
Open

Loading traces recorded with wpr seems broken. #418

jrmuizel opened this issue Nov 17, 2024 · 0 comments

Comments

@jrmuizel
Copy link
Collaborator

PS C:\dev\repos\samply> cargo run -r -- import "C:\Users\hcrail\sample.etl"
   Compiling etw-reader v0.1.0 (C:\dev\repos\samply\etw-reader)
   Compiling samply v0.12.0 (C:\dev\repos\samply\samply)
    Finished `release` profile [optimized] target(s) in 14.49s
     Running `target\release\samply.exe import "C:\Users\hcrail\sample.etl"`
Processing ETL trace...
thread 'main' panicked at samply\src\windows\etw_gecko.rs:257:77:
called `Result::unwrap()` on an `Err` value: PropertyError("Unknown property: ImageChecksum")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at core\src\panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
   0:     0x7ff636d2bc41 - std::backtrace_rs::backtrace::dbghelp64::trace
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\..\..\backtrace\src\backtrace\dbghelp64.rs:91
   1:     0x7ff636d2bc41 - std::backtrace_rs::backtrace::trace_unsynchronized
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\..\..\backtrace\src\backtrace\mod.rs:66
   2:     0x7ff636d2bc41 - std::sys::backtrace::_print_fmt
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\sys\backtrace.rs:66
   3:     0x7ff636d2bc41 - std::sys::backtrace::impl$0::print::impl$0::fmt
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\sys\backtrace.rs:39
   4:     0x7ff636d51529 - core::fmt::rt::Argument::fmt
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/core\src\fmt\rt.rs:177
   5:     0x7ff636d51529 - core::fmt::write
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/core\src\fmt\mod.rs:1178
   6:     0x7ff636d26d77 - std::io::Write::write_fmt<std::sys::pal::windows::stdio::Stderr>
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\io\mod.rs:1823
   7:     0x7ff636d2e009 - std::panicking::default_hook::closure$1
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\panicking.rs:266
   8:     0x7ff636d2db8c - std::panicking::default_hook
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\panicking.rs:293
   9:     0x7ff636d2e912 - std::panicking::rust_panic_with_hook
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\panicking.rs:797
  10:     0x7ff636d2e71f - std::panicking::begin_panic_handler::closure$0
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\panicking.rs:664
  11:     0x7ff636d2c6ff - std::sys::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic_handler::closure_env$0,never$>
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\sys\backtrace.rs:170
  12:     0x7ff636d2e366 - std::panicking::begin_panic_handler
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\panicking.rs:662
  13:     0x7ff636d9629d - core::panicking::panic_nounwind_fmt::runtime
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/core\src\panicking.rs:112
  14:     0x7ff636d9629d - core::panicking::panic_nounwind_fmt
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/core\src\panicking.rs:122
  15:     0x7ff636d96343 - core::panicking::panic_nounwind
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/core\src\panicking.rs:221
  16:     0x7ff636d9643b - core::panicking::panic_cannot_unwind
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/core\src\panicking.rs:310
  17:     0x7ff636d0bc93 - etw_reader::trace_callback_thunk::hd0dc2d31acaed27b
  18:     0x7ff98164f540 - _CxxFrameHandler3
  19:     0x7ff9816433d8 - is_exception_typeof
  20:     0x7ff99e631c26 - RtlCaptureContext2
  21:     0x7ff636d0bc73 - etw_reader::trace_callback_thunk::hd0dc2d31acaed27b
  22:     0x7ff99e45520b - QueryAllTracesW
  23:     0x7ff99e45b909 - ProcessTrace
  24:     0x7ff6365aecfb - etw_reader::open_trace::h6b1c57893189d8df
  25:     0x7ff6367bc2cb - samply::windows::etw_gecko::process_etl_files::h8e4a1c88db6725dc
  26:     0x7ff636725c25 - samply::shared::unresolved_samples::UnresolvedStacks::convert_no_kernel::h5cde43ae7bf42c24
  27:     0x7ff63677eeb6 - std::sys::backtrace::__rust_begin_short_backtrace::h787945df04589f44
  28:     0x7ff63673fe4c - std::rt::lang_start::{{closure}}::hc4267d9c298e4f0f
  29:     0x7ff636d1f289 - std::rt::lang_start_internal::closure$2
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\rt.rs:143
  30:     0x7ff636d1f289 - std::panicking::try::do_call
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\panicking.rs:554
  31:     0x7ff636d1f289 - std::panicking::try
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\panicking.rs:518
  32:     0x7ff636d1f289 - std::panic::catch_unwind
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\panic.rs:345
  33:     0x7ff636d1f289 - std::rt::lang_start_internal
                               at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library/std\src\rt.rs:143
  34:     0x7ff63673fb2c - main
  35:     0x7ff636d659cc - invoke_main
                               at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
  36:     0x7ff636d659cc - __scrt_common_main_seh
                               at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
  37:     0x7ff99e227374 - BaseThreadInitThunk
  38:     0x7ff99e5dcc91 - RtlUserThreadStart
thread caused non-unwinding panic. aborting.
error: process didn't exit successfully: `target\release\samply.exe import "C:\Users\hcrail\sample.etl"` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)

This was on Windows 10 Enterprise, Version 22H2 (OS build 19045.5011)
Trace was recorded using WPRUI.exe - with "First Level Triage" profile selected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant