Access violation or system hang using SASTRACE option on 64-bit Windows


Using the SASTRACE option on 64-bit windows and executing a DATA step or PROC may cause the SAS session to hang or return an access violation. The following code will cause this problem:

 options SASTRACE=',,,d' sastraceloc=saslog;
  proc print data=x.mytable;
  run;

As a workaround, use the additional option, nostsuffix. This will resolve the above issue as well as produce a SAS log that is easier to read. For example:

  options SASTRACE=',,,d' sastraceloc=saslog nostsuffix;