-
Notifications
You must be signed in to change notification settings - Fork 17
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
Stochastic (?) SSU Segfault #63
Comments
Using the test data from above, I can see the following:
|
This is just baffling to me... if it was 0x0 everything would be "normal". I just don't see how we would end up with un-initialized values for the threaded su::unifrac. It looks like there are debug symbols here, but maybe valgrind is just entirely off-base. |
So this bug is coming from this line: Line 512 in 55e52af
This is used because any time that thread 1 ( taskp->tid == 1 )starts running before thread 0 (taskp->tid == 0 ), report_status is used uninitialized:Lines 322 to 328 in 55e52af
which makes sense why this is relatively stochastic @wasade maybe you can comment on whether this report_status functionality is even needed/used? |
You are amazing @gwarmstrong! |
This issue is an attempt to document this elusive segfault.
Environment:
Steps to recreate:
ulimit -c unlimited
for run in {1..100}; do ssu -i table.biom -t tree.nwk -m unweighted -o foo -n 8 & done
(this seems to segfault for me at least once each time, YMMV)gdb ssu core
I tried to recreate this in a docker container running locally and was unable to.
The text was updated successfully, but these errors were encountered: