|
2026-10-12
| ||
| 17:44 | • Pending ticket [3461051fff]: Crash on "exit" when resources are low</i... artifact: d7f121efeb user: serhiy.storchaka | |
|
2012-04-11
| ||
| 03:08 | • Ticket [3461051fff]: 4 changes artifact: 6e1d6ea2c5 user: tombert | |
|
2011-12-21
| ||
| 23:33 | • Ticket [3461051fff]: 4 changes artifact: 90672d2eea user: dgp | |
|
2011-12-17
| ||
| 01:08 | • Ticket [3461051fff]: 4 changes artifact: 11af5feeca user: tombert | |
| 01:00 | • Add attachment main.tcl to ticket [3461051fff] artifact: d02780d9c0 user: tombert | |
| 01:00 | • Ticket [3461051fff] Crash on "exit" when resources are low status ... artifact: bbc4f783d2 user: tombert | |
|
2011-12-16
| ||
| 18:00 | • New ticket [3461051fff]. artifact: acc9e9560f user: tombert | |
Crash on "exit" when resources are low
Pending3461051fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 51 days ago
Descriptionplain2011-12-16 18:00:32
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
tombertplain2011-12-17 01:00:38
File Added - 431045: main.tcl
tombertplain2011-12-17 01:08:57
Cross-link to the tk tracker: https://sourceforge.net/tracker/index.php?func=detail&aid=3461049&group_id=10894&atid=110894
dgpplain2011-12-21 23:33:49
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.
tombertplain2012-04-11 03:08:19
Got latest head of Tk and Tcl. Tried again but this time it created 200 Toplevels. After "exit" it crashes.
serhiy.storchakawiki2026-10-12 17:44:13
I cannot reproduce it. With the attached script (20 threads, then 200 toplevels
with 50 entries each, then exit), 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).
Log in (anonymous is fine) to add a comment.
Attachments:
- main.tcl [download] added by tombert on 2011-12-17 01:00:38. [details]