Open attached .blend and run script - Crash Uncomment the line that adds a UV loops layer and run - fine
fixed r57755.