Bug 123929 (profile-corrupt)

Prevent and repair profile corruption (tracking bug)

NEW
Unassigned

Status

()

Toolkit
Startup and Profile System
P3
normal
16 years ago
2 months ago

People

(Reporter: Andrew Hagen, Unassigned)

Tracking

(Depends on: 14 bugs, {meta})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
This is a tracking bug for profile corruption. There are various responses to
profile corruption, from the proactive (fixing bugs that allow profile
corruption to occur) to the reactive (fixing existing profile corruption before
it has deleterious effect on the operations of Mozilla).

Please make any changes to this bug that are necessary, including adding to or
subtracting from the dependency list.
(Reporter)

Updated

16 years ago
(Reporter)

Comment 1

16 years ago
Need to add bookmark and history corruption bugs.
(Reporter)

Updated

16 years ago
Depends on: 105636
Adding bug 118404. Of course, that one's fixed, but it was nonetheless due to
profile weirdness.
Depends on: 118404
(Reporter)

Updated

16 years ago
Summary: defeat profile corruption → safeguard against profile corruption
(Reporter)

Updated

16 years ago
Summary: safeguard against profile corruption → safeguard against profile corruption (tracking bug)
(Reporter)

Comment 3

16 years ago
Search terms to find bugs include:   prefs.js    profile corruption   corrupt  
 profile data   user.js   localstore.rdf.

Bug 98476 has a milestone of 0.9.9 and could help solve many of these problems.

Comment 4

16 years ago
Bug 98476 is in. The basic necessary functionality is found in the files
nsSaveSaveFile.cpp and .h. I placed these files in the prefs library as I really
had no better suggestion. They can easily be moved to a more common location if
others wish to make use of this functionality.
(Reporter)

Updated

16 years ago
Depends on: 85316
(Reporter)

Updated

16 years ago
Depends on: 126614
(Reporter)

Updated

16 years ago
No longer depends on: 126614
(Reporter)

Updated

16 years ago
Depends on: 117064
(Reporter)

Updated

16 years ago
Depends on: 102519, 125360
(Reporter)

Updated

16 years ago
Depends on: 126239
(Reporter)

Updated

16 years ago
Depends on: 120410

Updated

16 years ago
Depends on: 121725

Comment 5

16 years ago
bug 105636 is not profile related (will be dup-ed!)
(Reporter)

Updated

16 years ago
No longer depends on: 105636
(Reporter)

Updated

16 years ago
Depends on: 86501
(Reporter)

Updated

16 years ago
Depends on: 90337

Updated

16 years ago
Depends on: 131014
(Reporter)

Updated

16 years ago
Depends on: 127856
(Reporter)

Updated

16 years ago
Depends on: 108358
(Reporter)

Updated

16 years ago
Depends on: 76431
(Reporter)

Updated

16 years ago
Depends on: 107694
(Reporter)

Comment 6

16 years ago
taking
(Reporter)

Updated

16 years ago
Status: NEW → ASSIGNED
(Reporter)

Updated

16 years ago
Depends on: 142590
(Reporter)

Updated

16 years ago
Depends on: 142588
(Reporter)

Updated

16 years ago
No longer depends on: 142588
(Reporter)

Updated

16 years ago
Depends on: 137164
No longer depends on: 118495
(Reporter)

Updated

16 years ago
Summary: safeguard against profile corruption (tracking bug) → prevent and repair profile corruption (tracking bug)
(Reporter)

Updated

16 years ago
Depends on: 132517
(Reporter)

Updated

16 years ago
No longer depends on: 94010, 120759, 125360, 125794
(Reporter)

Updated

16 years ago
Depends on: 14807
(Reporter)

Updated

16 years ago
Depends on: 145558
(Reporter)

Updated

16 years ago
Depends on: 145557

Updated

16 years ago
Depends on: 134517
(Reporter)

Updated

16 years ago
Depends on: 58327
(Reporter)

Updated

16 years ago

Updated

16 years ago
Keywords: meta

Updated

16 years ago
Summary: prevent and repair profile corruption (tracking bug) → Prevent and repair profile corruption (tracking bug)
(Reporter)

Updated

16 years ago
Depends on: 76783
(Reporter)

Updated

16 years ago
Depends on: 130776
(Reporter)

Updated

16 years ago
Depends on: 63918
(Reporter)

Updated

16 years ago
Depends on: 95151
(Reporter)

Updated

16 years ago
Depends on: 134778
(Reporter)

Updated

16 years ago
Depends on: 147108
(Reporter)

Updated

16 years ago
Depends on: 151000
(Reporter)

Updated

16 years ago
Depends on: 152436
(Reporter)

