Shane Lowry let his frustrations get the better of him and snapped his club after a run of bogeys during his second round in San Francisco.