-
- Downloads
Finally track down the "two instances of SyncTERM running, one using 100% CPU"
problem and kill it once and for all by doing terrible terrible things. Essentially, the problem stems from SDL installing an atexit() handler and cryptlib calling exit() after a fork(). This causes the child to attempt to shut down SDL (which isn't running in the child) which apparently spins. I've "fixed" this by overriding exit()!!! So any exit() call will not call atexit() functions from SyncTERM anymore. I haven't yet decided if this is a cryptlib bug or an SDL bug, though I'm leaning toward SDL.
Please register or sign in to comment