Ticket #1407 (assigned defect)
Blanked metadata data-store entry damage (possibly caused during a shell crash)
| Reported by: | garycmartin | Owned by: | martin.langhoff |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | Unspecified by Release Team |
| Component: | sugar-datastore | Version: | Git as of bugdate |
| Severity: | Critical | Keywords: | |
| Cc: | sascha_silbe, erikos | Distribution/OS: | Unspecified |
| Bug Status: | Needinfo |
Description
I've twice seen a case where a single data-store entry is corrupted by having its metadata files zeroed out. This causes the Journal to display it as a MIME data default document icon, with no title, and that randomly cycles through different colour schemes as you move the mouse cursor over it. You can not access it's details view, and it has no palette so you can't erase it via the UI. With a recent (today) build it's also now showing a 0% download grey bar as well.
Finding and looking at the data-store entry in both cases showed the data was valid and intact (one case was a TA project, the other a Labyrinth mind-map). Looking at their metadata files, all were zero bytes, except for the checksum that looked like a valid hash.
I think in both cases Sugar had previously crashed (sugar-jhbuild and either a full Fedora crash or a Xephyr black screen requiring a force quit). But am not 100% sure as I spotted the Journal entries a while later. I think it likely that the specific journal entry was also resumed at the time.
Couple of screens shots attached. Will try to reproduce and get some logs to post if possible.

