Closed blacktanktop closed 2 years ago
I suspect that this isn't a problem with FreeSASA. When I try to run freesasa after compiling with --disable-threads, I get the same error you do, but when I run generateSeeds
(which is built using the freesasa library), it works just fine.
It's likely that this is an issue with converting the MST Structure object into a FreeSASA Structure object. Can you please send the stack trace from the core file that should have been generated when the program exited?
I fixed a bug in one of the functions that is called when constructing the FreeSASA structure object. I suspect this was causing the buffer overflow, which is not being reported on my system.
Let me know if this fixes your issue. And in general, sorry for the hassle, you're the first person outside of our lab to run this in a new computing environment. I appreciate you bringing the problems to my attention.
Thank you for updating.
I am new to c++ and did not know how to use gdb and could not trace the core, but when I updated the code, the error that had occurred before was no longer there, and it probably completed successfully (It took roughly an hour and a half.) and output extendedfragments.bin
and other files.
The last few lines of the stdout are shown below
Fragment 1LB6_A__-A500--3 generated 5481 extended fragments!
Extending fragment: 1LB6_A__-A501--3
matches size: 4999 match req: 5000
Fragment 1LB6_A__-A501--3 generated 1671 extended fragments!
Seed creation took 907 s
907 seconds to generate seeds
Writing fragment pdbs...
Done
Elapsed: 0hrs 0min 0sec
I will continue to run findOverlaps
in the pipeline.
Great! I'm going to close this issue, but will be available in case other issues arise.
Thank you for uploading singlechain_22188_sim30_STRIDE.db.
I ran the pipeline run_generateSeeds.sh using singlechain_22188_sim30_STRIDE.db. So, I got the standard output "Building sasaCalculator..." and then buffer overflow detected " and it exits.
Is this a problem with FreeSASA?
Actually, I am concerned that if I configure FreeSASA as --disable-threads as in the README, configure it, compile it, and then run it, I get the following.
run_generateSeeds.sh output