• sometimes the most beautiful thing in the world is a CRASH that brings

    From aotto1968@21:1/5 to All on Fri Feb 7 20:12:50 2025
    # This causes a CRASH if after unloading the “atlmkkernel-library” a namespace with “Tcl_Namespace->deleteProc”
    # is still active that points to the deleted "atlmkkernel" library.
    # -> By default, when "unloading" ONLY the class-NS was deleted, BUT now also the instance-NS.
    # Deleting the instance belonging to a class is more complicated than you think, because NOT ONLY the instance
    # directly belonging to the class must be deleted, but also all instances that have this class as a base class.

    https://www.facebook.com/permalink.php?story_fbid=pfbid0qA1aDKaiUBMAjButCH62oR3LDe78Djg1yPyxHtt1WYETkYs4NSXLpTeAaBA9n8kUl&id=100069563501101

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From aotto1968@21:1/5 to All on Fri Feb 14 13:45:20 2025
    This example looks simple at first, but differs in detail.

    Where tclOO internally falls back to "c_str", "myOO" consistently uses "Tcl_Obj*" as a representation. **Strict** care was taken
    to ensure that a "Tcl_Obj*" is not **repeatedly** constructed from a "c_str" so that an already resolved reference is
    consistently reused.

    https://www.facebook.com/photo/?fbid=938449471817161&set=a.805828751745901

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)