Skip to content
Tcl Source Code History Of Ticket 3604031fffffffff
Login

History Of Ticket 3604031fffffffff

Artifacts Associated With Ticket 3604031fffffffff

  1. Ticket change [d3846f3e6f] (rid 123302) by eighthave on 2013-02-10 19:10:23:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      on Mac OS X, creating a single menubar with the .menubar.window special menu, then adding it to multiple toplevels causes a crash.  I am using ActiveTcl8.6.0.0.296563-macosx10.5-i386-x86_64-threaded on Mac OS X 10.6.8 on a 3rd gen MacBook Pro.  The crash produces the following backtrace:
      
      Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
      0   Tk                            0x00000001000cdaa9 TkpConfigureMenuEntry + 1917
      1   Tk                            0x0000000100047bac PostProcessEntry + 951
      2   Tk                            0x0000000100047cad ConfigureMenuEntry + 194
      3   Tk                            0x0000000100048368 ConfigureMenu + 609
      4   Tk                            0x0000000100048cdc TkSetWindowMenuBar + 493
      5   Tk                            0x00000001000422fc ConfigureFrame + 279
      6   Tk                            0x00000001000427e6 FrameWidgetObjCmd + 749
      7   Tcl                           0x000000010019c877 TclNREvalObjv + 1705
      8   Tcl                           0x000000010019c9ce Tcl_EvalObjv + 38
      9   Tcl                           0x000000010019d28d TclEvalEx + 2216
      10  Tcl                           0x000000010021ef88 Tcl_FSEvalFileEx + 523
      11  Tk                            0x000000010002bf38 Tk_MainEx + 1018
      12  Wish                          0x00000001000054b7 main + 56
      13  Wish                          0x00000001000053f4 start + 52
      
      
      Here's the script I used:
      ---------------------------------------
      menu .menubar
      menu .menubar.window
      .menubar add cascade -label "Window" -menu .menubar.window
      
      toplevel .first
      
      # both together causes a crash.  Comment one out, no crash
      . configure -menu .menubar
      .first configure -menu .menubar
      ---------------------------------------
      
    4. foundin initialized to: "current: 8.6.0"
    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: "eighthave"
    10. subsystem initialized to: "None"
    11. title initialized to:
      add menubar with .window to multiple toplevels crashes (OSX)
      
    12. type initialized to: "Bug"
  2. Ticket change [97cb68a837] (rid 148401) by dkf on 2016-08-20 17:04:13:

    1. closedate changed to: "2457621.2112725"
    2. closer changed to: "dkf"
    3. comment changed to:
      on Mac OS X, creating a single menubar with the .menubar.window special menu, then adding it to multiple toplevels causes a crash.  I am using ActiveTcl8.6.0.0.296563-macosx10.5-i386-x86_64-threaded on Mac OS X 10.6.8 on a 3rd gen MacBook Pro.  The crash produces the following backtrace:
      
      Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
      0   Tk                            0x00000001000cdaa9 TkpConfigureMenuEntry + 1917
      1   Tk                            0x0000000100047bac PostProcessEntry + 951
      2   Tk                            0x0000000100047cad ConfigureMenuEntry + 194
      3   Tk                            0x0000000100048368 ConfigureMenu + 609
      4   Tk                            0x0000000100048cdc TkSetWindowMenuBar + 493
      5   Tk                            0x00000001000422fc ConfigureFrame + 279
      6   Tk                            0x00000001000427e6 FrameWidgetObjCmd + 749
      7   Tcl                           0x000000010019c877 TclNREvalObjv + 1705
      8   Tcl                           0x000000010019c9ce Tcl_EvalObjv + 38
      9   Tcl                           0x000000010019d28d TclEvalEx + 2216
      10  Tcl                           0x000000010021ef88 Tcl_FSEvalFileEx + 523
      11  Tk                            0x000000010002bf38 Tk_MainEx + 1018
      12  Wish                          0x00000001000054b7 main + 56
      13  Wish                          0x00000001000053f4 start + 52
      
      
      Here's the script I used:
      ---------------------------------------
      menu .menubar
      menu .menubar.window
      .menubar add cascade -label "Window" -menu .menubar.window
      
      toplevel .first
      
      # both together causes a crash.  Comment one out, no crash
      . configure -menu .menubar
      .first configure -menu .menubar
      ---------------------------------------
      
    4. icomment: "This would be a Tk issue."
    5. login: "dkf"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Invalid"
    8. severity changed to: "Minor"
    9. status changed to: "Closed"