An iron ball attached to a long handle, used for driving caulking into seams and (occasionally) in a fight. Hence: 'at loggerheads'.