|
2026-10-29
| ||
| 20:05 | • Closed ticket [8e32cb7e]: Aqua: window-2.12 crash plus 8 other changes artifact: 0e318eac user: marc_culler | |
|
2026-10-25
| ||
| 07:48 | window-2.13: explain why the delay of "destroy ." must be 0, as suggested by chrstphrchvz in [8e32cb7ece]. closed check-in: 7c3fb7d9 user: serhiy.storchaka tags: macos-root-destroyed-early | |
|
2026-10-24
| ||
| 15:15 | • Ticket [8e32cb7e] Aqua: window-2.12 crash status still Open with 3 other changes artifact: 171f47cd user: chrstphrchvz | |
| 14:34 | • Ticket [8e32cb7e]: 4 changes artifact: f1e362f4 user: marc_culler | |
| 10:39 | • Ticket [aeb2ed51] Aqua: Unretained NSWindow reference passed to showRootWindow() idle task status still Open with 4 other changes artifact: a09821cc user: serhiy.storchaka | |
| 10:39 | • Ticket [8e32cb7e] Aqua: window-2.12 crash status still Open with 4 other changes artifact: 066100ef user: serhiy.storchaka | |
| 10:33 | Fix [aeb2ed51ab] and [8e32cb7ece]: on macOS, destroying "." before the root window was first shown (e.g. [after 0 {destroy .}]) crashed in the showRootWindow() idle handler, which used the possibly deallocated NSWindow and the NULL Tk window. Retain the NSWindow until the handler runs, and do nothing there if its Tk window is gone. Also fix a background error on Windows in the console, whose idle script for erasing the "% " prompt ran after the application was destroyed. Test window-2.13. check-in: 996b73f3 user: serhiy.storchaka tags: macos-root-destroyed-early | |
|
2026-10-11
| ||
| 00:36 | • Open ticket [33b3af1c]: macOS 27 beta: modal dialog opened synchronously from a menu command becomes unresponsive plus 4 other changes artifact: 33269cbc user: chrstphrchvz | |
|
2025-11-30
| ||
| 03:09 | • Ticket [8e32cb7e] Aqua: window-2.12 crash status still Open with 4 other changes artifact: f9053691 user: chrstphrchvz | |
|
2025-11-28
| ||
| 23:52 | • New ticket [8e32cb7e]. artifact: d7e9db98 user: chrstphrchvz | |
| 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. | |||
