t1.s:proc main()
SetColorTableValue(_BACKGROUND_, 0,0x000000 )
end
At cmd:
sc32 t1.s
e32 -e t1
e32 -e t1
e32 -e t1
... ...
about 1 time Error on 10 times OK.
Attached is snapshot when Error and OK,and zz.txt(in windbg call-stack info when Error),e32.lst,e32.c(Comment //~call-stack 0d,0c,...,01,00,-1 at every line end) that is helpfully for track call-chain.

I guess the Error because multi-threads read/write one memory or other shared-resource conflicts
在2026年5月25日星期一 UTC+8 20:33:55<Carlo Hogeveen> 写道:
I went at the problem from another angle.
Why would "e32 -ecmplies" plus <Escape>s abort, but not "e32 -ecmplies" plus <Escape>s?
One difference is that GUI TSE has a font and Console and Linux TSE do not.
Quick and dirty (!):
I removed saving and restoring the font from state.s.
Now "e32 -ecmplies" plus <Escape>s no longer aborts.
The same improved happens when testing this with Sammy's test macro.
https://ecarlo.nl/tse/DemosAndTests.html#state
Carlo