Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: acc9e9560f4e602f8c6534f670435053f209ab65
Ticket: 3461051fffffffffffffffffffffffffffffffff
Crash on "exit" when resources are low
User & Date: tombert on 2011-12-16 18:00:32
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This is another try in hope that you're able to reproduce.
    
    Environment: Win7 with latest thread2.7b1, Tcl 8.5.11 MinGW build and ActiveState (when package 2.6.7 is replaced with 2.7b1);
    
    It doesn't crash when using thread2.6.7.
    It crashes only when resources running low, for this I also have reported a tracker here:
    https://sourceforge.net/tracker/?func=detail&aid=3461049&group_id=10894&atid=110894
    
    In the example I'am trying to create 10tsd entries whereas it stops earlier without error message. Of course 10tsd entries is weird but I'am having similar troubles in my own application on exiting and there I've got only two toplevels and ~10 entries but lots more itcl classes. So that's why I'am thinking it might be some resources ...
    
    Source the attached main.tcl and in the console type:
    > threads
    which starts a few threads trying to ping in background. Then type:
    > entries
    which tries to create 200 toplevels but stops at 192. Then type:
    > exit
    it should crash now.
    
    ... I really hope that this time it works ...
    thx
    
    
  4. foundin changed to: "obsolete: 8.5.11"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "tombert"
  10. subsystem changed to: "49. Threading"
  11. title changed to: "Crash on "exit" when resources are low"
  12. type changed to: "Bug"