Description of problem: Firefox freezes after a few minutes of usage. Firefox seems to be stuck, there is a LOT of messages in the strace like this: madvise(0xfff574ce000, 4096, MADV_DONTNEED) = -1 EINVAL (Invalid argument) Version-Release number of selected component (if applicable): firefox-15.0-2.fc18.ppc64 xulrunner-15.0-2.fc18.ppc64 How reproducible: A few minutes browsing random pages has been enough to reproduce the issue. Steps to Reproduce: 1. Create a mock env for Fedora 18 for PPC64 2. Install Firefox 3. Run firefox 4. Browse a few random pages Actual results: Firefox freezes (UI stops responding and/or updating) Expected results: Firefox UI should continue working.
Created attachment 611481 [details] Do not decommit memory on PPC Do not decommit memory on PPC since decommit logic assumes PageSize == ArenaSize. On PPC we have 64K page size, which is not feasible for ArenaSize. Rework of Martin's patch from https://bugzilla.mozilla.org/show_bug.cgi?id=746112 Please apply this patch to xulrunner code. This patch should fix the Firefox freezes.
Uploaded to git.