NEW DELHI (AP) — A truck carrying explosives detonated at a stone-crushing unit in southern India, leaving at least five people dead, police said Friday.

The cause of the explosion on Thursday night is being investigated, said district administrator Shiv Kumar.

The Press Trust of India news agency put the death toll at six near Shivamogga, 300 kilometers (250 miles) southeast of Bengaluru, the capital of Karnataka state.

Two people, including a contractor at the stone-crushing unit, were detained for questioning, PTI said.

The blast shattered windowpanes and left cracks in several homes, sending people fleeing in panic.

Kumar said police were investigating whether those killed were in the truck that blew up or workers at the stone-crushing unit.

Prime Minister Narendra Modi in a tweet said he was pained by the loss of life in Shivamogga.

The state government is providing all possible assistance to those affected, he said.