Updated

The Phoenix lander stopped digging soil near Mars' north pole Wednesday as engineers on Earth worked to fix a glitch that caused the loss of some photos and science data.

The problem was discovered late Tuesday after the spacecraft dug a trench inside a polygon-shaped surface feature that was likely caused by seasonal expansion and shrinking of ice.

The lander beamed back pictures of the trench, but an overload of data prevented it from saving images of the landscape and atmosphere in its flash memory.

Scientists said the lost data wasn't crucial.

"It's unfortunate to lose any bit of science," said mission scientist Ray Arvidson of Washington University in St. Louis. "But it's not really critical stuff that you kick yourself over."

• Click here to view photos.

• Click here to visit FOXNews.com's Space Center.

Engineers noticed Phoenix's strange behavior when it sent a piece of engineering data 45,000 times like a broken record.

Normally, the lander would store the day's work in its flash memory, but the repeated data caused it to power down for the night without saving everything.

"We're rather annoyed," said project manager Barry Goldstein of NASA's Jet Propulsion Laboratory, which manages the $420 million mission.

But he said it wasn't debilitating. Engineers overcame the bug, but its cause remained unknown. Wednesday's digging was delayed to not stress Phoenix's memory.

It's the third delay since Phoenix landed in the Martian arctic on May 25 for a three-month mission.

The previous work stoppages were caused by relay problems with the two orbiting Mars probes through which Phoenix communicates with Earth.

Before the glitch, Phoenix dug a footlong trench less than an inch deep, but didn't find any of the white material present in deeper trenches.

Scientists think Phoenix will reach the white material — possibly ice or salt — as it digs deeper Thursday.

Instead of having the lander store the data overnight, scientists planned to command it to send the information to Earth immediately through the two orbiters.