Tk Source Code

View Ticket
Login
Ticket UUID: 220736
Title: proj.test causes wish to crash on windows
Type: Bug Version: obsolete: 8.3.1
Submitter: welch Created on: 2000-10-31 23:52:23
Subsystem: 68. Win Window Operations Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2001-03-23 02:15:14
Resolution: Fixed Closed By: dgp
    Closed on: 2001-03-22 19:15:14
Description:
OriginalBugID: 5438 Bug
Version: 8.3.1
SubmitDate: '2000-05-10'
LastModified: '2000-05-12'
Severity: MED
Status: Released
Submitter: wart
ChangedBy: hobbs
OS: Windows NT
FixedDate: '2000-05-12'
FixedInVersion: 8.4a1
ClosedDate: '2000-05-11'


The tcldebugger test suite is run as part of nightly builds.  I consistenly see the proj.test cause wish to crash (the windows equivalent of a core dump).  This does not happen when run with a Debug build, only with a Release build.

Steps to reproduce:

Go to a nightly test area:
  % cd /home/build/WS/ws-happybox-20000507-2300/connect2.0/xmlserver/win32-ix86/Release
Run the tcldebugger tests proj-14.5 and proj-14.6:
  % make tcldebugger-test TCLTESTARGS="-file proj.test -match proj-4.[56]"

Result:

A windows dialog pops up indication that wish has crashed.

Expected result:

Tests pass with no problems.

It's interesting to note that the tests pass when run individually, but when both proj-4.5 and proj-4.6 are run together, wish crashes.



Additional note:  This also happens when running the tcldebugger tests from a TclPro build.

Mitch has also noticed a similar problem with his tclide post.test tests.

--Mike
--
This turned out to be timing sensitive, and was caused by the
tkWinWm.c:RaiseWinWhenIdle not accounting for the TK_DONT_DESTROY_WINDOW
flag in addition to TK_ALREADY_DEAD.  This will go into 8.4a1, but it
is also on the core-8-3-1-branch tag for Tk. 
-- 05/12/2000 hobbs