Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b4c4be5e9fa5ffd853dd89b43088d4379b913288
Ticket: 1503729fffffffffffffffffffffffffffffffff
TclpDlopen latent bug now crashes after SunOS linker patch
User & Date: kenstir on 2006-06-13 23:17:42
Changes

  1. icomment:
    Logged In: YES 
    user_id=246646
    
    Sorry; I meant "long-ish time" not "long time".  I didn't
    walk through all the code between the call to dlopen() and
    dlerror() but it calls Tcl_DStringFree, Tcl_GetString, and
    Tcl_AppendResult, which themselves may call other functions
    and I am not familiar with their internals.  I know they
    don't call dl* routines in my crashing scenario because I
    traced it.
    
    This is a compiler bug.  Pulling dlerror() out into a local
    variable fixes the crash.  The crash happens with Forte 6
    and not with Forte 6 Update 2 or with Studio 11.
    
    
    
  2. login: "kenstir"
  3. mimetype: "text/plain"
  4. username: "kenstir"