Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9e5c67e23c3719c90afb4b7839c83d96a9e7a99c
Ticket: 2511408fffffffffffffffffffffffffffffffff
mutex test errors
User & Date: dgp on 2009-01-15 21:20:32
Changes

  1. assignee changed to: "vasiljevic"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Four tests raising errors in the HEAD
    of the Thread package:
    
    ==== thread-19.10 thread::mutex - destroy locked exclusive mutex FAILED
    ==== Contents of test case:
    
        set emutex [thread::mutex create]
        thread::mutex lock $emutex
        set x [catch {thread::mutex destroy $emutex} msg]
        thread::mutex unlock $emutex
        thread::mutex destroy $emutex
        list $x $msg
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: no such mutex "mid6"
        while executing
    "thread::mutex unlock $emutex"
        ("uplevel" body line 5)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== thread-19.10 FAILED
    
    
    
    ==== thread-19.11 thread::mutex - destroy locked recursive mutex FAILED
    ==== Contents of test case:
    
        set rmutex [thread::mutex create -recursive]
        thread::mutex lock $rmutex
        set x [catch {thread::mutex destroy $rmutex} msg]
        thread::mutex unlock $rmutex
        thread::mutex destroy $rmutex
        list $x $msg
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: no such mutex "rid7"
        while executing
    "thread::mutex unlock $rmutex"
        ("uplevel" body line 5)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== thread-19.11 FAILED
    
    
    
    ==== thread-20.6 thread::mutex - destroy readlocked mutex FAILED
    ==== Contents of test case:
    
        set rwmutex [thread::rwmutex create]
        thread::rwmutex rlock $rwmutex
        set x [catch {thread::rwmutex destroy $rwmutex} msg]
        thread::rwmutex unlock $rwmutex
        thread::rwmutex destroy $rwmutex
        list $x $msg
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: no such mutex "wid10"
        while executing
    "thread::rwmutex unlock $rwmutex"
        ("uplevel" body line 5)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== thread-20.6 FAILED
    
    
    
    ==== thread-20.7 thread::mutex - destroy writelocked mutex FAILED
    ==== Contents of test case:
    
        set rwmutex [thread::rwmutex create]
        thread::rwmutex wlock $rwmutex
        set x [catch {thread::rwmutex destroy $rwmutex} msg]
        thread::rwmutex unlock $rwmutex
        thread::rwmutex destroy $rwmutex
        list $x $msg
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: no such mutex "wid11"
        while executing
    "thread::rwmutex unlock $rwmutex"
        ("uplevel" body line 5)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== thread-20.7 FAILED
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "80. Thread Package"
  11. title changed to: "mutex test errors"
  12. type changed to: "Bug"