Skip to content
Tcl Source Code History Of Ticket 218547ffffffffff
Login

History Of Ticket 218547ffffffffff

Artifacts Associated With Ticket 218547ffffffffff

  1. Ticket change [432bb7451d] (rid 116500) by nobody on 2000-10-26 01:02:00:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 988 Bug
      Version: 8.1a2
      SubmitDate: '1998-12-17'
      LastModified: '1999-03-30'
      Severity: LOW
      Status: Released
      Submitter: pat
      ChangedBy: stanton
      RelatedBugIDs: 1273 1573 1593
      OS: Linux
      OSVersion: 2.0.29
      Machine: X86
      FixedDate: '1999-03-30'
      FixedInVersion: 8.1b3
      ClosedDate: '2000-10-25'
      
      
      Extensions:
      Memchan, but anz other extension with a channel type will do
      
      CustomShell:
      Freshly configured and compiled 8.1a2 / 8.1b1 interpreter.
      
      ReproducibleScript:
      Compile 8.1a2 (or 8.1b1), the memchan extension, then do
      
      % package require Memchan
      1.4
      % memchan
      mem0
      % exit
      
      Remark: Any other extension providing a new channel type should exhibit the same behaviour.
      
      ObservedBehavior:
      The interpreter crashed (Segmentation fault)
      
      DesiredBehavior:
      The interpreter should exit cleanly
      
      
      
      I traced the interpreter while it was executing the 'exit' and found out that Tcl unloads the memchan library first, and then tries to close the remaining open channel, hitting an invalid 'typePtr'.
      
      The source for the memchan extension can be found at  http://www.oche.de/~akupries/tcltk.html
      ----
      Related Finalization Bugs: 1573 & 1593.  03/24/1999 14:40 - surles -
      
      Unloading of libraries is deferred until after exit handlers have been invoked.
      03/30/1999 14:25 - stanton -
      
      
      
    4. foundin initialized to: "obsolete: 8.1a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Interpreter crashes upon 'exit'"
    11. type initialized to: "Bug"
  2. Ticket change [f72c04f83d] (rid 91334) by welch on 2000-10-26 08:24:13:

    1. closedate changed to: "2000-10-26T01:24:13"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [4de88fd99f] (rid 127137) by dgp on 2001-04-17 04:13:27:

    1. closedate changed to: "2001-04-16T21:13:27"
    2. closer changed to: "dgp"
    3. subsystem changed to: "02. Event Loops"