Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6822142ca1d847c441393728cefa9793e8210d97
Ticket: 1063988fffffffffffffffffffffffffffffffff
tcl crash on sun using threads
User & Date: vasiljevic on 2004-11-11 18:38:00
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    
    Well after looking at others, it seems to me that there 
    is a gross memory corruption underway. It is not always 
    possible to pinpoint this on a specific Tcl command since 
    the problem may be just deferred and happen ages after 
    the actual cause. I think, out of the experience, that some 
    extension is wrongly handling Tcl objects or otherwise  
    corrupting the memory. The fact that this exposed itself 
    on Sol2.6 might just be a pure coincidence.  
     
    There is not much you can do about that. You might want 
    to use Purify (costs money but it's worth it) and try to get 
    a better picture about what's really happening under the 
    hood. If this is possible, I might give you some tips how to 
    do this right, otherwise you wont be happy. 
    If not, you might try some open-source stuff (valgrind) 
    if they are available on solaris (dunno). We use Purify  
    for such things. 
     
    Speaking about 2.5.2 and Tcl 8.4.7 they are pretty stable 
    in this respect. So the problem might just be in some  
    Tcl extensions you're using, which is not MT-safe or simply 
    buggy in memory handling. 
     
    I do not want to discourage you, but you should prepare 
    for a long journey...  
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. username: "vasiljevic"