Read-only forum archive

free() invalid pointer / Segment fault/Bus error occurred

free() invalid pointer / Segment fault/Bus error occurred

TheAngusBurger · Mon Aug 17, 2020 4:37 pm

Trying to solve 4 very large polynomials, and after defining one of the polynomials I get the error:

Code:
free(): invalid pointer
Singular : signal 6 (v: 4132):
current line:>>)^103*x(2)^2*x(3)^3+7.4585*bigint(10)^101*x(1)*x(2)^2*x(3)^3+1.80552*bigint(10)<<
Segment fault/Bus error occurred at 7fff326a0fd0 because of 246 (r:1597672512)
please inform the authors
trying to restart...
fatal flex scanner internal error--end of buffer missed

Re: free() invalid pointer / Segment fault/Bus error occurred

hannes · Thu Aug 20, 2020 10:34 pm

Please provide an example which can reproduce it - so that we can fix the bug.

Re: free() invalid pointer / Segment fault/Bus error occurred

aclark1 · Tue Sep 08, 2020 5:44 pm

Hi Hannes,

I'm unable to comment the code I am using as it above the character limit of a message. Have registered to allow posting a URL to a text file containing the code however am waiting on account activation.

Best,
Angus

Re: free() invalid pointer / Segment fault/Bus error occurred

aclark · Sat Sep 26, 2020 4:32 pm

Hi Hannes,

A link to the script I am running can be found below.
drive.google.com/file/d/1F-k7Q_LjCIZag2kO8SNDO8qM9AFdALKj/view?usp=sharing

It contains 4 polynomials in 4 variables, that are quite long and large, and is attempting to solve them to find all solutions.
I have one known solution already, so know they can be solved.

Angus

Re: free() invalid pointer / Segment fault/Bus error occurred

hannes · Mon Nov 23, 2020 7:40 pm

Probably "out of memeory": it needs >300GB of RAM.