PALO ALTO — South Bay patrons who grew accustomed to fulfilling dual desires of satisfying their sweet tooth and belting out Bruno Mars covers shed a tear Tuesday when Treatbot, an ice cream truck that doubled as a rolling karaoke bar, was totaled in a rollover crash Tuesday near Palo Alto.

The good news is that the driver of the venerable sugar-song mobile was able to walk away from the incident suffering little more than shaken nerves, said Ryan Sebastian, the truck’s proprietor.

“We’re just really relieved that the driver was fine,” Sebastian said.

But Treatbot, after bleeding ice cream and horchata across the lanes of Interstate 280 near Page Mill Road following the 11 a.m. crash, is no more. It had been a successful run for the four-year-old enterprise, which gained a following that would track its movements on social media.

According to accounts from Sebastian and the California Highway Patrol, Treatbot was northbound en route to a routine appearance in Palo Alto when a car cut off its path and forced the driver to swerve, causing a loss of control. The truck veered from the right to left lanes, tipped over and slid on its side about 100 feet then barrel-rolled twice before going up an embankment and coming to rest.

Sebastian said that he and his staff had recently reinforced the brackets that hold the 800-pound freezer in place, so it did not loosen and threaten the driver.

Treatbot was supposed to appear at this weekend’s annual San Jose Taco Festival at Kelley Park. Though the truck is considered a total loss, the company is putting the finishing touches on a second ice cream truck.

Contact Robert Salonga at 408-920-5002. Follow him at Twitter.com/robertsalonga.