Bug 913284 - Firefox segfaults in mozilla::gfx::AlphaBoxBlur::BoxBlur_C() on PPC64
Summary: Firefox segfaults in mozilla::gfx::AlphaBoxBlur::BoxBlur_C() on PPC64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xulrunner
Version: 18
Hardware: ppc64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-20 20:13 UTC by Gustavo Luiz Duarte
Modified: 2013-03-19 14:12 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-19 14:02:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
stack trace (56.51 KB, text/plain)
2013-02-20 20:13 UTC, Gustavo Luiz Duarte
no flags Details

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!


Note You need to log in before you can comment on or make changes to this bug.