Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-11-18
00:58 • Closed ticket [991275ffff]: stack related crash on Windows plus 7 other chan... artifact: 5d80c16f52 user: hobbs
2004-08-04
16:53 • Ticket [991275ffff]: 2 changes artifact: 6e4740521d user: dkf
2004-07-15
00:49 • New ticket [991275ffff]. artifact: 8e4915dd60 user: mistachkin

stack related crash on Windows

Closed / Out of Date991275ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-07-15 00:49:24
proc test { a } { regsub -all -- {^(.*)$} $a {abc\0def}
result; return [test $result] }; test "this is cool."

The above script can successfully crash TDK 3.1 (Tcl
8.4.6) on Windows.

I believe that the stack checking threshold on Windows
may need to be adjusted to compensate for the regexp
engine's extensive use of the stack.
dkf Ticket [991275ffff]: 2 changes [History diff]2004-08-04 16:53:40
hobbsplain2004-11-18 00:58:45
Logged In: YES 
user_id=72656

This does not crash 8.4.8-RC, so someone must have updated
the threshhold.
Log in (anonymous is fine) to add a comment.