Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 56ed6b01afba80bba6a24fa1290c10d7d98469be33bff4cf4adb4458fef82378
Ticket: 0b809cd3fc8b6e5e19cd8a9a91357e425472cd69
SIGSEGV on shutdown with TclOO, coroutines, namespaces, and -DPURIFY
User & Date: sebres on 2024-12-05 16:08:57
Changes

  1. closedate changed to: "2460650.1728895"
  2. closer changed to: "sebres"
  3. icomment:
    Thx for review...
    
    > I'd love to see the error message actually demonstrated
    
    You cannot get the error message using exactly this approach, because it was never intended in tcl to handle an error by jumping back to the callee-coro after yield (what basically happens) and therefore the error is simply swallowed somewhere around NRE-trampoline.
    
    To reproduce the raising of error with some different approach, one has to bound the method somewhere (without object or class) and cause a class destroy inside of the chain without immediate epoch increment (caused a recompile/reresolve), otherwise one'd get another errors either like "method without declarer", "invalid command name", etc by resolving of the method or object command.<br/>
    I'm not so familiar with the tclOO to construct such test (without to create some C-command in test-suite), but may be you were able to do this.
    
    Anyway, I merged the fix for now as it is, better tests can be added later.
    
  4. login: "sebres"
  5. mimetype: "text/x-markdown"
  6. status changed to: "Closed"