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

My process exits soon after start cpu profiler #186

Open
PeakerChen opened this issue Dec 13, 2022 · 1 comment
Open

My process exits soon after start cpu profiler #186

PeakerChen opened this issue Dec 13, 2022 · 1 comment

Comments

@PeakerChen
Copy link

let _p_guard = pprof::ProfilerGuardBuilder::default()
.frequency(1000)
.blocklist(&["libc", "libgcc", "pthread", "vdso"])
.build()
.unwrap();

Execute the above code in main,my process exit after 10s,

Process finished with exit code 133 (interrupted by signal 5: SIGTRAP)

@clarkmcc
Copy link

Same issue here. I tried adding the profiler to surrealdb and this happened to me except it exited immediately.

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

2 participants