Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bb8d0481908f12cc1883d5b5d76642ad83090772
Ticket: 705917ffffffffffffffffffffffffffffffffff
segfault in stack.test with threaded build on SuSE 8.0
User & Date: msofer on 2003-03-29 23:16:07
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    From the tcl'ers chat: JJM's build was threaded, patthoyts
    reports instead
    
     OpenBSD Tcl 8.4: at 1000: to many nested calls to Tcl_Eval.
     OpenBSD tcl 8.4.2: at 1000: too many nested evaluations
    (infinite loop?)
     Neither of mine are threaded.
     Ooooo Win2K Tcl 8.4.2 at 863: got the windows unknown
    software exception dialog
    
    Questions:
    (a) for Joe and Michael: what happens in a non-threaded build?
    (b) for Joe and Michael: what is the output of 'ulimit -s'
    (b) for Pat: Was that a threaded build on Win2K?
    (c) for all: does the failure happen also on older releases?
    
    Comments:
    Tcl checks for stack overflow in an indirect manner: it
    counts the nesting depth, and errors-out when it hits its
    maximum (1000 per default, configurable). What we are seeing
    is that the C-stack is exhausted before we hit the 1000
    limit, i.e., that we may have to use a smaller default max
    nesting depth. I'm trying to find out if the stack usage of
    Tcl grew lately ...
    
    On Win2K the matter is probably worse: there is a further
    check by the OS to prevent stack overflow, it is apparently
    not behaving correctly (per Pat's report).
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"