Artifacts Associated With Ticket 3461051fff
Ticket change [acc9e9560f] (rid 101355) by tombert on 2011-12-16 18:00:32:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- 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
- foundin initialized to: "obsolete: 8.5.11"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "tombert"
- subsystem initialized to: "49. Threading"
- title initialized to: "Crash on "exit" when resources are low"
- type initialized to: "Bug"
Add attachment "main.tcl" [d02780d9c0] (rid 113115) by tombert on 2011-12-17 01:00:38.
Ticket change [bbc4f783d2] (rid 129544) by tombert on 2011-12-17 01:00:38:
- icomment:
File Added - 431045: main.tcl
- login: "tombert"
- mimetype: "text/plain"
- username: "tombert"
- icomment:
Ticket change [11af5feeca] (rid 95189) by tombert on 2011-12-17 01:08:57:
- icomment:
Cross-link to the tk tracker: https://sourceforge.net/tracker/index.php?func=detail&aid=3461049&group_id=10894&atid=110894
- login: "tombert"
- mimetype: "text/plain"
- username: "tombert"
- icomment:
Ticket change [90672d2eea] (rid 120448) by dgp on 2011-12-21 23:33:49:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [6e1d6ea2c5] (rid 128818) by tombert on 2012-04-11 03:08:19:
- icomment:
Got latest head of Tk and Tcl. Tried again but this time it created 200 Toplevels. After "exit" it crashes.
- login: "tombert"
- mimetype: "text/plain"
- username: "tombert"
- icomment:
Ticket change [d7f121efeb] (rid 257769) by serhiy.storchaka on 2026-10-12 17:44:13:
- 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).
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Works For Me"
- status changed to: "Pending"
- icomment: