中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-01 20:51
48,037 topics / 350,122 posts / today 2 new / 48,249 members
DOS开发编程 & 发展交流 (开发室) » A way to make STC crash and deadlock
Printable Version  1,258 / 3
Floor1 yksoft1 Posted 2006-04-24 21:41
高级用户 Posts 395 Credits 823
Add this line to the text:
`@8()

As soon as STC compiles it, it will deadlock, and if you don’t reboot / forcibly terminate the program fast enough, a huge, unusable EXE file will be left on the hard disk.

I thought about it for a bit and think it’s a fault-tolerance problem in this program.
`@x is the code STC uses to process the text in the file title bar. If you enter `@x and what follows is not

Last edited by yksoft1 on 2006-4-24 at 21:43 ]
Floor2 Wengier Posted 2006-04-26 07:59
系统支持 Posts 10,521 Credits 27,736
What is the benefit or point of doing this?
Floor3 yksoft1 Posted 2006-04-26 13:14
高级用户 Posts 395 Credits 823
I happened to discover this fatal BUG while testing this stc.
The only purpose is to remind those users.
Floor4 jawbin Posted 2006-04-29 11:17
高级用户 Posts 444 Credits 994
Is stc for compiling single-chip microcontroller programs?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023