SA_MAGIC bug hunting