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

Segfault with >1 thread with -O3 #4

Open
murfel opened this issue Apr 25, 2021 · 1 comment
Open

Segfault with >1 thread with -O3 #4

murfel opened this issue Apr 25, 2021 · 1 comment

Comments

@murfel
Copy link

murfel commented Apr 25, 2021

I get a segfault on line test.c:700 data[i].effective = effective; when 2 or more threads specified. When I compile with -O2 or lower, the segfault is gone.

I tried running as ./bin/spray and as ./run_throughput.sh as well. I only tested this on SprayList.

P.S. I definitely do not expect jkopinsky to look into this, just leaving this as a known issue for anyone else who plays with this code.

@kjellwinblad
Copy link

I think this could possible be fixed by this: #3

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