Updated

16 years ago
Depends on: 17457

Comment 7

16 years ago
Adding bug 154054, a bug dealing with profile corruptions after crashes on
Solaris.  May be a dupe, but I didn't see it.
Depends on: 154054
(Reporter)

Updated

16 years ago
Depends on: 109739

Updated

16 years ago
Depends on: 156088, 158845
(Reporter)

Updated

16 years ago
No longer depends on: 76783
(Reporter)

Updated

16 years ago
Target Milestone: --- → Future
(Reporter)

Updated

16 years ago
Depends on: 153562, 155080
No longer depends on: 154054, 158845
(Reporter)

Updated

16 years ago
Depends on: 163899
(Reporter)

Updated

16 years ago
Depends on: 163818

Updated

16 years ago
Depends on: 162597

Updated

16 years ago
Depends on: 161256, 162609
(Reporter)

Updated

15 years ago
No longer depends on: 122114
(Reporter)

Updated

15 years ago
Depends on: 132371
After reading comment 3,
You may want to add bug 166455 comment 6 (and 5),
and may be bug 134576 !?
(Reporter)

Updated

15 years ago
Depends on: 144027
(Reporter)

Updated

15 years ago
Depends on: 169777

Updated

15 years ago
Depends on: 170539, 178475, 180498, 182579, 186948
(Reporter)

Updated

15 years ago
Depends on: 162290
(Reporter)

Updated

15 years ago
Depends on: 191101
(Reporter)

Updated

15 years ago
Depends on: 191473
(Reporter)

Updated

15 years ago
No longer depends on: 135137
(Reporter)

Updated

15 years ago
Depends on: 190136
(Reporter)

Updated

15 years ago
Depends on: 164244

Updated

15 years ago
Blocks: 54184
(Reporter)

Updated

15 years ago
Depends on: 158326
(Reporter)

Updated

15 years ago
Depends on: 182260
(Reporter)

Updated

15 years ago
Depends on: 186755
(Reporter)

Updated

15 years ago
No longer depends on: 162609
(Reporter)

Updated

15 years ago
No longer depends on: 101307
(Reporter)

Updated

15 years ago
Depends on: 166455
(Reporter)

Updated

15 years ago
Depends on: 131105
(Reporter)

Updated

15 years ago
No longer depends on: 134517
(Reporter)

Updated

15 years ago
Depends on: 51683
(Reporter)

Updated

15 years ago
No longer depends on: 18927
(Reporter)

Updated

15 years ago
No longer depends on: 47649
(Reporter)

Updated

15 years ago
No longer depends on: 58327
(Reporter)

Updated

15 years ago
No longer depends on: 98318
(Reporter)

Updated

15 years ago
No longer depends on: 95151
(Reporter)

Updated

15 years ago
No longer depends on: 147823
(Reporter)

Updated

15 years ago
No longer depends on: 119805
(Reporter)

Updated

15 years ago
Depends on: 192124
(Reporter)

Updated

15 years ago
Depends on: 193454
(Reporter)

Updated

15 years ago
Depends on: 178625
(Reporter)

Updated

15 years ago
Depends on: 159642
(Reporter)

Updated

15 years ago
Depends on: 109377

Updated

15 years ago
Depends on: 193567
(Reporter)

Updated

15 years ago
Depends on: 192011
(Reporter)

Updated

15 years ago
No longer depends on: 182579
(Reporter)

Updated

15 years ago
No longer depends on: 162597
(Reporter)

Updated

15 years ago
Depends on: 193638
(Reporter)

Updated

15 years ago
Depends on: 155813
(Reporter)

Updated

15 years ago
No longer depends on: 162290
(Reporter)

Updated

15 years ago
Depends on: 171313
(Reporter)

Updated

15 years ago
Depends on: 193963
(Reporter)

Updated

15 years ago
Depends on: 178659
(Reporter)

Updated

15 years ago
No longer depends on: 178659
(Reporter)

Updated

15 years ago
Depends on: 191512
(Reporter)

Updated

15 years ago
Depends on: 192425
(Reporter)

Updated

15 years ago
Depends on: 122698
(Reporter)

Updated

15 years ago
Depends on: 185171
(Reporter)

Updated

15 years ago
Depends on: 170610
(Reporter)

Updated

15 years ago
Depends on: 140530
(Reporter)

Updated

15 years ago
Depends on: 161013
(Reporter)

Updated

15 years ago
Depends on: 146285
(Reporter)

Updated

15 years ago
Depends on: 195230

Updated

15 years ago
Depends on: 176131
(Reporter)

Updated

15 years ago
Depends on: 197677
(Reporter)

