Tcl Source Code

View Ticket
Login
Ticket UUID: 219002
Title: make test - stack overflow
Type: Bug Created on: 2000-10-26 01:09:11
Submitter: nobody Assigned to: nobody
Subsystem: 49. Threading Severity:
Priority: 2 Last modified: 2000-10-26 08:33:08
Status: Closed Closed by: welch
Resolution: Fixed Closed on: 2000-10-26 01:33:08
Version: obsolete: 8.2
Description:
OriginalBugID: 3797 Bug
Version: 8.2
SubmitDate: '1999-12-07'
LastModified: '2000-01-11'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Digital Unix
OSVersion: Digital
Machine: OSF1 eos V4.0  1091 alpha
FixedDate: '2000-01-11'
FixedInVersion: 8.3b2
ClosedDate: '2000-10-25'


Name:
jingoolee

Extensions:
OraTcl

ReproducibleScript:
./configure
make
make test

ObservedBehavior:
stack.test
    Stack overflow: pid 9222, proc tcltest, addr 0x11fdffee8, pc 0x12004cfec
    sh: 9222 Memory fault - core dumped
    *** Exit 139
    Stop.



This is likely due to enabling threads, which the user fails
to mention.  There are known problems with systems that have
stingy stack allocation with threads that we need to improve on. 
-- 12/07/1999 hobbs
A slight modification was made for setting the stack size, so that
the user can set the value from the makefile.  However, the user must
set TCL_THREAD_STACK_MIN to something to get the stack setting
behavior (it leaves it to the defaults otherwise).

See tclUnixThrd.c in 8.3b2 for more.  This may be better parametrized
in the future (runtime option?).  
-- 01/11/2000 hobbs