Spanish authorities said they were probing what they called a possible “terrorist” incident after a knife-wielding…