- May
- 13,834
- 211
Right now I've got TCC v13 stuck in a crashing loop. 10 seconds after I say "Don't send" It crashes again, at the same place, namely at 0x004067C4 (code 0x00000005).
It must be here:
because that's the only place in the script that would start a secondary instance (and TaskMgr shows two instances running). Neither WHOIS nor GREP is running. Snooping on the two TCCs I see the envvars are correctly set:
If I kill it, open a new TCC v13, and run the script again, it happens all over again. TCC v12 will run the script completely and without error. All this is on my XP machine at work.
It must be here:
Code:
do while "%string" EQ ""
iff %reg eq 3 then
set string=%@execstr[d:\uty\whois.exe -h %[reg%reg] "n + %ip" | d:\ttk\grep ountry.* 2> NUL]
else
set string=%@execstr[d:\uty\whois.exe -h %[reg%reg] %ip | d:\ttk\grep ountry.* 2> NUL]
if "%string" eq "" delay 30
enddo
because that's the only place in the script that would start a secondary instance (and TaskMgr shows two instances running). Neither WHOIS nor GREP is running. Snooping on the two TCCs I see the envvars are correctly set:
Code:
v:\> echo %@pset[2544,reg]
2
v:\> echo %@pset[2544,ip]
118.97.208.194
v:\> echo %@pset[3264,ip]
118.97.208.194
v:\> echo %@pset[3264,reg]
2