rgugliel / AlVin

A C++ implementation of the Vinberg's algorithm for Q, Q( sqrt(d) ) and Q( cos(2 pi / 7) )
GNU General Public License v3.0
0 stars 3 forks source link

Mem alloc error over RC7 #9

Closed sashakolpakov closed 4 years ago

sashakolpakov commented 4 years ago

Issuing ./alvin -k=rc7 -qf [-1,0,0],1,1,1,1 works out a Coxeter polytope.

However, issuing ./alvin -k=rc7 -qf [-1,0,0],2,1,1,1 gives an error:

*** Error in ./alvin: malloc(): memory corruption (fast): 0xab05cca0 *** Aborted

This one is compiled under linux (not macOS), and under ARM, not x86 (same libraries as supplied with AlVin compile and build fine. A new version of GAOL is necessary to build under ARM, and '-msse3' flag has to be removed for ARM's make, as this is an x86 flag -- this is to say, I would not think that the problem lies with the other architecture)

sashakolpakov commented 4 years ago

Same issue with ./alvin -k=rc7 -qf [-1,0,1],1,1,1,1

rgugliel commented 4 years ago

Can you indicate the number of vectors after which AlVin crashes or, even better, the output (for the form [-1,0,0],2,1,1,1)

Thanks

sashakolpakov commented 4 years ago

The error message above is the only output I get.

rgugliel commented 4 years ago

Then in that case I cannot reproduce nor investigate (on my computer, AlVin runs and find more then 30 vectors).

sashakolpakov commented 4 years ago

Ok, I will try to look more into it. May be one of the libraries is a source of trouble: however, I followed the usual installation instructions.

rgugliel commented 4 years ago

Yes. mac and arm are not really tested. You can also use a VM if needed.