Artifacts Associated With Ticket 3371315
Ticket change [fa01fe047d] (rid 91797) by jmcuaz on 2011-07-19 13:27:37:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Hello, I have just installed the latest 8.5.10 -Win64bit- Tcl distribution from Active State on a new Win7-64bit PC and I am experimenting crashes with the GUI (Tk/Ttk) of an application running without pb on WinXP. Narrowing the source of the crash on Win7 seems to point to Ttk being involved. I attach a small script wich reproduce the crash on my machine : execute it, then click on the button -> crash (I need to wait 2-3 seconds to see the crash icon in the Win7 task bar...) Thanks Jean-Marie
- foundin initialized to: "obsolete: 8.5.10"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jmcuaz"
- subsystem initialized to: "69. Other"
- title initialized to: "Crash with Ttk on Win7-64bit"
- type initialized to: "Bug"
Add attachment "CrashTtk_Win7_64bit.tcl" [11bab6c42b] (rid 95194) by jmcuaz on 2011-07-19 20:27:38.
Ticket change [4672dc233b] (rid 99523) by jmcuaz on 2011-07-19 20:27:39:
- icomment:
File Added - 418642: CrashTtk_Win7_64bit.tcl
- login: "jmcuaz"
- mimetype: "text/plain"
- username: "jmcuaz"
- icomment:
Ticket change [73c5c2feca] (rid 105095) by dkf on 2011-07-19 20:47:51:
- assignee changed to: "patthoyts"
- closedate changed to: "2011-07-19T13:47:51"
- closer changed to: "dkf"
- icomment:
Please file against Tk.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Pending"
- username: "dkf"
Ticket change [94c9cdb5e1] (rid 106056) by jmcuaz on 2011-07-19 21:13:08:
- closedate changed to: "2011-07-19T14:13:08"
- closer changed to: "jmcuaz"
- icomment:
allow_comments - 1 Closing the item here and re-openning on Tk Toolkit project
- login: "jmcuaz"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "jmcuaz"
Ticket change [6a3a55d8b3] (rid 128111) by patthoyts on 2011-07-19 21:51:43:
- icomment:
The most obvious response is 'dont do that'. You are deleting a widget while still processing it's event handler. For something like this you should disconnect the button event from its consequences using a construction like: ttk::button .b -text MAJ -command [list after idle proc_Btn] It shouldn't crash - so presumably we are missing a place where there should be a TkWindow pointer and its now been deleted and we will need to add a guard against this. But don't do it like this - use after.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment:
Ticket change [dd95ad9320] (rid 114696) by patthoyts on 2011-07-19 21:55:52:
- icomment:
In fact I think this was the subject of the post-release patch: 3341056 Correct segfault due to flaw in the 2011-06-17 commit. a current 8-5-branch build doesn't crash with the provided script.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment: