Skip to content
Tcl Source Code History Of Ticket 3461051fffffffff
Login

History Of Ticket 3461051fffffffff

Artifacts Associated With Ticket 3461051fffffffff

  1. Ticket change [acc9e9560f] (rid 101355) by tombert on 2011-12-16 18:00:32:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.5.11"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "tombert"
    10. subsystem initialized to: "49. Threading"
    11. title initialized to: "Crash on "exit" when resources are low"
    12. type initialized to: "Bug"
  2. Add attachment "main.tcl" [d02780d9c0] (rid 113115) by tombert on 2011-12-17 01:00:38.

  3. Ticket change [bbc4f783d2] (rid 129544) by tombert on 2011-12-17 01:00:38:

    1. icomment:
      
      
      File Added - 431045: main.tcl
      
      
      
    2. login: "tombert"
    3. mimetype: "text/plain"
    4. username: "tombert"
  4. Ticket change [11af5feeca] (rid 95189) by tombert on 2011-12-17 01:08:57:

    1. icomment:
      Cross-link to the tk tracker:
      https://sourceforge.net/tracker/index.php?func=detail&aid=3461049&group_id=10894&atid=110894
      
      
      
    2. login: "tombert"
    3. mimetype: "text/plain"
    4. username: "tombert"
  5. Ticket change [90672d2eea] (rid 120448) by dgp on 2011-12-21 23:33:49:

    1. icomment:
      A difference between Thread 2.6.7 and Thread 2.7b1 strongly
      points to issues with the re-enabled finalization in Thread.  That
      is, the difference isn't so much in what's right/wrong, but in how
      ambitious the code is.  Same bug/issue is always there, but not
      triggered when finalization is not attempted.  Thanks for testing the
      unreleased 2.7b so we can address this before release.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [6e1d6ea2c5] (rid 128818) by tombert on 2012-04-11 03:08:19:

    1. icomment:
      Got latest head of Tk and Tcl.
      Tried again but this time it created 200 Toplevels.
      After "exit" it crashes.
      
      
    2. login: "tombert"
    3. mimetype: "text/plain"
    4. username: "tombert"
  7. Ticket change [d7f121efeb] (rid 257769) by serhiy.storchaka on 2026-10-12 17:44:13:

    1. icomment:
      I cannot reproduce it. With the attached script (20 threads, then 200 toplevels
      with 50 entries each, then <code>exit</code>), wish exits normally in 10 runs out
      of 10 on Windows 11 with Tcl/Tk 8.6.18 and Thread 2.8.13, and with 9.1 and
      Thread 3.0.7, although the window handle quota is exhausted (about 450 entries
      get no window).
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Works For Me"
    5. status changed to: "Pending"