| Ticket UUID: | 8e32cb7ece0f75da51c914ffe52ab02e41dc3fc0 | |||
| Title: | Aqua: window-2.12 crash | |||
| Type: | Bug | Version: | 9.0.5, 9.1.0 | |
| Submitter: | chrstphrchvz | Created on: | 2025-11-28 23:52:32 | |
| Subsystem: | 66. Aqua Window Operations | Assigned To: | chrstphrchvz | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Closed | Last Modified: | 2026-10-29 20:05:40 | |
| Resolution: | Fixed | Closed By: | marc_culler | |
| Closed on: | 2026-10-29 20:05:40 | |||
| Description: |
On an older/slower Mac running macOS 10.15 Catalina, I encounter test window-2.12 consistently failing due to a
Without having looked into the issue any further, here is a possible quick fix:
| |||
| User Comments: |
marc_culler (claiming to be Marc Culler) added on 2026-10-29 20:05:40:
I am closing this since it was also fixed by the merge of the macos-root-destroyed-early branch. chrstphrchvz added on 2026-10-24 15:15:00: I suggest putting a comment in the test above marc_culler (claiming to be Marc Culler) added on 2026-10-24 14:34:49: On macOS 27.0.1 with an M3 CPU the script in this ticket runs with no issue with the macos-root-destroyed-early branch. serhiy.storchaka added on 2026-10-24 10:39:54: Fixed on branch macos-root-destroyed-early [996b73f3a3], for both this ticket and [aeb2ed51ab], as suggested there: the NSWindow is retained until showRootWindow() runs, and the handler does nothing if the Tk window is gone. New test window-2.13 runs the script from this ticket. The test also found a background error on Windows: the console's idle script that erases the "% " prompt ran after the application was destroyed. That is fixed on the same branch. Tested on Linux and Windows. I have no Mac, so could someone test it on macOS, preferably with sanitizers or NSZombieEnabled=YES? chrstphrchvz added on 2025-11-30 03:09:18: This is not a Catalina-specific issue. Example script:
package require Tk
after 1000 {set forever 1}
after 0 {destroy .}
puts "waiting"
vwait forever
puts "done waiting"
This script currently triggers [aeb2ed51], but if that issue is resolved/worked around, the script triggers this issue instead. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki