Tk Source Code

View Ticket
Login
Ticket UUID: 1473475
Title: Runtime error in Windows
Type: Bug Version: obsolete: 8.5a4
Submitter: ctasada Created on: 2006-04-20 10:04:18
Subsystem: 65. Generic Window Operations Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-05-29 23:40:32
Resolution: Works For Me Closed By: hobbs
    Closed on: 2006-05-29 16:40:32
Description:
I've just downloaded the last CVS version (8.5a4) and
compiled it without problems using mingw32.

Everything seems to work fine until I try to close the
application, then I get a runtime error:

"This application has requested the Runtime to
terminate it in an unusual way"

Here is a script that reproduces the problem:

wm title . "Test Script"
wm protocol . WM_DELETE_WINDOW "exit"

Looking a little bit through google I found a workaround:

wm title . "Test Script"
wm protocol . WM_DELETE_WINDOW "ExitProc"

proc ExitProc {} {
  destroy .

  exit
}

Until now I was running the ActiveTcl 8.5 version
without problems, so I imagine is something in my
compilation or in the code.

Cheers,
Carlos.
User Comments: hobbs added on 2006-05-29 23:40:32:
Logged In: YES 
user_id=72656

Closing lacking repro

ctasada added on 2006-05-27 17:54:42:
Logged In: YES 
user_id=340696

Sorry Jeff, but I cannot provide any extra information.
Anyway I cannot reproduce it either anymore ????

hobbs added on 2006-05-27 04:55:31:
Logged In: YES 
user_id=72656

Is there no stack trace or anything that you can get from
Windows?