Menu

#2806 stack related crash on Windows

obsolete: 8.4.6
closed-out-of-date
5
2004-11-17
2004-07-15
No

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.

Discussion

  • Donal K. Fellows

    • labels: --> 44. UTF-8 Strings
    • assigned_to: nobody --> hobbs
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-11-17
    • status: open --> closed-out-of-date
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-11-17

    Logged In: YES
    user_id=72656

    This does not crash 8.4.8-RC, so someone must have updated
    the threshhold.

     
MongoDB Logo MongoDB