Skip to content
Tcl Source Code History Of Ticket 218507
Login

History Of Ticket 218507

Artifacts Associated With Ticket 218507

  1. Ticket change [f72f6b00cc] (rid 91337) by nobody on 2000-10-26 01:01:27:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 757 Bug
      Version: 8.0.3
      SubmitDate: '1998-10-22'
      LastModified: '1999-08-14'
      Severity: SER
      Status: Released
      Submitter: admin
      ChangedBy: hobbs
      OS: All
      OSVersion: NA
      Machine: NA
      FixedDate: '1999-08-14'
      FixedInVersion: 8.2
      ClosedDate: '2000-10-25'
      
      
      I've encountered an interesting problem with the following script:
      
          namespace eval ::test {
              namespace export init myProc
      
              variable Test
          }
      
          proc test::myProc { } { 
              puts "myProc"
          }
      
          proc test::init { } {
              variable Test
      
              global tcl_version
              global tcl_patchLevel
              global tcl_platform
      
              puts "$tcl_version ($tcl_patchLevel)"
              parray tcl_platform
      
              set Test(interp) [interp create -safe]
              $Test(interp) alias test::myProc test::myProc
              $Test(interp) alias test::myProc {}
          }
      
          test::init
      
      It produces the following output:
      
          8.0 (8.0)
          tcl_platform(byteOrder) = bigEndian
          tcl_platform(machine)   = 9000/715
          tcl_platform(os)        = HP-UX
          tcl_platform(osVersion) = B.10.20
          tcl_platform(platform)  = unix
          DeleteAlias: did not find alias to be deleted
          Abort (core dumped)
      
      I've reproduced this on Solaris, too.
      
      I'm guessing that the namespace is confusing DeleteAlias and perhaps I
      shouldn't do it quite this way but a core dump?!?
      
                                             Chris
      
      
      I receive no error on NT or Solaris7 with 8.2.0, so I assume
      it was fixed sometime in/before 8.2.0. 
      -- 08/14/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.3"
    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:
      conflict betw. namespaces, interp, and DeleteAlias causes co
      
    11. type initialized to: "Bug"
  2. Ticket change [76769bfba5] (rid 105597) by welch on 2000-10-26 08:23:18:

    1. closedate changed to: "2000-10-26T01:23:18"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [cb6559532b] (rid 95508) by dgp on 2001-04-16 22:44:18:

    1. closedate changed to: "2001-04-16T15:44:18"
    2. closer changed to: "dgp"
    3. subsystem changed to: "20. [interp]"