Bug 913284

Summary: Firefox segfaults in mozilla::gfx::AlphaBoxBlur::BoxBlur_C() on PPC64
Product: [Fedora] Fedora Reporter: Gustavo Luiz Duarte <gustavold>
Component: xulrunnerAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: caillon+fedoraproject, gecko-bugs-nobody, gustavold, john.j5live, stransky, walters
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-19 14:02:12 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:
Attachments:
Description Flags
stack trace none

Description Gustavo Luiz Duarte 2013-02-20 20:13:29 UTC
Created attachment 700219 [details]
stack trace

Description of problem:
Soon after starting Firefox 19 on PPC64 it segfaults in the function mozilla::gfx::AlphaBoxBlur::BoxBlur_C(). Attached the complete stack trace.


Version-Release number of selected component (if applicable):
xulrunner-19.0-2.fc18

How reproducible:
Always

Steps to Reproduce:
1. Open Firefox
2. Browse a couple of webpages
3.
  
Actual results:
Program received signal SIGSEGV, Segmentation fault.

Expected results:


Additional info:

Comment 1 Gustavo Luiz Duarte 2013-02-25 16:53:37 UTC
Moved upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=844883

Comment 2 Martin Stransky 2013-02-26 08:43:02 UTC
Gustavo, you can easily generate a debug package from the Fedora srpm - there's debug_build option for that in our xulrunner package. Turn it on and try to catch the backtrace again. It also may help to launch xulrunner with Efence/valgrind.

Comment 3 Gustavo Luiz Duarte 2013-02-26 14:46:20 UTC
Unfortunately xulrunner fails to build on ppc64 when debug_build is enabled. Follows the error message:

  adding: hyphenation/hyph_ca.dic (deflated 61%)
  adding: hyphenation/hyph_sv.dic (deflated 51%)
/builddir/fedora/xulrunner/f18/xulrunner-19.0/mozilla-release/memory/mozjemalloc/jemalloc.c:3987: Failed assertion: "min_run_size <= RUN_MAX_SMALL"
/bin/sh: line 1: 36268 Segmentation fault      /builddir/fedora/xulrunner/f18/xulrunner-19.0/mozilla-release/objdir/dist/bin/run-mozilla.sh /builddir/fedora/xulrunner/f18/xulrunner-19.0/mozilla-release/objdir/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /builddir/fedora/xulrunner/f18/xulrunner-19.0/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('startupCache.zip');"
make[1]: *** [prepare-package] Error 139
make[1]: Leaving directory `/builddir/fedora/xulrunner/f18/xulrunner-19.0/mozilla-release/objdir/xulrunner/installer'
make: *** [install] Error 2
make: Leaving directory `/builddir/fedora/xulrunner/f18/xulrunner-19.0/mozilla-release/objdir'
error: Bad exit status from /var/tmp/rpm-tmp.SdqN8S (%install)

Comment 4 Gustavo Luiz Duarte 2013-03-19 13:34:52 UTC
Please, add the following patch to xulrunner on Fedora [17,18,19,20]. It fixes the Firefox crashes on ppc64.

https://bug844883.bugzilla.mozilla.org/attachment.cgi?id=725839

Comment 5 Martin Stransky 2013-03-19 14:02:12 UTC
Added to git/brew.

Comment 6 Gustavo Luiz Duarte 2013-03-19 14:12:08 UTC
Thanks Martin!