thesourcerer8 / hddsuperclone

HDDSuperClone, HDDSuperTool
GNU General Public License v2.0
385 stars 34 forks source link

Direct AHCI mode initialization incompatible with memory sanitizer #22

Open SomeCrazyGuy opened 1 year ago

SomeCrazyGuy commented 1 year ago

Just creating an issue to document the problem. Compiling with -fsanitize=memory will cause 100% cpu usage and a delay that makes the option unuseable. I will try to find the root cause of the issue, a simple trace of the application shows a symptom 50,000+ malloc() and free() calls to be where the cpu time is used.