Jammed gun foils murder attempt; suspect found hiding on roof of house