Updated

15 years ago
No longer depends on: 178625
(Reporter)

Updated

15 years ago
No longer depends on: 85316
(Reporter)

Updated

15 years ago
Depends on: 22689
(Reporter)

Updated

15 years ago
No longer depends on: 140530
(Reporter)

Updated

15 years ago
Depends on: 195746
(Reporter)

Updated

15 years ago
No longer depends on: 158326

Comment 9

15 years ago
Users who encounter bookmarks loss (way too common) can't find this bug and this
in turn leads to many duplicates. I would like to open a tracking bug
specifically for this issue - somthing like "Meta bug for tracking Boomarks
dataloss bugs (Bookmarks gone, lost, corrupted, wiped)"

Are there any objections?

Prog.
(Reporter)

Updated

15 years ago
No longer depends on: 186948
(Reporter)

Updated

15 years ago
No longer depends on: 178475
(Reporter)

Updated

15 years ago
No longer depends on: 147423
(Reporter)

Updated

15 years ago
No longer depends on: 147108
(Reporter)

Updated

15 years ago
No longer depends on: 156088
(Reporter)

Updated

15 years ago
No longer depends on: 119941
(Reporter)

Updated

15 years ago
No longer depends on: 123845
(Reporter)

Updated

15 years ago
No longer depends on: 161256
(Reporter)

Updated

15 years ago
No longer depends on: 117064
(Reporter)

Updated

15 years ago
No longer depends on: 88478
(Reporter)

Updated

15 years ago
No longer depends on: 95331
(Reporter)

Updated

15 years ago
No longer depends on: 132517
(Reporter)

Updated

15 years ago
Depends on: 132517

Comment 10

15 years ago
Ok, I just opened Bug 203343 for specifically tracking Bookmarks dataloss bugs.

I would be happy to move all related bugs from the "depends"-list here, to the
new bug, but unfortunately I don't have "editbug" permissions. 

Prog.
(Reporter)

Updated

15 years ago
Depends on: 203343
(Reporter)

Updated

15 years ago
(Reporter)

Updated

15 years ago
Depends on: 203343

Comment 11

15 years ago
I found Prog's meta, completely missed this one. I've commented it, but I just
had two incidents of losing all bookmarks, and I've got to say he's absolutely
on track with the amount of end user fury when everything goes away, with no
warning, and no recovery method.

