1.) Failure to maintain the rule of law
The government's repeated failures to bring levels of violent crime under control contributed to an environment which saw people resort to violence without fear of arrest or successful prosecution. In failing to maintain the rule of law the state had conditioned many poor communities to violent behaviour. The failure to protect communities from criminal elements and to remove those elements had allowed criminals to take full advantage of chaos and disorder to rob, rape, and loot during the violent uprisings.
Incompetence in the ministry of safety and security, falling standards in the South African Police Service, corruption up to the highest levels of the police, and affirmative action had eroded the capacity of the police to provide a safe and secure environment in South Africa. This was further exacerbated by the poor performance of the prosecution service in securing convictions for offenders and the failure of the department of correctional services to rehabilitate offenders. South Africa was faced with an effective breakdown of the organs responsible for maintaining law and order.
Warnings to this effect from a variety of sources had been largely ignored or treated with arrogance and contempt from the office of the minister of safety and security downwards. That not a single minister or deputy minister responsible for law and order, justice, or prisons was dismissed over close on ten years of Thabo Mbeki's presidency suggests that the government was either unable to identify the risks presented by lawlessness or had resigned itself to the consequences.
Regardless of which of the two options is correct the failure of the state to maintain law and order is the first direct contributing factor to the violence.
2.) Border control
The collapse of proper border control mechanisms saw literally millions of people gaining entry to South Africa illegally. The responsibility for this law