Ok, you took a couple of stack samples shown here. Your RECMUSCL calls LIMITERSUBR, which calls for_write_int_fmt , which does a lot of things.
free for__free_vm for_write_int_fmt_xmit for_write_int_fmt LIMITERSUBR <------ Look at the line in LIMITERSUBR that prints integers RECMUSCL because it appears on both stack samples MAIN__ main _tmainCRTStartup BaseThreadInitThunk __RtlUserThreadStart _RtlUserThreadStart for__release_lun for_write_int_fmt_xmit for_write_int_fmt LIMITERSUBR RECMUSCL MAIN__ main _tmainCRTStartup BaseThreadInitThunk __RtlUserThreadStart _RtlUserThreadStart
You can see a sample stack in the line of code in LIMITERSUBR, where you write integers, and see if you need to do this.
(You see, you really don't need characters in the system DLL :)
Good thing you took two stack samples so you can see the problem twice. Seeing a problem once is not enough unless you know in advance that you have a really serious slowdown. Having seen this twice in so many samples, he is responsible for most of the time, for example, more than 50 percent and maybe about 100, so you should try to fix it. (This is actually a beta distribution, the most likely value of which is 2/2 = 100%.)
source share