Fixed Closing TCMD while IDE + Help Open = Crash

May 9, 2013
40
0
Steps:
  1. Start TCMD
  2. Launch IDE (e.g. IDE myfile.btm)
  3. In IDE, press F1 (opens help)
  4. Click on TCMD
  5. Press the close button
  6. BOOM...
NOTE: running Windows 7 & 8 x64 on both
 
May 20, 2008
11,543
104
Syracuse, NY, USA
Steps:
  1. Start TCMD
  2. Launch IDE (e.g. IDE myfile.btm)
  3. In IDE, press F1 (opens help)
  4. Click on TCMD
  5. Press the close button
  6. BOOM...
Just as he says!
Code:
TCC  15.01.42
Module=C:\Windows\system32\KERNELBASE.dll
Address=7523D36F
Exception=E06D7363
EAX=0A01F7C4  EBX=609B9EA4  ECX=00000003  EDX=00000000
ESI=037F54E8  EDI=00000000  EBP=0A01F814  ESP=0A01F7C4
CS=0000001B  DS=00000023  ES=00000023  SS=00000023
Flags=00000212
 
Stack:
1 : KERNELBASE.dll 0001:0000c36f
2 : MSVCR110.dll 0001:00018863
3 : mfc110u.dll 0001:00206375
4 : mfc110u.dll 0001:0008a0f0
5 : mfc110u.dll 0001:0015d9ad
6 : mfc110u.dll 0001:0016c3df
7 : mfc110u.dll 0001:0016c4d7
8 : mfc110u.dll 0001:0015d91d

Another oddity ... if I issue "IDE" and then (in IDE) press F1, I get the "Overview" page of the help. If I issue "IDE existing.BTM" and press F1 (in IDE) I get (in the help) "This program cannto display the web page". Ditto for the BDEBUGGER command. If the specified file does not exist (IDE or BDEBUGGER) F1 opens the "Overview" page.
 

rconn

Administrator
Staff member
May 14, 2008
12,406
152
Steps:
  1. Start TCMD
  2. Launch IDE (e.g. IDE myfile.btm)
  3. In IDE, press F1 (opens help)
  4. Click on TCMD
  5. Press the close button
  6. BOOM...
NOTE: running Windows 7 & 8 x64 on both


Not reproducible here (Windows 7 x64 and Windows 8 x64, with both the 32-bit and 64-bit versions of TCMD). IDE.EXE is running in a separate process, and doesn't care if TCMD is running.

The help is actually Microsoft's and part of IE -- what version of IE are you running?
 

rconn

Administrator
Staff member
May 14, 2008
12,406
152
Another oddity ... if I issue "IDE" and then (in IDE) press F1, I get the "Overview" page of the help. If I issue "IDE existing.BTM" and press F1 (in IDE) I get (in the help) "This program cannto display the web page". Ditto for the BDEBUGGER command. If the specified file does not exist (IDE or BDEBUGGER) F1 opens the "Overview" page.

WAD -- F1 in the debugger displays help for the command on the current line. If there isn't anything (blank line or empty file) it will display the overview. If you have an unknown command (i.e., something not in the help file), it displays "cannot display the web page".

The help in the debugger has always behaved this way.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,496
91
Albuquerque, NM
prospero.unm.edu
WAD -- F1 in the debugger displays help for the command on the current line. If there isn't anything (blank line or empty file) it will display the overview. If you have an unknown command (i.e., something not in the help file), it displays "cannot display the web page".

Couldn't you could add a redirect for IDE, as MKDIR redirects to MD, or ERASE to DEL?
 
May 20, 2008
11,543
104
Syracuse, NY, USA
Couldn't you could add a redirect for IDE, as MKDIR redirects to MD, or ERASE to DEL?
I don't think it's that simple. Rex said it looked for help on the first line no doubt because the first line is the current line when you first start IDE. It's good that F1 give help for the current line. In my test, the first line of the file was a ":: comment" line. Even if it ignored the "::" it wouldn't have found anything "help-worthy".
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,496
91
Albuquerque, NM
prospero.unm.edu
I don't think it's that simple. Rex said it looked for help on the first line no doubt because the first line is the current line when you first start IDE. It's good that F1 give help for the current line. In my test, the first line of the file was a ":: comment" line. Even if it ignored the "::" it wouldn't have found anything "help-worthy".

Sorry; I didn't read that closely enough.

Still, I do think it would be nice if HELP IDE would open the page for BDEBUGGER.
 

rconn

Administrator
Staff member
May 14, 2008
12,406
152
After some more experimentation I was able to reproduce the problem on one system. However, it doesn't have anything to do with HELP or F1, it's an issue with the IDE throwing an error when the TCMD parent process exits.

Not sure if I can do anything about it (it's in the VC++ RTL code), but I'll poke around a bit and see what I can find.
 
Similar threads
Thread starter Title Forum Replies Date
T Closing multi-tab TCMD crashes Support 4
vefatica Trouble closing TCMD Support 0
E How to? Closing desktop created by DESKTOP command Support 10
vefatica Command line DO with no closing parenthesis? Support 9
aedthuio TCC: No closing quote Support 2
vefatica ON <closing the console> Support 5
S Closing date for V16 suggestions Support 1
vefatica WAD HISTORY /R, No closing quote? Support 10
M How to? Missing closing quote: What am I doing wrong???? Support 7
vefatica Console not closing ... problem gone Support 1
vefatica Console not closing Support 1
vefatica Closing detached consoles Support 2
vefatica WINDOW (and more closing TCC woes) Support 15
Steve Pitts Failed REXX invocation not closing file Support 3
vefatica BSOD closing IDE! Support 7
mikea 'Loop' on closing TC Support 6
Jay Sage TCMD Macro Recorder Support 7
MickeyF equivalent to TCSTART.btm for TCMD? Support 4
D Fixed TCMD /X option Support 7
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Back up TCMD tabs Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
DrusTheAxe TCMD 24.02.49 x64 crashed due to DivideByZero :-( Support 4
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13
CWBillow TCMD PowerShell Tab elevated Support 6
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
vefatica TCMD output invisible on Win10 Support 22

Similar threads