In Iran , a gunman on a motorcycle has shot dead a judge trying the high-profile case of jailed Iranian journalist Akbar Ganji .