Tk Source Code

View Ticket
Login
Ticket UUID: 1633089
Title: tk crash on windows - load related
Type: Bug Version: obsolete: 8.5a6
Submitter: juliannoble Created on: 2007-01-11 11:14:29
Subsystem: 68. Win Window Operations Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-05-02 09:20:04
Resolution: Works For Me Closed By: sf-robot
    Closed on: 2007-05-02 02:20:04
Description:
Tested on win2k using Tcl/Tk cvs checkout from 2006-12-06

The following script causes a tclsh or wish process to exit without displaying any error message.

package require Tk
package require BWidget
NoteBook .n -side top
.n insert end tab1 -text tab1
pack .n -side top -fill both -expand 1
wm state . zoomed
User Comments: sf-robot added on 2007-05-02 09:20:04:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

patthoyts added on 2007-04-17 21:48:37:
Logged In: YES 
user_id=202636
Originator: NO

Can't reproduce on WinXP with 8.5a6 HEAD.

juliannoble added on 2007-02-20 08:40:02:
Logged In: YES 
user_id=598324
Originator: YES

Threaded build of CVS checkout (2006-02-19) of Tcl,Thread,Tk  still exhibits this problem.
(windows 2000)
Tk apps will crash, whereas other applications function. Seems to occur when fairly high memory usage (e.g ~700MB in use on a machine with 640MB ram & 1400MB swap space)

juliannoble added on 2007-01-19 01:42:40:
Logged In: YES 
user_id=598324
Originator: YES

On further examination - it's not specific to 'wm state . zoomed' at all.
It seems to occur when a large number of application windows are open. (estimate 25+) Tk Apps will silently terminate - either shortly after startup, or during operations such as a window resize.  There is still memory available on the machine - and non-Tk applications open and function as normal.