It was not immediately clear who was behind the overnight attack, and protesters said they did not know whether the masked gunmen were riot police, special forces or militias. Around 240 anti-government protester have been killed this month.
The concert was cancelled after Spanish police alerted the Netherlands of an unspecified threat. Two men have so far been detained. Authorities say there is no link between Wednesday's incident and the recent deadly attack in Barcelona.