Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555688 - www-client/firefox-39: crashes while running webgl test suite
Summary: www-client/firefox-39: crashes while running webgl test suite
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-23 12:20 UTC by Toralf Förster
Modified: 2016-01-31 15:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-07-23 12:20:17 UTC
origin: https://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux

The problem occurred first under an stable x86 with i915 at a ThinkPad T400 and is still present under amd64 with i965 at a T440s.
Just point ff to https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html and run the tests ...


The problem is in ff since version 17 - upstream told me this :


--- Comment #12 from Anthony Hughes, QA Mentor (:ashughes) <anthony.s.hughes@gmail.com> 2015-07-22 16:56:18 PDT ---
Thanks, this is frankly a bit over my head on a technical level. I'm not
familiar at all with Gentoo Linux and will have to leave this to one of our
developers to advise further debugging. That said, it would be useful if you
could see if this reproduces in another Linux distribution with the packaged
binary and our own binary from ftp.mozilla.org.
Comment 1 Amy Liffey gentoo-dev 2015-07-23 12:34:34 UTC
(In reply to Toralf Förster from comment #0)
> origin: https://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux
> 
> The problem occurred first under an stable x86 with i915 at a ThinkPad T400
> and is still present under amd64 with i965 at a T440s.
> Just point ff to
> https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.
> html and run the tests ...
> 
> 
> The problem is in ff since version 17 - upstream told me this :
> 
> 
> --- Comment #12 from Anthony Hughes, QA Mentor (:ashughes)
> <anthony.s.hughes@gmail.com> 2015-07-22 16:56:18 PDT ---
> Thanks, this is frankly a bit over my head on a technical level. I'm not
> familiar at all with Gentoo Linux and will have to leave this to one of our
> developers to advise further debugging. That said, it would be useful if you
> could see if this reproduces in another Linux distribution with the packaged
> binary and our own binary from ftp.mozilla.org.

Can you please post the right url for "origin:".

Thanks

amy
Comment 2 Toralf Förster gentoo-dev 2015-07-23 12:44:10 UTC
https://bugzilla.mozilla.org/show_bug.cgi?id=814964
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2015-07-24 14:13:41 UTC
I just ran it on my ThinkPad W520 (only the i915 active, the nvidia side turned off) and it didn't crash for me.. It took forever, at least 5% of the tests failed, and one test timed out, but crash it did not.

Not sure what we can do on this one; if I had to guess I would say your crash must be related to the supporting libs somehow.  I know we've had issues in the past with certain mesa, xorg and intel-driver version combinations....

The crash does seem to be within i965 and/or possibly mesa acording to the backtrace you posted on the upstream bug, so my suggestion would be to try different versions (latest ~arch or others in between) of xf86-video-intel and see if that helps, and then try different mesa, and maybe even different kernels.

Which test does the crash occur on, do you know?  Also, is this only occurring on the source-built package or does it occur with firefox-bin as well?
Comment 4 Toralf Förster gentoo-dev 2015-07-26 14:15:33 UTC
Hhm, it is in glsl :

Program received signal SIGSEGV, Segmentation fault.
src_add_all_uses (src=src@entry=0x3c50673cca8, parent_instr=parent_instr@entry=0x3c50673cc28, parent_if=parent_if@entry=0x0)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir.c:1842
1842    /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir.c: No such file or directory.
(gdb) quit
A debugging session is active.

        Inferior 1 [process 18157] will be detached.

Quit anyway? (y or n) n
Not confirmed.
(gdb) bt
#0  src_add_all_uses (src=src@entry=0x3c50673cca8, parent_instr=parent_instr@entry=0x3c50673cc28, parent_if=parent_if@entry=0x0)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir.c:1842
#1  0x000003c52adc7fcd in nir_instr_rewrite_src (instr=instr@entry=0x3c50673cc28, src=src@entry=0x3c50673cca8, new_src=...)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir.c:1863
#2  0x000003c52add7e22 in copy_prop_alu_src (index=0, parent_alu_instr=0x3c50673cc28)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir_opt_copy_propagate.c:185
#3  copy_prop_instr (instr=0x3c50673cc28) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir_opt_copy_propagate.c:214
#4  copy_prop_block (block=0x3c50ec24828, _state=0x3fce755c63f) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir_opt_copy_propagate.c:244
#5  0x000003c52adc82d3 in nir_foreach_block (impl=0x3c511cc0ec8, cb=0x3c52add7c30 <copy_prop_block>, state=0x3fce755c63f)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir.c:2014
#6  0x000003c52add80ad in nir_copy_prop_impl (impl=<optimized out>)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir_opt_copy_propagate.c:264
#7  nir_copy_prop (shader=shader@entry=0x3c4e8cd2d28) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir_opt_copy_propagate.c:274
#8  0x000003c52ae7bd38 in nir_optimize (nir=nir@entry=0x3c4e8cd2d28)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/mesa/drivers/dri/i965/brw_nir.c:39
#9  0x000003c52ae7be22 in brw_create_nir (brw=0x3c4e9407028, shader_prog=0x3c51b4e7a28, prog=<optimized out>, stage=MESA_SHADER_FRAGMENT)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/mesa/drivers/dri/i965/brw_nir.c:116
#10 0x000003c52ae868fe in brw_link_shader (ctx=0x3c4e9407028, shProg=0x3c51b4e7a28)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/mesa/drivers/dri/i965/brw_shader.cpp:301
#11 0x000003c52ad0b18e in _mesa_glsl_link_shader (ctx=0x3c4e9407028, prog=0x3c51b4e7a28)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/mesa/program/ir_to_mesa.cpp:2964
#12 0x000003c52ac2a19a in link_program (ctx=0x3c4e9407028, program=<optimized out>)
    at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/mesa/main/shaderapi.c:946
#13 0x000003c55f205bbb in ?? () from /usr/lib64/firefox/libxul.so
#14 0x000003c55f207c4b in ?? () from /usr/lib64/firefox/libxul.so
#15 0x000003c55f1df782 in ?? () from /usr/lib64/firefox/libxul.so
#16 0x000003c55eea44b2 in ?? () from /usr/lib64/firefox/libxul.so
#17 0x000003c55f18335a in ?? () from /usr/lib64/firefox/libxul.so
#18 0x000003c5605ebdd9 in ?? () from /usr/lib64/firefox/libxul.so
#19 0x000003c5605e6dba in ?? () from /usr/lib64/firefox/libxul.so
#20 0x000003c5605ebb2f in ?? () from /usr/lib64/firefox/libxul.so
#21 0x000003c5605ebd53 in ?? () from /usr/lib64/firefox/libxul.so
#22 0x000003c5605ed30f in ?? () from /usr/lib64/firefox/libxul.so
#23 0x000003c5604d303a in ?? () from /usr/lib64/firefox/libxul.so
#24 0x000003c55f0606dd in ?? () from /usr/lib64/firefox/libxul.so
#25 0x000003c55e8df8fc in ?? () from /usr/lib64/firefox/libxul.so
#26 0x000003c55e8e0ebb in ?? () from /usr/lib64/firefox/libxul.so
#27 0x000003c55e8e11c5 in ?? () from /usr/lib64/firefox/libxul.so
#28 0x000003c55deb41a2 in ?? () from /usr/lib64/firefox/libxul.so
#29 0x000003c55deb4464 in ?? () from /usr/lib64/firefox/libxul.so
#30 0x000003c55deb2c89 in ?? () from /usr/lib64/firefox/libxul.so
#31 0x000003c55dece3ba in ?? () from /usr/lib64/firefox/libxul.so
#32 0x000003c55e12afcb in ?? () from /usr/lib64/firefox/libxul.so
#33 0x000003c55e0ff4ed in ?? () from /usr/lib64/firefox/libxul.so
#34 0x000003c55f744a08 in ?? () from /usr/lib64/firefox/libxul.so
#35 0x000003c55fe7803e in ?? () from /usr/lib64/firefox/libxul.so
#36 0x000003c55febecaa in ?? () from /usr/lib64/firefox/libxul.so
#37 0x000003c55febf5f8 in ?? () from /usr/lib64/firefox/libxul.so
#38 0x000003c55febf928 in XRE_main () from /usr/lib64/firefox/libxul.so
---Type <return> to continue, or q <return> to quit---
#39 0x0000000000406094 in do_main (argc=argc@entry=2, argv=argv@entry=0x3fce755f658, xreDirectory=0x3c561f48f80)
    at /var/tmp/portage/www-client/firefox-39.0/work/mozilla-release/browser/app/nsBrowserApp.cpp:294
#40 0x0000000000405988 in main (argc=2, argv=0x3fce755f658) at /var/tmp/portage/www-client/firefox-39.0/work/mozilla-release/browser/app/nsBrowserApp.cpp:688