|
Pages: [1]
|
 |
|
Author
|
Topic: ERROR: memory leak in PebbleGame found (Read 1762 times)
|
|
rader
|
I found a memory leak in the PebbleGame program. This was found because of a segmentation fault of certain Ecut values for certain pdb files. I'll attach one.
If you run it using the following options:
FIRST -non -E -2.0 1y8nI.pdb -v 3
everything is fine, but if you use the following option:
FIRST -non -E -2.1 1y8nI.pdb -v 3
then a segfault involving the following invalid pointer call occurs and the screen output is as follows. [font=Verdana][color=Blue]
|
|
|
|
Logged
|
|
|
|
|
kirill
|
I fixed it. There was an error in array allocations in PebbleGameDecompHinges.cpp file.
Line 36: neighbors = new unsigned int[2*total_bonds+1]; ... Line 42: labels_array = new int[2*total_bonds+1];
You can download new version of this file from cvs. Please let me know if you still have a problem. Thanks for your report!
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |