Closed frederic-mahe closed 9 years ago
Hm. Which version of SWARM is this?
The last one (Linux 1.2.16), fresh from the github repository. I recompiled (make) to get the debug symbols. The official binary and the recompiled one produce the same error. I don't know about the Mac binary (I don't have a Mac).
That was embarrassing. Too little memory was allocated for some arrays used to store temporary results. Too little testing too. For some reason I did not get a segfault on the Mac and it worked fine with multiple threads on the dataset I used for testing. Fixed now.
With several test datasets, I get a segmentation fault at the end of the clustering process when using the -a option. A gdb session shows
if I do the same using 2 threads, I obtain a different error: