Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 510d492c2ff8c7af835a189545a98a05e95fe93e
Ticket: 218338ffffffffffffffffffffffffffffffffff
Tcl core dumps if Tcl API called before creating interpreter
User & Date: nobody on 2000-10-26 00:56:24
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3981 Bug
    Version: 8.2.1
    SubmitDate: '2000-01-06'
    LastModified: '2000-01-07'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: SunOS
    FixedDate: '2000-10-25'
    ClosedDate: '2000-01-07'
    
    
    Name:
    Michal Prussak
    
    Comments:
    This probably happens on any Tcl API call that deals with strings if the string subsystem has not been initialized. 
    Workaround is to call     TclInitSubsystems(NULL);
    
    ReproducibleScript:
    main ()
    {
        /* declarations */
        ....
    
        consoleChannel = Tcl_CreateChannel(&consoleChannelType, "console0",
        (ClientData) TCL_STDIN, TCL_READABLE);
        interp = Tcl_CreateInterp();
    }
    
    ObservedBehavior:
    Core dump
    
    DesiredBehavior:
    No core dump
    
    
    
    I belive what the user really wants to call is the public:
        Tcl_FindExecutable(argv[0]) 
    -- 01/07/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.2.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    Tcl core dumps if Tcl API called before creating interpreter
    
  11. type changed to: "Bug"