Closed Bug 167139 Opened 24 years ago Closed 24 years ago

Instrument Mozilla using Valgrind

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: cmattar, Assigned: netscape)

References

()

Details

(Keywords: valgrind)

Apparantly, Valgrind can detect memory leaks/corruption and instrument cache usage, both of which are potentially large problems in Mozilla. It would probably pay off if someone could look into this. No idea which component, assigning to browser general
really, this already works. just do % ./mozilla -g -d valgrind on a practical level, I found it necessary to add valgrind as a separate debugger so I could pass options (check leaks, additional suppression file, more frames/stack, etc) to valgrind. However, these have to be added manually to run-mozilla.sh anyway, so I'm not sure what changes Mozilla can make for Valgrind. ==> Build Config
Assignee: asa → seawood
Component: Browser-General → Build Config
QA Contact: asa → granrose
What exactly is this bug requesting? As Andrew pointed out, you can run valgrind using ./mozilla -g -d valgrind and others already have.
I ran a a bugzilla query looking for valgrind before filing this bug, without getting any results. I guess I did something wrong, since now I find lots of bugs which Andrew et al already filed about problems detected by valgrind. I'm sorry that I've wasted your time. :-(
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
Keywords: valgrind
You need to log in before you can comment on or make changes to this bug.