Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f5d7b99f5dc54e9d8d05c7fa852ecf3e6f8dce1e
Ticket: 462317ffffffffffffffffffffffffffffffffff
Notification when there's no data
User & Date: kogorman on 2001-09-19 08:35:43
Changes

  1. icomment:
    Logged In: YES 
    user_id=326095
    
    "Dies horribly" was perhaps an overstatement.
    It freezes.  It does not exactly crash.
    
    You could perhaps duplicate this with a simpler
    script and simpler client.  If you want to just make
    simple clients, they could be this simple:
    
    call it 'sqlplus', put it in your path
    1) produce the SQL> prompt (I think there's
       a space aftger the >
    2) take an interactive command
    3) echo the command (if that's not automatic)
    4) wait a while, up to 15 minutes or so.
    5) produce a header line, then a line with
        all hyphens (-).
    6) produce a lot of output, with NO blank lines.
    7) produce a blank line
    8) produce some more stuff, more free-format
        perhaps 100 lines
    9) go back to 1
    
    To provoke the error, you may need 2 or 3 clients
    producing a LOT of output at once.  This has
    always seemed to be going on when the error
    happened.  That is, make them take step 5
    simultaneously, then fill the pipeline for a while,
    perhaps 20,000 bytes.
    
    Finally, I was under the impression the select
    lists were built inside tcl.  That's what's confusing
    to me about this.  If tcl is doing the select() calls,
    I supposed it would be using them to protect from
    blocking reads.  That's the behavior Expect is
    relying on.
    
    
  2. login: "kogorman"
  3. mimetype: "text/plain"
  4. username: "kogorman"