Skip to content
Tcl Source Code History Of Ticket 705917ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 705917ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 705917ffffffffffffffffffffffffffffffffff

  1. Ticket change [f9399200b0] (rid 91672) by mic42 on 2003-03-18 22:46:07:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The threaded build from todays HEAD (18. March 2003)
      crashes in stack.test on SuSE 8.0 (x86).
      
      It doesn't crash on Redhat 7.3, according to migul sofer.
      No crash on windows 2000 either.
      
      This happens for both static and shared builds of tcl.
      
      The crash happens in the first test stack 1.1 in
      stack.test, the stack trace isn't nice (over 800
      entries long, i didn't scroll to the end).
      
      
      
    4. foundin initialized to: "obsolete: 8.5a0"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mic42"
    9. subsystem initialized to: "47. Bytecode Compiler"
    10. title initialized to:
      segfault in stack.test with threaded build on SuSE 8.0
      
    11. type initialized to: "Bug"
  2. Ticket change [b552a4ef1f] (rid 125224) by msofer on 2003-03-29 05:45:57:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      The stack.test failure mode is supposed to be a crash, and
      the stack trace will indeed be very deep: we are testing the
      max nest size there.
      
      Michael: what stack size do you see with 'ulimit'? Could you
      run the following script (WARNING: it will run for a while,
      fill your terminal with numbers and finally crash) and
      report the last number it outputs?
      
          proc recurse i {puts $i; recurse [incr i]}
          recurse 1
      
      Can anybody else confirm the bug on SuSE 8.0?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [99b609fd17] (rid 110838) by nobody on 2003-03-29 06:21:51:

    1. icomment:
      Logged In: NO 
      
      
      bug confirmed with Tcl 8.4.2 on FreeBSD 4.8-RC.
      
      i get the error "Bus error (core dumped)" from "proc 
      recurse i {puts $i; recurse [incr i]}; recurse 1" at only 518 
      times.
      
      JJM
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  4. Ticket change [3a9a87929b] (rid 112585) by nobody on 2003-03-29 06:33:18:

    1. icomment:
      Logged In: NO 
      
      (let's try this again, the SF interface is not working right)
      
      bug confirmed with Tcl 8.4.2 on FreeBSD 4.8-RC.
      
      i get the error "Bus error (core dumped)" from "proc 
      recurse i {puts $i; recurse [incr i]}; recurse 1" at 518 
      deep.
      
      JJM
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  5. Ticket change [bb8d048190] (rid 129505) by msofer on 2003-03-29 23:16:07:

    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"
  6. Ticket change [f2be657b8b] (rid 109605) by nobody on 2003-03-30 02:04:50:

    1. icomment:
      Logged In: NO 
      
      Michael Schlenker:
      
      Miguel i tested your [recurse] script, it segfaulted at 966.
      "ulimit -s" returns "unlimited"
      
      The crash does not happen with the nonthreaded build.
      
      I could not reproduce the crash under Win2k last time i tested, will check again tomorrow.
      
      Testing with older versions.
      
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  7. Ticket change [c63c121124] (rid 121733) by nobody on 2003-03-30 02:14:51:

    1. icomment:
      Logged In: NO 
      
      Michael tested:
      
      tcl 8.4.1 crashes on the same SuSE Machine at 966 with the recurse script (threaded).
      
       
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  8. Ticket change [9149210764] (rid 120595) by dkf on 2003-03-31 16:37:48:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Hmm.  Do tests run in a separate thread in the threaded
      build?  If so, we'll be hitting a separate limit (the
      default(?) stack size for a thread, as opposed to the main
      system stack size which is controlled by 'ulimit -s' IIRC.)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  9. Ticket change [e747310034] (rid 104428) by nobody on 2003-04-03 04:05:16:

    1. icomment:
      Logged In: NO 
      
      > a) what happens in a non-threaded build?
      
      the non-threaded build appears to work.
      
      > (b) what is the output of 'ulimit -s'
      
      65536
      
      JJM
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  10. Ticket change [b950ec8fde] (rid 129118) by ms1234 on 2003-05-29 18:35:40:

    1. icomment:
      Logged In: YES 
      user_id=779257
      
      happens in 8.4.3 with freebsd 4.8:
      > # make test TESTFLAGS="-file stack.test"
      LD_LIBRARY_PATH=`pwd`:;
      > export LD_LIBRARY_PATH; 
      TCL_LIBRARY="/root/build/tcl8.4.3/library";
      > export TCL_LIBRARY;  ./tcltest ./../tests/all.tcl -file
      stack.test
      > Tests running in interp:  /root/build/tcl8.4.3/unix/tcltest
      > Tests located in:  /root/build/tcl8.4.3/tests
      > Tests running in:  /root/build/tcl8.4.3/unix
      > Temporary files stored in /root/build/tcl8.4.3/unix
      > Test files run in separate interpreters
      > Running tests that match:  *
      > Skipping test files that match:  l.*.test
      > Only running test files that match:  stack.test
      > Tests began at Wed May 28 21:38:55 EDT 2003
      > stack.test
      > Test file error: child killed: bus error
      > Tests ended at Wed May 28 21:38:55 EDT 2003
      > all.tcl:        Total   0       Passed  0       Skipped 0
            Failed  0
      > Sourced 1 Test Files.
      > Test files exiting with errors:    stack.test
      
      
    2. login: "ms1234"
    3. mimetype: "text/plain"
    4. username: "ms1234"
  11. Ticket change [0af550758a] (rid 113910) by msofer on 2004-03-27 04:31:43:

    1. closedate changed to: "2004-03-26T21:31:43"
    2. closer changed to: "msofer"
    3. resolution changed to: "Works For Me"
    4. status changed to: "Closed"