Closed Bug 456718 Opened 16 years ago Closed 16 years ago

md5sum takes too much time on startup if core exists

Categories

(Core Graveyard :: Cmd-line Features, defect)

x86
OpenSolaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 467638

People

(Reporter: ginnchen+exoracle, Unassigned)

Details

In run-mozilla.sh, it uses md5sum to crc a core file.
The size of core file may be huge, XXX mega bytes or X giga bytes.

If the user left such a core file in his home directory, the startup of Firefox may take 20 seconds or more.

I suggest we remove the core file checking in run-mozilla.sh.
I don't think it's very useful to normal user, as we've our crash reporting tool now.
For developers, I think they can deal with core files by themselves.

If we'd like to keep the checking, I think to use
crc_old=`ls -l core` is enough.
The new core file is unlikely to be in same size and on same minute.

Comments?
Summary: md5sum takes too much time on startup if core exsits → md5sum takes too much time on startup if core exists
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.