Two dozen people were left stranded for several hours on a roller coaster in Maryland.


A malfunction caused the computer safety system to kick in and halt the ride, leaving 24 people stuck nearly 75 feet in the air.


The ride stopped shortly before 2.30pm local time yesterday on the Joker ’s Jinx roller coaster ride at the Six Flags amusement park in Upper Marlboro, Maryland.


With the temperature reaching 84F (29C) rescuers handed our umbrellas to the stranded riders to protect them from the sun.


Rescue workers also delivered food and water in an attempt to end the ordeal for the riders were stuck near the top of the roller coaster.


This was the third occasion since the beginning of July that there have been problems with a ride at one of the 16 amusement parks run by Six Flags in the US, The Telegraph reported.


“While we are not yet sure what caused the stoppage, the ride performed as it is designed to,” the Six Flags said in a statement.


“The ride will remain closed until the park completes a thorough investigation and both the staff and ride manufacturer have determined the ride is safe for operation.”


Earlier this month power on the Nitro roller coaster ride at a Six Flags amusement park in Jackson, New Jersey failed, leaving passengers to make their way back to the ground by foot.


Four people on the Ninja roller coaster ride at a Six Flags park in Los Angeles were hurt in July after one of the cars was derailed by a falling branch.


The International Association of Amusement Parks and Attractions said latest figures show that the chances of being hurt at a fixed site amusement park in the US were one in 24 million.