Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-08-07
07:34 • Closed ticket [219335ffff]: Core dump in make test plus 7 other changes artifact: 1c639f5994 user: hobbs
2001-04-03
06:03 • Ticket [219335ffff]: 1 change artifact: ab668fd006 user: dgp
2001-01-31
18:11 • Ticket [219335ffff]: 4 changes artifact: 82606f2bcb user: dkf
18:08 • Ticket [219335ffff]: 4 changes artifact: 94d81ac8af user: dkf
2001-01-27
21:49 • Ticket [219335ffff]: 1 change artifact: 94766309bd user: dkf
2000-11-21
01:19 • Ticket [219335ffff]: 4 changes artifact: 2347ad23c0 user: hobbs
2000-11-15
21:47 • Ticket [219335ffff]: 5 changes artifact: 82c2f14eb5 user: dkf
2000-10-26
05:10 • New ticket [219335ffff]. artifact: c2de663030 user: nobody

Core dump in make test

Closed / Fixed219335ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:10:54
OriginalBugID: 5099 Bug
Version: 8.3
SubmitDate: '2000-04-17'
LastModified: '2000-10-25'
Severity: CRIT
Status: UnAssn
Submitter: techsupp
OS: Digital Unix
OSVersion: Digital Unix 4.0E
Machine: AlphaStation 500
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
Dr.James Reus

Extensions:
none

CustomShell:
none

ReproducibleScript:
# make test
   :
pwd.test
reg.test
!!! bypassed 3 tests in reg-9, `reg brackets'
!!! bypassed 22 tests in reg-22, `reg multicharacter collating elements'
!!! bypassed 1 tests in reg-29, `reg incomplete matches'
regexp.test
registry.test
   :
plit.test
stack.test
Stack overflow: pid 21180, proc tcltest, addr 0x11fdffb18, pc 0x12005f460
sh: 21180 Memory fault - core dumped
*** Exit 139
Stop.

ObservedBehavior:
core dump

DesiredBehavior:
completionn of all tests
dkfplain2000-11-15 21:47:16
Yuck.  Why on earth is Tcl running out of stack space?  This should not happen!  (Are you running with a particularly small stack size ulimit set?)
hobbsplain2000-11-21 01:19:34
This is a known problem when the stacksize limit is small.  The stack.test for 8.4a2 has been improved to work around this, but we still need a generic stack space checker in Tcl.  Alternatively (or additionally), we need to allow for setting the recursion limit from Tcl (using the C Tcl_SetRecursionLimit API), because that's what blows the stack.  Each recursion level takes a bit of stack.  Again alternatively, we can work on using less stack.  However, that makes things more expensive in general because it causes more usage of runtime heap allocation.
dkf Ticket [219335ffff]: 1 change [History diff]2001-01-27 21:49:16
dkfplain2001-01-31 18:08:40
See also bug#119353
dkfplain2001-01-31 18:11:29
Forget that!  It was a completely erroneous comment.  Sometimes I feel so dumb...
dgp Ticket [219335ffff]: 1 change [History diff]2001-04-03 06:03:48
hobbsplain2001-08-07 07:34:51
Logged In: YES 
user_id=72656

The tests have been changed to be more aware of small stack 
sizes with threaded builds.
Log in (anonymous is fine) to add a comment.