Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 26d938f5bdc1c94fb2be3a5f105110de7842b66e
Ticket: 2944777fffffffffffffffffffffffffffffffff
Tcl_WaitForEvent: CFRunLoop finished on MacOSX
User & Date: starseeker on 2010-02-02 18:29:18
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Using tcl 8.6cvs compiled for X11 graphics on Mac OSX, I have been attempting to get an application working whose purpose is to incrementally display an image onscreen as it is generated by a raytracer.  To do this, the general approach is:
    
    1.  Set up the window and Tk Photo
    2.  Enter a loop where the image generation routine calls a function to put blocks into the photo (this is in C)
         The loop:
         a.  Calls Tk_PhotoPutBlock to write the generated information
         b.  Calls Tcl_DoOneEvent(TCL_ALL_EVENTS|TCL_DONT_WAIT); to immediately update the view.
    
    It's the latter step that seems to be failing: the window appears, but there is no visible output and the error on the command line is:
    
    Tcl_WaitForEvent: CFRunLoop finished
    Abort trap
    
    If I comment out the Tcl_DoOneEvent line, the display eventually does show the image but only upon completion of the entire raytrace.  This same code did succeed with Tcl/Tk 8.5 X11 on the Mac, although the 8.5 AquaTk results were similar to the above - it either didn't update until the end or produced the same error as seen above.
    
    If any additional information or example code is needed I will do my best to supply it.  Any help appreciated.
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "starseeker"
  10. subsystem changed to: "None"
  11. title changed to: "Tcl_WaitForEvent: CFRunLoop finished on MacOSX"
  12. type changed to: "Bug"