Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5d9577a65980abe1a9b193a10b1c71a8502064fe
Ticket: 218218ffffffffffffffffffffffffffffffffff
libtcl.so crashes but libtcl.a works(linux)!! Narrowed down
User & Date: nobody on 2000-10-26 00:54:38
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2569 Bug
    Version: 8.1.1
    SubmitDate: '1999-08-18'
    LastModified: '1999-11-10'
    Severity: CRIT
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Linux-Red Hat
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-11-10'
    
    
    Name:
    General Sisyphus
    
    ObservedBehavior:
    I had tcl8.0 installed on linux2.2.9.  The installation  only has
        libtcl.so (no libtcl.a) and my simplest tcl program was crashing!!
        (program is where I use tclAppInit.c to 
        just add my own commands and say "hello world"). 
        
        I installed source for tcl8.1.1 and first compiled into a libtcl.so.
        with debug feature on. Still same problem. Gdb shows that it crashed in
        file tclEnv.c at line  99. 
        environ is zero so environ[0] segfaults. environ, as you kow, is set by
        shell before running exec. I then compiled tcl into libtcl.a with debug
        on and ran the same 
        program.  It doesn't crash but environ is still 0 at line 99 in file
        tclEnv.a!!!! 
        
        Any ideas? 
        
        Am I totally off track?
    
    
    
    It's possible that this was cross-configured and 'make distclean'
    was not done before the compile on Linux.  This works with shared
    libs for our RedHat system, so it isn't reproducible. 
    -- 11/10/1999 hobbs
    
  4. foundin changed to: "final: 8.1.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:
    libtcl.so crashes but libtcl.a works(linux)!! Narrowed down 
    
  11. type changed to: "Bug"