You might also consider restore points instead of rolling backups with only two
stages back (when I at least open my browser, I might not NOTICE the bookmarks
are gone on a given session if I'm using history autocompletion/going to a
specific site, which means I could easily overwrite a 'two revisions old'
bookmark file unless it only writes with discrete changes.

Comment repeated from 203343:
I am being hit by this bug, or one very similar. In the last day, I had one
abnormal shutdown. I believe the browser was open. I'm not sure of the exact
chain of events, unfortunately, only that when I now open my browser it goes to
the correct homepage, but ALL bookmarks are gone.

I did some websearching, added a few links into a new folder, and again tonight,
I open the browser and all bookmarks are gone. Hopefully I have a usable backup
on my laptop (barring changes in the last few weeks) but this is an absolutely
miserable bug if it's as triggerable as having windows crash while you have any
mozilla files open.

I'm using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312

And I'm very, very cranky.
(Reporter)

Comment 12

15 years ago
Join the club. Do not post off-topic material on this bug. Do not cross-post,
either.
(Reporter)

Updated

15 years ago
No longer depends on: 197677

Comment 13

15 years ago
Bug 190136 was duped to bug 192425, which is already listed.  Removing redundant
depend.
No longer depends on: 190136
(Reporter)

Updated

15 years ago
No longer depends on: 176131
(Reporter)

Updated

15 years ago
No longer depends on: 192011

Updated

15 years ago
Depends on: 173550

Updated

15 years ago
No longer depends on: 113203
(Reporter)

Comment 14

14 years ago
I don't have time to keep this up to date anymore. If someone wants to maintain
it, please take it over. Thanks.
Assignee: xah → nobody
Status: ASSIGNED → NEW

Updated

14 years ago
Depends on: 226720

Updated

14 years ago
No longer depends on: 121725

Updated

14 years ago
Depends on: 231606
Depends on: 236467

Updated

14 years ago
Depends on: 237647
(Reporter)

Updated

14 years ago
Depends on: 161711
(Reporter)

Updated

14 years ago
No longer depends on: 195230
(Reporter)

Updated

14 years ago
Depends on: 226970
(Reporter)

Updated

14 years ago
Depends on: 240646
(Reporter)

Updated

14 years ago
Depends on: 228978

Updated

13 years ago
Alias: profile-corrupt
Depends on: 267502

Updated

13 years ago
No longer depends on: 136965

Updated

13 years ago
No longer depends on: 124136
I'm not sure what's the curren purpose of this bug. Anyway, I can confirm that
this still happens in mozilla 1.7.8, when the disk is full, at least the
bookmarks get lost, and the bookmarks.html is 0 size.

Comment 16

12 years ago
This bug should block bug 315312
*** Bug 332340 has been marked as a duplicate of this bug. ***

Comment 18

12 years ago
I would wonder WHY a RECOVER button hasnt been installed...SOMEPLACE..
reinstall bookmarks, history, settings, and the rest...
Or, arnt they ALL backedup someplace?
bug 230494 deals with corrupt IMAP and/or news messagebases when downloading messages for offline use.

Updated

11 years ago
Depends on: 182222

Updated

11 years ago
Depends on: 364112

Comment 20

9 years ago
Adding dependencies from dup tracker bug 193638.

Updated

9 years ago
Depends on: 476369
Depends on: 477934
(Reporter)

Comment 21

9 years ago
This bug report is over seven years old. Today much of the profile data is managed by the new Storage API, which I believe is also known as mozStorage. The backend is a SQLite database. https://developer.mozilla.org/En/Storage We have a track record of years of much greater profile stability, based on anecdotal experience. 

The new SQLite system was tracked in the following bug reports. 

Bug 314553 - Bookmarks
Bug 374945 - Places (history, bookmarks)
Bug 288040 - signons3.txt (Password Manager) (recent addition)
Bug 230933 - Cookies
Bug 380250 - Download Manager's RDF backend

The following profile data files have not moved to the new system. Extension manager backend storage (bug 449585), cache, prefs.js, some CSS files, some XML files, some rdf files, compreg.dat, secmod.db, key3.db, xpc.mfl, xul.mfl, some BAK files (for backup), and some JSON files. Other than extension manager backend storage and cache, the rest should probably be left as they are. 

With SQLite, we still have bugs, even profile data corruption bugs, like bug 360729. Overall, however, we have a system that is much more protective of data. There is even built-in protection against data corruption. https://wiki.mozilla.org/Storage:DetectingCorruption and bug 431558. 

When I originally filed this bug, the situation was not altogether pleasant for profile data. That situation has significantly changed for the better thanks to the good work of the developers, particularly in the implementations of SQLite. 

I'm not certain what should be done with this bug report. It has become cluttered. I am leaning toward the following course. First, I may resolve this bug report, and then I will create a new bug report that is more relevant to today to address current profile data concerns. If you have any comments on this plan of action, please post them here or just e-mail them to me. Thanks.
(Reporter)

Updated

9 years ago
No longer depends on: 109377
(Reporter)

Updated

9 years ago
No longer depends on: 226720
(Reporter)

Updated

9 years ago
Depends on: 63292
(Reporter)

Updated

9 years ago
Depends on: 257288
(Reporter)

Updated

9 years ago
Depends on: 319196
(Reporter)

Updated

9 years ago
Depends on: 97141
(Reporter)

Comment 22

9 years ago
In light of bug 319196, (current status: open) (customized toolbar resets to default due to localstore.rdf corruption), I've decided to keep this bug open for now. I don't know if the contents of localstore.rdf should be migrated to "localstore.sqlite" but in any case, that bug is open, so this bug stays open as well.
(Reporter)

Updated

9 years ago
Depends on: 406378
(Reporter)

Updated

9 years ago
No longer depends on: 406378
(Reporter)

Updated

9 years ago
No longer depends on: 145558
(Reporter)

Updated

9 years ago
Depends on: 375102
(Reporter)

Updated

9 years ago
No longer depends on: 109706

Updated

9 years ago
Depends on: 496825

Updated

8 years ago
Depends on: 561142

Updated

8 years ago
Depends on: 420106

Updated

8 years ago
Depends on: 478189

Updated

8 years ago
Depends on: 465166

Updated

8 years ago
Depends on: 503374

Comment 23

8 years ago
possible profile corruption going on as part of bug 519356.  maybe the reactive fixes can help to mitigate that crash and the people hitting that crash can help to isolate and area of profile coruption that affects about 1000 people per day.
Blocks: 519356

Updated

8 years ago
Depends on: 570150
Depends on: 639485

Updated

5 years ago
Depends on: 498181

Updated

2 years ago
Component: Tracking → Startup and Profile System
Priority: -- → P3
Product: Core → Toolkit
QA Contact: chofmann

Updated

7 months ago
See Also: → bug 1362878
You need to log in before you can comment on or make changes to this bug.