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

MacOS: "couldn't create root TaskProfiler" #344

Open
horta opened this issue Aug 24, 2024 · 0 comments
Open

MacOS: "couldn't create root TaskProfiler" #344

horta opened this issue Aug 24, 2024 · 0 comments

Comments

@horta
Copy link

horta commented Aug 24, 2024

Commit hash: 75a8971

Error

❱ ./target/release/samply record /Applications/StarCraft/x86_64/StarCraft.app/Contents/MacOS/StarCraft -launch -uid s1
thread '<unnamed>' panicked at samply/src/mac/sampler.rs:105:10:
couldn't create root TaskProfiler: Ignorable("Could not check process libraries", NotSupported)
stack backtrace:
   0:        0x102870498 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4699abefd07a84a3
   1:        0x102888140 - core::fmt::write::he20999f7a51cdf3e
   2:        0x102869810 - std::io::Write::write_fmt::hf214e623647db141
   3:        0x1028702ec - std::sys_common::backtrace::print::h99c92515f9244444
   4:        0x102864da8 - std::panicking::default_hook::{{closure}}::h9ee44d77b22015e9
   5:        0x102864ab0 - std::panicking::default_hook::h1574e360da6cf342
   6:        0x102865154 - std::panicking::rust_panic_with_hook::h8c63523cb5f49fbc
   7:        0x102870864 - std::panicking::begin_panic_handler::{{closure}}::h22187a0d322c75e4
   8:        0x1028706c0 - std::sys_common::backtrace::__rust_end_short_backtrace::ha6c62cb1233a6655
   9:        0x102864e9c - _rust_begin_unwind
  10:        0x1028cbb38 - core::panicking::panic_fmt::h48dfedcd5cf205f7
  11:        0x1028cc084 - core::result::unwrap_failed::h5e4590a7ae843be2
  12:        0x102334aa0 - samply::mac::sampler::Sampler::run::hd61cf201cd7116b9
  13:        0x1023811c4 - std::sys_common::backtrace::__rust_begin_short_backtrace::he053a9e851d89858
  14:        0x1023c0ce8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h48bc62a2aeaab2a3
  15:        0x10285e754 - std::sys::pal::unix::thread::Thread::new::thread_start::h58eb2147d371298d
  16:        0x184e25f94 - __pthread_joiner_wake
thread 'main' panicked at samply/src/mac/profiler.rs:169:48:
couldn't join sampler thread: Any { .. }
stack backtrace:
   0:        0x102870498 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4699abefd07a84a3
   1:        0x102888140 - core::fmt::write::he20999f7a51cdf3e
   2:        0x102869810 - std::io::Write::write_fmt::hf214e623647db141
   3:        0x1028702ec - std::sys_common::backtrace::print::h99c92515f9244444
   4:        0x102864da8 - std::panicking::default_hook::{{closure}}::h9ee44d77b22015e9
   5:        0x102864ab0 - std::panicking::default_hook::h1574e360da6cf342
   6:        0x102865154 - std::panicking::rust_panic_with_hook::h8c63523cb5f49fbc
   7:        0x102870864 - std::panicking::begin_panic_handler::{{closure}}::h22187a0d322c75e4
   8:        0x1028706c0 - std::sys_common::backtrace::__rust_end_short_backtrace::ha6c62cb1233a6655
   9:        0x102864e9c - _rust_begin_unwind
  10:        0x1028cbb38 - core::panicking::panic_fmt::h48dfedcd5cf205f7
  11:        0x1028cc084 - core::result::unwrap_failed::h5e4590a7ae843be2
  12:        0x102281fac - samply::mac::profiler::start_recording::hc9c2575006f42499
  13:        0x102422a00 - samply::main::hdc464e774d369b6e
  14:        0x10238082c - std::sys_common::backtrace::__rust_begin_short_backtrace::h902006d7f85d94b7
  15:        0x102396b20 - std::rt::lang_start::{{closure}}::hef7f71d59c8033fb
  16:        0x102864de8 - std::panicking::try::h9eb4926af0fb4f23
  17:        0x1028515d4 - std::rt::lang_start_internal::h47d7f1f6477d860b
  18:        0x10242ff04 - _main
❱ file /Applications/StarCraft/x86_64/StarCraft.app/Contents/MacOS/StarCraft
/Applications/StarCraft/x86_64/StarCraft.app/Contents/MacOS/StarCraft: Mach-O 64-bit executable x86_64

MacOS

System Version: macOS 14.6.1
Kernel Version: Darwin 23.6.0
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
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