Closed Bug 192171 Opened 22 years ago Closed 20 years ago

MimeTypes.rdf corruption

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 190951

People

(Reporter: fredbezies, Assigned: law)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030206
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030206

I noticed this bug only since today. My mimetypes.rdf contained something about
12 mimetypes defined, and mozilla was very slow to launch.

When I look at mimetypes.rdf, it weights 5 Mb ! 

Another try, and mimetypes.rdf weights 12 Mb, making mozilla sucks 99% of CPU time.

Deleting mimetypes.rdf cures the bug.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

Actual Results:  
when not deleting mimetypes, mozilla is very slow to launch (about 30 s on my
XP1800+ / 512 Mb)

Expected Results:  
Launching quickly !

I can add a zipped version of 5 Mb mimetypes.rdf if you want.
Yes, please upload the zipped version.

Also, does this happen if you start with a clean
mimeTypes.rdf and a recent build?
For your questions :

With a brand new mimetypes (and only 3 settings), mimetypes.rdf is small (2,5 kb).

No problem with a CVS based trunk homemade build.

I don't know what happens :-/

But deleting old and corrupted file cures Mozilla :-)
OK.... Well.  That file contains a _long_ string of garbage in a description
field.  Looks like bug 190951 to a certain extent....  Do you recall whether you
had non-ASCII chars in any of those entries?

Maybe my question wasn't clear.  You say the size went from 5MB to 12MB?  Was
that just from launching and quitting mozilla?

If you start with a clean file and add your MIME entries to it you can't cause
this to happen?
Depends on: 190951
1) I don't remember when this long non-ASCII came in :-/

2) size growth when trying too launch Mozilla, but it didn't end. Mozilla sucks
up to 99% for more than 1 minute. I have to kill mozilla to end it :-/

3) with a clean file, no problem for now. There is only 3 entries, I will see later.
OK.  This is almost certainly bug 190951 ...
Seems that bug 233011 is related to this as the mimeTypes.rdf causes the nightly
setups of Mozilla to crash
This bug is long-fixed, actually....

*** This bug has been marked as a duplicate of 190951 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: