Where can I get Valgrind?
Linux: http://valgrind.org/ or your distro
Mac: experimental; get it from SVN.
Mozilla crashes at startup when I run it under Valgrind. What can I do?
GTK 2 builds of Mozilla bring in ORBit, which is sensitive to the memory alignment used by malloc(). The system implementation aligns to 8 bytes, while Valgrind aligns to 4 bytes by default. This causes ORBit to crash. To run Mozilla under Valgrind, it is recommended that you use the
--alignment=8 option to Valgrind.
Is there a shared memcheck suppression file for known bugs?
Jesse has one somewhere...
What do I do if the JIT crashes on startup?
Pass the parameter
--smc-check=all to valgrind for now.
Note: this option makes valgrind run much slower. An alternative solution is to turn both the content and chrome JITs off.
Or build Mozilla with