Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9e52395095e981c90abf23e7cd92164964f2dfe4
Ticket: 943274ffffffffffffffffffffffffffffffffff
Tcl 8.4.5 with Expect 5.39 hangs waiting for data matching p
User & Date: andreas_kupries on 2004-05-11 03:15:20
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Michael, I use the following script to generate a large file:
    
    for {set i 0} {$i < 4096} {incr i} {
        puts "[format %04d $i] | 0123456789 0123456789
    0123456789 0123456789 0123456789 0123456789 0123456789
    0123456789 0123456789 012"
    }
    
    
    4096 lines, each 110 characters long. The first 4 characters
    are a line counter.
    
    The interesting thing was that at least for linux the hang
    happened in the middle of line 4084. Near the end, but
    nowhere near the prompt. It should not block at that point,
    more data _is_ coming in as I see it. Can you check where
    you are hanging  with this file ?
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"