Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 755ceafcd601d1260bf11d4be158b02d9afd408f
Ticket: 3364777fffffffffffffffffffffffffffffffff
segfaulting tests
User & Date: dgp on 2011-07-12 16:48:28
Changes

  1. assignee changed to: "rmax"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Starting with the 2011-06-22 commit [8eefe5a06f] 
    a --enable-symbols=all build of Tcl exhibits these
    test failures:
    
    $ make test TESTFLAGS="-file chanio.test"
    ...
    ==== chan-io-28.7 Tcl_CloseEx (half-close) socket FAILED
    ==== Contents of test case:
    
        set ff [openpipe r $echo]
        gets $ff port
        set s [socket 127.0.0.1 $port]
        puts $s Hey
        close $s w
        set timer [after 1000 [namespace code {set ::done Failed}]]
        set acc {}
        fileevent $s readable [namespace code {
            if {[gets $s line]<0} {
                set done Succeeded
            } else {
                lappend acc $line
            }
        }]
        vwait [namespace which -variable done]
        after cancel $timer
        close $s r
        close $ff
        list $done $acc
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: child killed: segmentation violation
        while executing
    "close $ff"
        ("uplevel" body line 19)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: CHILDKILLED 13540 SIGSEGV {segmentation violation}
    ==== chan-io-28.7 FAILED
    
    
    
    ==== chan-io-53.10 Bug 1350564, multi-directional fcopy FAILED
    ==== Contents of test case:
    
        # Now pass data through the server in both directions.
        set ::forever {}
        chan puts $a AB
        vwait ::forever
        chan puts $b BA
        vwait ::forever
        set ::forever
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: error writing "sock8d11700": broken pipe
        while executing
    "chan puts $a AB"
        ("uplevel" body line 4)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: POSIX EPIPE {broken pipe}
    ---- Test cleanup failed:
    child killed: segmentation violation
    ---- errorInfo(cleanup): child killed: segmentation violation
        while executing
    "chan close $pipe"
        ("uplevel" body line 4)
        invoked from within
    "uplevel 1 $cleanup"
    ---- errorCode(cleanup): CHILDKILLED 13618 SIGSEGV {segmentation violation}
    ==== chan-io-53.10 FAILED
    
    
    This is on a 32-bit Centos 5.6 Linux system.
    I believe it has no IPv6 support, but I'll take any
    instructions on how to confirm that definitely.
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "27. Channel Types"
  11. title changed to: "segfaulting tests"
  12. type changed to: "Bug"