If the idle speed is too high combined with a lean mixture, it can do as you described. Fuel ignited by hot carbon in the cylinder will cause a dieseling effect. You may find that this will set a code also.