Closed
Bug 400842
Opened 18 years ago
Closed 18 years ago
Remove memory leak debug data from output.log.
Categories
(NSS :: Test, defect, P2)
NSS
Test
Tracking
(Not tracked)
RESOLVED
FIXED
3.11.9
People
(Reporter: slavomir.katuscak+mozilla, Assigned: slavomir.katuscak+mozilla)
Details
Attachments
(2 files)
|
6.59 KB,
patch
|
nelson
:
review+
|
Details | Diff | Splinter Review |
|
1.44 KB,
patch
|
nelson
:
review+
julien.pierre
:
review+
|
Details | Diff | Splinter Review |
Memory leak checking reports output from leak checking tools to output.log and to separated files in memleak_logs directory. It's duplicity which is not desirable.
After enabling PKIX testing, output.log became too big. We don't need stack details directly in output.log, it's enough to have them only in files in memleak_logs directory.
| Assignee | ||
Comment 1•18 years ago
|
||
Attachment #285897 -
Flags: review?(nelson)
Comment 2•18 years ago
|
||
I believe the patch attached does what Slavo intended, but I am not sure that
we really want to make that change. I don't agree that "it's enough to have
them only in files in memleak_logs directory" unless the files in that
directory (as a result of Tinderbox runs and/or nightly builds) are always
readily available to NSS developers both inside and outside of Sun.
Comments?
| Assignee | ||
Comment 3•18 years ago
|
||
We have one serious problem with big logfiles - after enabling PKIX there was log 2 times bigger then before (memleak.sh was tested 2 times) and mail server on Mozilla side just didn't accept it.
Log from one test cycle on Linux/Valgrind has now 16.1 MB. When testing with PKIX (and now also with Shared DB) it increases much and mail server on Mozilla side has 25.6 MB limit for one email - that's also one of the reasons why I splitted Tinderbox testing to 4 cycles.
Before doing this, I got some returned mails:
----- The following addresses had permanent fatal errors -----
<tinderbox-daemon@dm-webtools02.mozilla.org>
(reason: 552 5.2.3 Message size exceeds fixed maximum message size (25600000))
----- Transcript of session follows -----
... while talking to brmea-mail.sun.com.:
>>> MAIL From:<svbld@mace.red.iplanet.com> SIZE=33184826
<<< 552 5.2.3 Message size exceeds fixed maximum message size (25600000)
554 5.0.0 Service unavailable
| Assignee | ||
Comment 4•18 years ago
|
||
Btw - my patch doesn't remove stacks from output.log completely, it prints there one line versions sorted with -u parameter (unique lines) - the same what is now in foundleaks file.
Comment 5•18 years ago
|
||
Comment on attachment 285897 [details] [diff] [review]
Patch.
OK, let's try it.
Attachment #285897 -
Flags: review?(nelson) → review+
| Assignee | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•18 years ago
|
||
Previous patch causes that Linux parser can't find the name of tested binary in Valgrind log file. I'm working on fix.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 7•18 years ago
|
||
Fixed problem for comment 6. Previous patch removed message containing binary name from logs, this patch adds it back (in shorter format).
Attachment #286986 -
Flags: review?(nelson)
Updated•18 years ago
|
Attachment #286986 -
Flags: review?(nelson) → review+
| Assignee | ||
Comment 8•18 years ago
|
||
Checking in memleak.sh;
/cvsroot/mozilla/security/nss/tests/memleak/memleak.sh,v <-- memleak.sh
new revision: 1.21; previous revision: 1.20
done
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•18 years ago
|
Status: RESOLVED → REOPENED
Priority: -- → P2
Resolution: FIXED → ---
Target Milestone: --- → 3.11.9
| Assignee | ||
Updated•18 years ago
|
Attachment #286986 -
Flags: review?(julien.pierre.boogz)
Updated•18 years ago
|
Attachment #286986 -
Flags: review?(julien.pierre.boogz) → review+
| Assignee | ||
Comment 9•18 years ago
|
||
Checking in memleak.sh;
/cvsroot/mozilla/security/nss/tests/memleak/memleak.sh,v <-- memleak.sh
new revision: 1.1.2.17; previous revision: 1.1.2.16
done
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•