Been having some crashes using Pd 0.49.1 on OSX (Mojave) with multiple monitors. Sometimes a window will jump to the other screen, and on some saved patches Pd will consistently crash when trying to open.

I think I found the issue with the saved patches that cause Pd to crash. It looks like an invalid position is stored in the canvas line in the file.

Crash report:
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: CGRectContainsRect(CGRectMake((CGFloat)INT_MIN, (CGFloat)INT_MIN, (CGFloat)INT_MAX - (CGFloat)INT_MIN, (CGFloat)INT_MAX - (CGFloat)INT_MIN), frame)'

Example problem file:
$ grep canvas fm.pd
#N canvas 613 -1039 733 665 10;

I was able to work around the problem by changing the negative canvas position (-1039) to 0.