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

Cachegrind regex parse error #60

Open
shelbyd opened this issue Feb 27, 2020 · 9 comments
Open

Cachegrind regex parse error #60

shelbyd opened this issue Feb 27, 2020 · 9 comments

Comments

@shelbyd
Copy link

shelbyd commented Feb 27, 2020

Here is the cachegrind.out:
https://pastebin.com/cr8bKr0s

@pronvis
Copy link

pronvis commented May 10, 2020

Same for me.
Platform: MacOS Catalina 10.15.4

  • cargo install cargo-profiler
  • valgrind for mac: brew install --HEAD https://raw.githubusercontent.com/LouisBrunner/valgrind-macos/master/valgrind.rb from
~/rust/tests ➜ git:(master) ✗ cargo profiler callgrind --release

Compiling tests in release mode...

Profiling tests with callgrind...
error: Regex error -- please file a bug. In bug report, please include the original output file from profiler, e.g. from valgrind --tool=cachegrind --cachegrind-out-file=cachegrind.txt

callgrind.out: https://pastebin.com/AM8Z697j

If I run valgrind tool itself, it works fine.

@woodruffw
Copy link

I've experienced the same error (platform: Ubuntu 18.04, x86_64), with:

$ valgrind --version 
valgrind-3.13.0

My callgrind.out: callgrind.out.txt

@glesica
Copy link

glesica commented Jun 18, 2020

I'm experiencing this problem as well, any updates or workarounds? I can paste my cachegrind.out but I expect it's pretty much the same as the others.

@KiKoS0
Copy link

KiKoS0 commented Jul 30, 2020

I experienced the same problem too:

❯ valgrind --version
valgrind-3.14.0

Output file: callgrind.out

@fee1-dead
Copy link

Likely the same as #32

@akiradeveloper
Copy link

I see this issue too.

@Frank-Buss
Copy link

Same problem here, with this project:
https://github.com/FrankBuss/ada-seed-recover
tested with this command:

cargo profiler cachegrind --release

Cargo version:

cargo 1.53.0 (4369396ce 2021-04-27)

Valgrind version:

valgrind-3.14.0

PS: also take a look here:

Command::new("rm").arg("cachegrind.out").output()?;
This won't run on Windows, because there is no "rm" shell command.

@MakisChristou
Copy link

I am having the same issue on PopOs 22.04 LTS. Did anyone manage to solve it?

@kallehed
Copy link

Same issue on arch linux

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

10 participants