TRIP,
a short Voyage or Journey; also an Error of the Tongue, or Pen; a Stumble, a false Step, a Miscarriage. Also a Bastard.
The Vulgar Tongue originally collected by Grose, 1811.
Also see examples in Canting Songs and Slang Rhymes collected by John S. Farmer (1896).