Again, because it doesn't seem to be your case, the only few suggestions I can point are (your pics don't allow me to be totally sure):
1) I already saw this happening when the cars in the consist are not perfectly coupled each other, they are placed in Editor a bit inside/within each other (sorry, I don't know the words in English to explain it better), the couplers are overlapping a bit each other, and it sometimes is not easyly visible.
2) rarely happens, but when consist is placed over a automatic switch you may have a junction against in the middle of consist, which causes the derailment as soons as you couple to any end of consist.
The last but one suggestion is try BritKits couplers (at least they work perfectly and very nice in very long consists), but I guess it replaces only default buck-eye couplers.
The last one, of course, is report the problem to the add-on creators...

BTW you started talking about the GP38-2, and your last pic has another loco, which indicates the problem is not with engines...
Who doesn't have dog, hunts with cat.