Skip to content
Tcl Source Code History Of Ticket 3371315
Login

History Of Ticket 3371315

Artifacts Associated With Ticket 3371315

  1. Ticket change [fa01fe047d] (rid 91797) by jmcuaz on 2011-07-19 13:27:37:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "obsolete: 8.5.10"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "jmcuaz"
    10. subsystem initialized to: "69. Other"
    11. title initialized to: "Crash with Ttk on Win7-64bit"
    12. type initialized to: "Bug"
  2. Add attachment "CrashTtk_Win7_64bit.tcl" [11bab6c42b] (rid 95194) by jmcuaz on 2011-07-19 20:27:38.

  3. Ticket change [4672dc233b] (rid 99523) by jmcuaz on 2011-07-19 20:27:39:

    1. icomment:
      
      
      File Added - 418642: CrashTtk_Win7_64bit.tcl
      
      
      
    2. login: "jmcuaz"
    3. mimetype: "text/plain"
    4. username: "jmcuaz"
  4. Ticket change [73c5c2feca] (rid 105095) by dkf on 2011-07-19 20:47:51:

    1. assignee changed to: "patthoyts"
    2. closedate changed to: "2011-07-19T13:47:51"
    3. closer changed to: "dkf"
    4. icomment:
      Please file against Tk.
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Pending"
    9. username: "dkf"
  5. Ticket change [94c9cdb5e1] (rid 106056) by jmcuaz on 2011-07-19 21:13:08:

    1. closedate changed to: "2011-07-19T14:13:08"
    2. closer changed to: "jmcuaz"
    3. icomment:
      
      
      allow_comments - 1
      
      Closing the item here and re-openning on Tk Toolkit project
      
      
    4. login: "jmcuaz"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "jmcuaz"
  6. Ticket change [6a3a55d8b3] (rid 128111) by patthoyts on 2011-07-19 21:51:43:

    1. 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.
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  7. Ticket change [dd95ad9320] (rid 114696) by patthoyts on 2011-07-19 21:55:52:

    1. 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.
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"