TMP errors, such as those associated with sg_6oyndl8jcf_active.tmp, most often occur during computer startup, program startup, or while trying to use a specific function in your program (eg. printing).