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
Segfault when singleton_object_pool reallocs #359
Comments
We're likely running into issues with unsafe memory pools, but this could also be a libc-level race. |
I updated my cilk-parse unit test to call parseFunctionRanges() and This is available in the dyninst subdirectory of the hpctoolkit-tests git clone https://github.com/hpctoolkit/hpctoolkit-tests I also added command-line options to disable selected parts of the -I, -Iall do not split basic blocks into instructions I've tried this with both the v9.3.x and Bill's parallel-parsing It segfaults when it splits a basic block into a map of instructions,
You can run in this config with the following options for cilk-parse ./cilk-parse -Iline -Iinline cilk-parse 4 I've even seen segfaults with getInsns() turned off (option -I), both Right now, the segfault in instruction parsing is a blocker to doing Also, I noticed that parseFunctionRanges() is not idempotent. It |
Obviated by use of pooled allocators on new_parallel_parsing. |
Hi, I am trying to compile the example codes given in dyninstAPI.pdf (for dyninst version 10.1), on Appendix section. First example (instrumenting a function, example 1.1, page 67), I get segmentation fault error when I compile the example. I am trying to instrument a very simple hello.cc file with a hello function. Could you please point any direction to get rid of this error? |
@aalmamuncse You're probably going to want to open a new issue for this one with a stack trace from the segfault; this particular issue shouldn't be relevant to your crash (unless things have changed greatly in the year since I left the project). |
From @mwkrentel:
The text was updated successfully, but these errors were encountered: