10.21.2 Bugs Fixed
     
- 
Stream positions for writemode incompatible with those forreadmode.
- The format specs `~Nd', `~ND', `~Nr',
and `~NR' don't work if the argument is a large integer. 
- 
profile_data/4could fail unexpectedly on large clauses.
- 
Backtracking into interpreted code could cause crash later. 
- 
CLPFD: cumulatives/3could crash,all_distinct/[1,2]could misbehave,serialized/[2,3]andcumulative/[4,5]were treated incorrectly by the FDBG debugger.
- 
Tcl/Tk: library(tcltk)now callsTcl_Finalizeexplicitly when the tcltk foreign resource is unloaded. This prevents a
hang on Windows when SICStus exits.
- 
The find this (.) debugger command now correctly displays
the defining file also for imported predicates. 
- source_file/2now finds the defining file also for imported
predicates.
- 
Loading malformed clauses could cause crash. 
- 
halt/0could loop infinitely.
- 
Inconsistent state upon memory resource error could cause crash. 
- Error reporting may crash with a memory access error on
non-English Windows systems. One way this can happen is
when trying to connect to a non-listening socket.