Quote:
Originally Posted by wombatman
Ok! Figured out where the crash is along with a crude bandage that seems to work for now.
The offending line is Line 2782 of SIQS.c in the free_siqs() function:
Code:
free(sconf->modsqrt_array);
Again with my slightly above-average printf statement usage, this line was isolated. If I comment it out, everything works perfectly and factors are returned. The factors were confirmed as correct using FactorDB.
I'll leave it to those of you who are far smarter than I am as to what actually causes the error and what a proper fix that is not simply sweeping it under the rug would be.
|
Were you using the new -std=c11 flag of gcc? The last revision of gcc seems to use a new thread library, not compatible with pthreads...