Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 99146b462f70488eccac3e8e5bb0964b80756b80
Ticket: 3545365fffffffffffffffffffffffffffffffff
Crash in io-29.33b (no implicit flush of nonblocking on exit
User & Date: twylite on 2012-07-18 11:52:19
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi,
    
    io-29.33b crashes on a trunk build from 2012/07/18 using MSVC10, 32-bit tclsh running on Windows 7 64-bit.
    
    Details:
    
    Build setup (32-bit): 'Setting environment for using Microsoft Visual Studio 2010 x86 tools'
    Testing platform: Windows 7 (64-bit), PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
    
    C:\User\Tcl_BUILD\cmake-2012\tcl-trunk>fossil pull
    Server:    http://core.tcl.tk/tcl
    
    C:\User\Tcl_BUILD\cmake-2012\tcl-trunk>fossil update
    updated-to:   f0f8f508748b68a589768e9e7df3beea28279df9 2012-07-17 13:08:18 UTC
    tags:         trunk
    
    Build commands:
      set BUILDENV=VC10
      set VER=86b3
      set INSTALLDIR=%CD%\Release_%VER%_%BUILDENV%
      set OPTS=threads
      set TCLSH=%INSTALLDIR%\bin\tclsh86t.exe
      mkdir %INSTALLDIR%
      pushd win
      nmake /f makefile.vc release tcltest OPTS=%OPTS% CFG_ENCODING=\\\"utf-8\\\" INSTALLDIR=%INSTALLDIR%
      nmake /f makefile.vc install OPTS=%OPTS% CFG_ENCODING=\\\"utf-8\\\" INSTALLDIR=%INSTALLDIR%
      nmake /f makefile.vc test
    
    FAILURE #1: io-29.33b crashes (probably unrelated)
    C:/User/Tcl_BUILD/cmake-2012/tcl-trunk/tests/io.test:2746: error: test failed: i
    o-29.33b TIP#398, no implicit flush of nonblocking on exit
    ==== io-29.33b TIP#398, no implicit flush of nonblocking on exit FAILED
    ==== Contents of test case:
    
        set f [open $path(script) w]
        puts $f {
                    fconfigure stdout -blocking 0
                    puts -nonewline stdout [string repeat A 655360]
                    flush stdout
            }
        close $f
        set f [open $path(script2) w]
        puts $f {after 2000}
        close $f
            set t1 [clock milliseconds]
            set ff [open "|[list [interpreter] $path(script2)]" w]
            catch {unset ::env(TCL_FLUSH_NONBLOCKING_ON_EXIT)}
            exec [interpreter] $path(script) >@ $ff
            set t2 [clock milliseconds]
            close $ff
            expr {($t2-$t1)/2000 ? $t2-$t1 : 0}
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: child killed: segmentation violation
        while executing
    "exec [interpreter] $path(script) >@ $ff"
        ("uplevel" body line 15)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: CHILDKILLED 9996 SIGSEGV {segmentation violation}
    ==== io-29.33b FAILED
    
    
    
  4. foundin changed to: "obsolete: 8.6b3"
  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: "twylite"
  10. subsystem changed to: "24. Channel Commands"
  11. title changed to:
    Crash in io-29.33b (no implicit flush of nonblocking on exit
    
  12. type changed to: "Bug"