Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: becf38d74b90ac74c5c54fedea61003f5cbf45e8
Ticket: 1712723fffffffffffffffffffffffffffffffff
joinable threads die on Solaris 64-bit
User & Date: hobbs on 2007-05-30 06:04:16
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    Originator: NO
    
    If I change that section to actually use:
    
    #ifdef TCL_THREADS
        int result;
        unsigned long retcode;
    
        result = pthread_join((pthread_t) threadId, (void**) &retcode);
        *state = (int) retcode;
        return (result == 0) ? TCL_OK : TCL_ERROR;
    #else
    
    then the test cases work.  However, then I get the following failure:
    
    ==== thread-17.9 thread::transfer - pipe - closable? FAILED
    ....
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: child killed: segmentation violation
        while executing
    "close  $pipe"
        invoked from within
    "lappend res [close  $pipe]"
        ("uplevel" body line 17)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: CHILDKILLED 14675 SIGSEGV {segmentation violation}
    ==== thread-17.9 FAILED
    
    and this I get repeatedly.  Any thoughts??
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"