2. I get a segmentation fault when running Tandem on Gentoo Linux
This error has to do with how the threads are handled on Gentoo.
Edit tandem.cpp at approxmately line 287 removing the lines marked
with a "-" and replacing with the lines marked with a "+".
#ifdef MSVC
DWORD wait = WaitForMultipleObjects(dCount,pHandle,true,INFINITE);
#else
- void **vp;
+ void *vp;
int x=0;
int wait;
for(x=0;x<dCount;x++){
- wait = pthread_join(pThreads[x],vp);
+ wait = pthread_join(pThreads[x],&vp);
}
#endif
|
3. I get a segmentation fault when running Tandem on Mandrake Linux.
Edit mspectrum.h at approximately line 178, removing the line marked
with a "-" and replacing with the line marked with a "+":
- m_tCurrentSequence = (size_t)0xffffffffff;
+ m_tCurrentSequence = (size_t)pow(2.0,31.0);
|