Bug 855919

Summary: Firefox freezes on Fedora 18 for PPC64
Product: [Fedora] Fedora Reporter: Gustavo Luiz Duarte <gustavold>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 18CC: bbaude, dwa, gecko-bugs-nobody, gustavold, lemenkov, mszpak, stransky
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 813095 Environment:
Last Closed: 2012-10-31 11:55:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 813095, 824463    
Bug Blocks:    
Attachments:
Description Flags
Do not decommit memory on PPC none

Description Gustavo Luiz Duarte 2012-09-10 15:35:04 UTC
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.

Comment 1 Gustavo Luiz Duarte 2012-09-10 16:08:14 UTC
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.

Comment 2 Martin Stransky 2012-10-31 11:55:35 UTC
Uploaded to git.