Segmentation fault (core dumped) SageMath version 8.2
Sage still core dumps. I thought earlier it was fixed, but it is not.
/usr/bin/sage-python: line 2: 2794 Segmentation fault (core dumped) sage -python "$@"
Short summary of the problem: When I run a sage script which iterates over large list of integrals, then call maxima, it segfault, but only when the list is long. (trial and error shows when it is over 45 entries)
When I change the algorithm from "maxima" to "fricas", the script runs and it works. NO OTHER CHNAGES.
When the list is short, using maxima no longer causes a segfault. So it seems like a memory corruption for me.
Why when the list is short it works, but when adding one more entry to the list, it segfault? And only when using maxima?
The script uses Python multiprocessing.
The script is long, but only because the list is long. So I was not sure if I should post it here. (I could if needed) but I put a link to it here. Please see https://www.12000.org/tmp/sage_segfau...
To run, simply download to any folder and type ./test_maxima.sage
It will segfault. I tried it on sage 8.2, sage 8.1, sage 8.3 beta 6. On latest Manjora linux 17.1 and also on Linux mint 19 and tried it on standalone PC running Linux and inside Virtual box running Linux.
Could someone please try this script to see if they get the segfault? Otherwise, I could not test maxima for integration and will have just leave it out. I do not know where the dump file is written to. Does any one know? I do not see it in same folder I am running the script from.