View Single Post
Old 2016-01-21, 18:17   #10
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2×74 Posts
Default

Quote:
Originally Posted by wombatman View Post
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...
ET_ is offline   Reply With Quote