Closed ctsa closed 11 months ago
Thanks for pointing this out! It is actually a bug related to initialization. Fixed it now, please try out the latest commit 6f6a06cd0.
Nice thank you! I'll give it a try.
Okay, all of my test cases are running cleanly through valgrind now. I'll close this as fixed.
Thanks again for the quick fix!
Hi @yangao07 ,
I'm using the latest binary release of abPOA 1.4..1 on x64 linux (Centos 7). I was getting unstable, non-deterministic results, especially seeing the error
[simd_abpoa_align_sequence_to_subgraph] Error in cg_backtrack
quite often for my use case, and I was able to trace this to an un-initialized memory error which seems to occur in local but not global alignment mode.I reduced this down to a simple test case, using the following input:
test.fa:
And running:
The top of the valgrind results show:
...followed by many similar memory errors that I assume are related. No issues appear for the same test in global mode.
Note also that the same error occurs for code I compiled from the head of the main branch (d2e0186963b5d8418dcc86f4154a4703fbce94dd).
Thanks for any help or suggestions you might have to stabilize this case!