|
2008-03-20
| ||
| 02:18 | • Closed ticket [1919975fff]: reg.test test case failure plus 8 other changes artifact: df28d77726 user: dgp | |
|
2008-03-19
| ||
| 18:21 | • New ticket [1919975fff]. artifact: c4f88e3607 user: lvirden | |
reg.test test case failure
Closed / Duplicate1919975fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-03-19 18:21:18
I have built the tcl 8.5.2 release candidate on SPARC Solaris 8, using Sun's C compiler and using options \"'--prefix=/projects/sprs_lwv/tcl85' '--enable-shared' '--enable-symbols' '--enable-stubs' '--enable-64bit' '--prefix=/vol/tclsrcsol/tcl852' 'CC=cc'\"
The test suite crashes during one test:
++++ reg-33.12 PASSED
++++ reg-33.13 PASSED
Test file error: child killed: segmentation violation
Tests ended at Wed Mar 19 14:15:48 EDT 2008
all.tcl: Total 0 Passed 0 Skipped 0 Failed 0
Sourced 1 Test Files.
Test files exiting with errors:
$ dbx ./tcltest core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.0' in your .dbxrc
Reading tcltest
dbx: warning: NT_GWINDOWS section found. Possible stack overflow condition
core file header read successfully
Reading ld.so.1
Reading libtcl8.5.so
Reading libdl.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libm.so.1
Reading libc.so.1
Reading libmp.so.2
Reading libc_psr.so.1
program terminated by signal SEGV (no mapping at the fault address)
Current function is TclpAlloc
706 return (char*) malloc(numBytes);
dbx: core file read error: address 0xffffffff7f7fffa0 not in data space
(dbx 1) where
=>[1] TclpAlloc(numBytes = 648U), line 706 in "tclAlloc.c"
[2] newstate(nfa = 0x1001cd730), line 188 in "regc_nfa.c"
[3] duptraverse(nfa = 0x1001cd730, s = 0x10040d030, stmp = (nil)), line 751 in "regc_nfa.c"
[4] duptraverse(nfa = 0x1001cd730, s = 0x10040cd90, stmp = (nil)), line 758 in "regc_nfa.c"
[5] duptraverse(nfa = 0x1001cd730, s = 0x10040caf0, stmp = (nil)), line 758 in "regc_nfa.c"
(and that last line appears to be repeated for a large number of values of s.
Just to confirm:
$ ./tcltest
% regexp {(x{200}){200}$y} {x}
Segmentation Fault(coredump)
reg.test
dgpplain2008-03-20 02:18:05
Logged In: YES user_id=80530 Originator: NO Dup 1905562
Log in (anonymous is fine) to add a comment.