I am having a problem with a g-code program and it's driving me bonkers.

You run a graphic simulation, and the program runs through with no errors, everything looks fine. You run the program, the machine gets to line 440 and stops (just before it Z ups). No error messages, no warnings, nothing, just stops moving. What's really weird is that it does 2 pockets before this one that are basically the same and it runs through those fine.

Line 330 is basically the same thing, and runs through with no issues.

Code is below. I truncated it just for brevity.

Any ideas?

%
O1000


N100 G20
N110 G0 G17 G40 G49 G80 G90
( ROUGH AND FINISH THE POCKETS )
N120 T1 M6
N130 G0 G90 G56 X.6177 Y-.7875 A0. S8000 M3
N140 G43 H1 Z2.
N150 Z.1
N160 G1 Z-1.1436 F32.5
N170 G41 D1 Y-.3125
N180 G3 X.6172 Y-.312 I-.0005 J0.
N190 X.6167 Y-.3125 I0. J-.0005
N200 G1 Y-.7875
N210 G3 X.6172 Y-.788 I.0005 J0.
N220 G40 X.6177 Y-.7875 I0. J.0005
N230 G0 Z.8564
N240 Z2.
N250 X1.2603
N260 Z.1
N270 G1 Z-.8786
N280 G41 D1 Y-.3125
N290 G3 X1.2598 Y-.312 I-.0005 J0.
N300 X1.2593 Y-.3125 I0. J-.0005
N310 G1 Y-.7875
N320 G3 X1.2598 Y-.788 I.0005 J0.
N330 G40 X1.2603 Y-.7875 I0. J.0005
N340 G0 Z1.1214
N350 Z2.
N360 X1.9235
N370 Z.1
N380 G1 Z-.6704
N390 G41 D1 Y-.3125
N400 G3 X1.923 Y-.312 I-.0005 J0.
N410 X1.9225 Y-.3125 I0. J-.0005
N420 G1 Y-.7875
N430 G3 X1.923 Y-.788 I.0005 J0.
N440 G40 X1.9235 Y-.7875 I0. J.0005
N450 G0 Z1.3296
N460 Z2.
N470 X2.6022
N480 Z.1
N490 G1 Z-.5206
N500 G41 D1 Y-.3125
N510 G3 X2.6017 Y-.312 I-.0005 J0.
N520 X2.6012 Y-.3125 I0. J-.0005
N530 G1 Y-.7875
N540 G3 X2.6017 Y-.788 I.0005 J0.
N550 G40 X2.6022 Y-.7875 I0. J.0005
N560 G0 Z1.4794
N570 Z2.