Closed Bug 814964 Opened 12 years ago Closed 8 years ago

Crash while running webgl test suite under Gentoo Linux

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED INVALID

People

(Reporter: toralf.foerster, Unassigned)

Details

(Keywords: crash, Whiteboard: [MemShrink:P3][gfx-noted])

User Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Firefox/17.0 Build ID: 20121125155653 Steps to reproduce: I run the test s here : https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html Actual results: warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `/usr/bin/firefox'. Program terminated with signal 11, Segmentation fault. #0 0xb76f0424 in __kernel_vsyscall () (gdb) bt #0 0xb76f0424 in __kernel_vsyscall () #1 0xb76bef2e in raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42 #2 0xb4fb2141 in nsProfileLock::FatalSignalHandler (signo=11, info=0xbf7db06c, context=0xbf7db0ec) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/obj-i686-pc-linux-gnu/toolkit/profile/nsProfileLock.cpp:180 #3 <signal handler called> #4 add_child (info=0x0, parent=0x7abccac0) at ../../../src/glsl/ralloc.c:99 #5 ralloc_size (ctx=0x7abccad8, size=81548) at ../../../src/glsl/ralloc.c:122 #6 0x8c53ff08 in ralloc_array_size (ctx=0x7abccad8, size=4, count=20387) at ../../../src/glsl/ralloc.c:185 #7 0x8c4b6938 in ra_alloc_interference_graph (regs=0xaa70b8c8, count=20387) at ../../../src/mesa/program/register_allocate.c:318 #8 0xa8fb4fdf in ?? () from /usr/lib/dri/i965_dri.so #9 0xa8f9dca7 in ?? () from /usr/lib/dri/i965_dri.so #10 0xa8f9de1c in ?? () from /usr/lib/dri/i965_dri.so #11 0xa8f7bc45 in ?? () from /usr/lib/dri/i965_dri.so #12 0xa8f9e318 in ?? () from /usr/lib/dri/i965_dri.so #13 0xa8fb712c in ?? () from /usr/lib/dri/i965_dri.so #14 0xa8fb753d in ?? () from /usr/lib/dri/i965_dri.so #15 0x8c5388ee in _mesa_glsl_link_shader (ctx=0x84fe7018, prog=0x9a215d18) at ../../../src/mesa/program/ir_to_mesa.cpp:3159 #16 0x8c4207cb in link_program (ctx=0x84fe7018, program=<optimized out>) at ../../../src/mesa/main/shaderapi.c:773 #17 0xb54d42af in fGetProgramiv (param=0xbf8303e8, pname=35714, program=10703, this=<optimized out>) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/content/canvas/src/WebGLContextGL.cpp:3763 #18 mozilla::WebGLContext::LinkProgram (this=0x9697c6c0, program=0x8cf99e80, rv=...) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/content/canvas/src/WebGLContextGL.cpp:3763 #19 0xb54d4567 in mozilla::WebGLContext::GetShaderPrecisionFormat (this=0x1, shadertype=2188070048, precisiontype=2574566912) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/content/canvas/src/WebGLContextGL.cpp:5414 ---Type <return> to continue, or q <return> to quit--- #20 0xa318edc8 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Expected results: :-)
tfoerste@n22 ~ $ emerge --info firefox Portage 2.1.11.31 (default/linux/x86/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.6.8-rc1 i686) ================================================================= System Settings ================================================================= System uname: Linux-3.6.8-rc1-i686-Intel-R-_Core-TM-_i5-2540M_CPU_@_2.60GHz-with-gentoo-2.1 Timestamp of tree: Sun, 25 Nov 2012 08:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 ccache version 3.1.8 [disabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/ccache: 3.1.8 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.5 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4, 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo toralf ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n --keep-going=y --nospinner --tree --quiet-build" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mneisen.org/ http://www.gtlib.gatech.edu/pub/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_GB" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 berkdb bittorrent branding bzip2 cairo cdda cdr classic cli consolekit corefonts cracklib crypt css cups cxx dbus declarative dri dts dvb dvd dvdr emboss encode exif fam fastbuild ffmpeg firefox flac fontconfig fortran g3dvl gdbm gif git gmp gphoto2 gpm gtk hyphenation iconv ipv6 java jpeg kde kipi kqemu kvm lcms ldap libnotify lirc logrotate mad mbox mmx mng modules mp3 mp4 mpeg mudflap mysql mysqli ncurses nls nptl nsplugin ntfs ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qemu qt3support qt4 rdesktop readline sdl session sna spell spice sse sse2 sse4_1 ssl ssse3 startup-notification svg tcpd thinkpad threads tiff tk transparent-proxy truetype udev udisks uml unicode upower usb uxa v4l vaapi vim-syntax virtualbox vlc vnc vorbis wxwidgets x264 x86 xa xcb xcomposite xinerama xml xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" LIRC_DEVICES="devinput inputlirc" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= www-client/firefox-17.0 was built with the following: USE="alsa (consolekit) dbus ipc jit libnotify minimal (policykit) startup-notification test webm -bindist -custom-cflags -custom-optimization -debug -gstreamer -pgo (-selinux) -system-sqlite -wifi" LINGUAS="en_GB -af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu" CFLAGS="-march=native -pipe -g -ggdb -mno-avx" CXXFLAGS="-march=native -pipe -g -ggdb -mno-avx"
Component: Untriaged → Canvas: WebGL
Product: Firefox → Core
Might be this backtrace is better : Program terminated with signal 11, Segmentation fault. #0 0xb7772424 in __kernel_vsyscall () (gdb) bt #0 0xb7772424 in __kernel_vsyscall () #1 0xb7740f2e in raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42 #2 0xb5007141 in nsProfileLock::FatalSignalHandler (signo=11, info=0xbfcea28c, context=0xbfcea30c) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/obj-i686-pc-linux-gnu/toolkit/profile/nsProfileLock.cpp:180 #3 <signal handler called> #4 add_child (info=0x0, parent=0x829fb0a0) at ../../../src/glsl/ralloc.c:99 #5 ralloc_size (ctx=0x829fb0b8, size=81548) at ../../../src/glsl/ralloc.c:122 #6 0x9360bf08 in ralloc_array_size (ctx=0x829fb0b8, size=4, count=20387) at ../../../src/glsl/ralloc.c:185 #7 0x93582938 in ra_alloc_interference_graph (regs=0xad184e08, count=20387) at ../../../src/mesa/program/register_allocate.c:318 #8 0xaa9b3fdf in ?? () from /usr/lib/dri/i965_dri.so #9 0xaa99cca7 in ?? () from /usr/lib/dri/i965_dri.so #10 0xaa99ce1c in ?? () from /usr/lib/dri/i965_dri.so #11 0xaa97ac45 in ?? () from /usr/lib/dri/i965_dri.so #12 0xaa99d318 in ?? () from /usr/lib/dri/i965_dri.so #13 0xaa9b612c in ?? () from /usr/lib/dri/i965_dri.so #14 0xaa9b653d in ?? () from /usr/lib/dri/i965_dri.so #15 0x936048ee in _mesa_glsl_link_shader (ctx=0x8d8e8018, prog=0x9ca3c218) at ../../../src/mesa/program/ir_to_mesa.cpp:3159 #16 0x934ec7cb in link_program (ctx=0x8d8e8018, program=<optimized out>) at ../../../src/mesa/main/shaderapi.c:773 #17 0xb552929f in fLinkProgram (program=10562, this=<optimized out>) at ../../../dist/include/GLContext.h:2593 #18 mozilla::WebGLContext::LinkProgram (this=0xa189abc0, program=0x986e7d00, rv=...) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/content/canvas/src/WebGLContextGL.cpp:3762 #19 0xb5529557 in mozilla::WebGLContext::LinkProgram (this=0xa189abc0, pobj=0x986e7d00) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/content/canvas/src/WebGLContextGL.cpp:3715 #20 0xb604d014 in mozilla::dom::WebGLRenderingContextBinding::linkProgram (cx=0x997f8500, obj=..., self=0xa189abc0, argc=1, vp=0xaf6ff198) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/obj-i686-pc-linux-gnu/dom/bindings/WebGLRenderingContextBinding.cpp:3603 #21 0xb604eaf6 in mozilla::dom::WebGLRenderingContextBinding::genericMethod (cx=0x997f8500, argc=1, vp=0xaf6ff198) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/obj-i686-pc-linux-gnu/dom/bindings/WebGLRenderingContextBinding.cpp:6716 #22 0xb6515ae7 in CallJSNative (args=..., native=<optimized out>, cx=0x997f8500) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/js/src/jscntxtinlines.h:372 #23 js::InvokeKernel (cx=0x997f8500, args=..., construct=js::NO_CONSTRUCT) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/js/src/jsinterp.cpp:352 #24 0xb650e83f in js::Interpret (cx=0x997f8500, entryFrame=0xaf6ff020, interpMode=js::JSINTERP_NORMAL) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/js/src/jsinterp.cpp:2414 #25 0xb65155a8 in js::RunScript (cx=0x997f8500, script=0x87608f30, fp=0xaf6ff020) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/js/src/jsinterp.cpp:309 #26 0xb6515827 in js::ExecuteKernel (cx=0x997f8500, script=..., scopeChain=..., thisv=..., type=js::EXECUTE_GLOBAL, evalInFrame=0x0, result=0x0) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/js/src/jsinterp.cpp:494 #27 0xb65159b5 in js::Execute (cx=0x997f8500, script=..., scopeChainArg=..., rval=0x0) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/js/src/jsinterp.cpp:532 #28 0xb649306d in JS::Evaluate (cx=0x997f8500, obj=..., options=..., chars=0x9c155e08, length=1533, rval=0x0) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/js/src/jsapi.cpp:5665 #29 0xb56f4f7c in nsJSContext::EvaluateString (this=0x98adf650, aScript=..., aScopeObject=<optimized out>, aPrincipal=0xa9d01640, aOriginPrincipal=0x0, aURL=0x9d11f388 "https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/misc/shader-with-too-many-uniforms.html", aLineNo=81, aVersion=JSVERSION_DEFAULT, aRetValue=0x0, aIsUndefined=0xbfd3feff) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/dom/base/nsJSEnvironment.cpp:1499 #30 0xb54a3224 in nsScriptLoader::EvaluateScript (this=0xa9d2fb40, aRequest=0xa9d13f40, aScript=...) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/content/base/src/nsScriptLoader.cpp:841 #31 0xb54a34d6 in nsScriptLoader::ProcessRequest (this=0xa9d2fb40, aRequest=0xa9d13f40) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/content/base/src/nsScriptLoader.cpp:734 #32 0xb54a4b80 in nsScriptLoader::ProcessScriptElement (this=0xa9d2fb40, aElement=0x8b9e8214) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/content/base/src/nsScriptLoader.cpp:680 #33 0xb54a1c25 in nsScriptElement::MaybeProcessScript (this=0x8b9e8214) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/content/base/src/nsScriptElement.cpp:136 #34 0xb58802df in AttemptToExecute (this=0x8b9e8214) at ../../dist/include/nsIScriptElement.h:220 #35 RunScript (aScriptElement=0x8b9e81d0, this=0x9d3ef100) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/parser/html/nsHtml5TreeOpExecutor.cpp:796 #36 nsHtml5TreeOpExecutor::RunScript (this=0x9d3ef100, aScriptElement=0x8b9e81d0) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/parser/html/nsHtml5TreeOpExecutor.cpp:761 #37 0xb58825ae in nsHtml5TreeOpExecutor::RunFlushLoop (this=0x9d3ef100) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/parser/html/nsHtml5TreeOpExecutor.cpp:600 #38 0xb5882aa2 in nsHtml5ExecutorReflusher::Run (this=0x8a8fff30) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/parser/html/nsHtml5TreeOpExecutor.cpp:66 #39 0xb60c4ca8 in nsThread::ProcessNextEvent (this=0xb3b14340, mayWait=false, result=0xbfd4062f) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/xpcom/threads/nsThread.cpp:624 #40 0xb6084d48 in NS_ProcessNextEvent_P (thread=<optimized out>, mayWait=false) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/obj-i686-pc-linux-gnu/xpcom/build/nsThreadUtils.cpp:220 #41 0xb5f1ef23 in mozilla::ipc::MessagePump::Run (this=0xb3b78070, aDelegate=0xb7216c20) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/ipc/glue/MessagePump.cpp:82 #42 0xb60f2660 in RunInternal (this=0xb7216c20) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/ipc/chromium/src/base/message_loop.cc:208 #43 RunHandler (this=0xb7216c20) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/ipc/chromium/src/base/message_loop.cc:201 #44 MessageLoop::Run (this=0xb7216c20) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/ipc/chromium/src/base/message_loop.cc:175 #45 0xb5e3dbbd in nsBaseAppShell::Run (this=0xb16966a0) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/widget/xpwidgets/nsBaseAppShell.cpp:163 #46 0xb5c7608f in nsAppStartup::Run (this=0xb16aceb0) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/toolkit/components/startup/nsAppStartup.cpp:273 #47 0xb4ffd23b in XREMain::XRE_mainRun (this=0xbfd408b4) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/toolkit/xre/nsAppRunner.cpp:3812 #48 0xb4ffed32 in XREMain::XRE_main (this=0xbfd408b4, argc=1, argv=0xbfd42b64, aAppData=0x8083380) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/toolkit/xre/nsAppRunner.cpp:3889 #49 0xb4fff018 in XRE_main (argc=1, argv=0xbfd42b64, aAppData=0x8083380, aFlags=0) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/toolkit/xre/nsAppRunner.cpp:3965 #50 0x0804a668 in do_main (argv=0xbfd42b64, argc=1) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/browser/app/nsBrowserApp.cpp:174 #51 main (argc=1, argv=0xbfd42b64) at /var/tmp/portage/www-client/firefox-17.0/work/mozilla-release/browser/app/nsBrowserApp.cpp:279 (gdb)
FWIW it crashes if I run all tests from here : https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html When I directly call this page https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/misc/shader-with-too-many-uniforms.html then it doesn't crash, but shows errors. Before that I watched the firefox process with top - in uses over 1.3G RAM and the full CPU power of 1 core of my i5 processor.
Severity: normal → critical
Keywords: crash
Sounds like a driver crash to me, as i965_dri.so is very near the top of your stack.
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #4) > Sounds like a driver crash to me, as i965_dri.so is very near the top of > your stack. That's file is part of MESA 9.0, but /me is wondering why it doesn't happen if that test case is called directly.
Here is the bt of gdb for 18.0.1: (gdb) bt #0 0xb7701424 in __kernel_vsyscall () #1 0x46b33f2e in raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42 #2 0xb4c754c1 in nsProfileLock::FatalSignalHandler (signo=11, info=0xbff3e58c, context=0xbff3e60c) at /var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/obj-i686-pc-linux-gnu/toolkit/profile/nsProfileLock.cpp:180 #3 <signal handler called> #4 0x91fc4939 in hash_table_insert (ht=0x2, data=0x76b2cc18, key=0x76b28718) at ../../../src/mesa/program/hash_table.c:140 #5 0xa56bf0cd in visit (ir=0x76b28718, this=<optimized out>) at brw_vec4_visitor.cpp:878 #6 brw::vec4_visitor::visit (this=0xbff3ec78, ir=0x76b28718) at brw_vec4_visitor.cpp:788 #7 0x9207a617 in ir_variable::accept (this=0x76b28718, v=0xbff3ec78) at ../../../src/glsl/ir.h:319 #8 0xa56bd11b in brw::vec4_visitor::visit_instructions (this=0xbff3ec78, list=0x76b65e68) at brw_vec4_visitor.cpp:358 #9 0xa56b81a0 in brw::vec4_visitor::run (this=0xbff3ec78) at brw_vec4_emit.cpp:784 #10 0xa56b8328 in brw::brw_vs_emit (prog=0x9e1ef598, c=0xbff474d0) at brw_vec4_emit.cpp:1062 #11 0xa566f383 in do_vs_prog (brw=0xa3e9c018, prog=0x9e1ef598, vp=0x76b4b000, key=0xbff6b20c) at brw_vs.c:242 #12 0xa566fee3 in brw_vs_precompile (ctx=0xa3e9c018, prog=0x9e1ef598) at brw_vs.c:489 #13 0xa56b4159 in brw_shader_precompile (ctx=0xa3e9c018, prog=0x9e1ef598) at brw_shader.cpp:73 #14 0xa56b454d in brw_link_shader (ctx=0xa3e9c018, shProg=0x9e1ef598) at brw_shader.cpp:215 #15 0x9205f93e in _mesa_glsl_link_shader (ctx=0xa3e9c018, prog=0x9e1ef598) at ../../../src/mesa/program/ir_to_mesa.cpp:3159 #16 0x91f477db in link_program (ctx=0xa3e9c018, program=<optimized out>) at ../../../src/mesa/main/shaderapi.c:773 #17 0xb52227a7 in fLinkProgram (program=6675, this=<optimized out>) at ../../../dist/include/GLContext.h:2611 #18 mozilla::WebGLContext::LinkProgram (this=0x6f73ea80, program=0x76b1ebe0) at /var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/content/canvas/src/WebGLConte---Type <return> to continue, or q <return> to quit--- xtGL.cpp:3030 #19 0xb5dafb6a in mozilla::dom::WebGLRenderingContextBinding::linkProgram (cx=0x93a9f600, obj=..., self=0x6f73ea80, argc=1, vp=0xaf7ff198) at /var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/obj-i686-pc-linux-gnu/dom/bindings/WebGLRenderingContextBinding.cpp:6015 #20 0xb5da2f16 in mozilla::dom::WebGLRenderingContextBinding::genericMethod (cx=0x93a9f600, argc=1, vp=0xaf7ff198) at /var/tmp/portage/www-client/firefox-18.0.1/work/mozilla-release/obj-i686-pc-linux-gnu/dom/bindings/WebGLRenderingContextBinding.cpp:9157 #21 0xa7b26a78 in ?? () #22 0xb7106ff4 in ?? () from /usr/lib/firefox/libxul.so Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Version: 17 Branch → 18 Branch
BTW the kernel (vanlla 3.7.8) gives : # sudo zgrep gen6 /var/log/messages 2013-02-17T10:32:58.451+01:00 n22 kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Timed out waiting for forcewake to ack request. 2013-02-17T10:32:58.451+01:00 n22 kernel: [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out 2013-02-17T10:32:58.470+01:00 n22 kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Timed out waiting for forcewake to ack request. 2013-02-17T10:32:58.470+01:00 n22 kernel: [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out 2013-02-17T10:37:59.000+01:00 n22 sudo: tfoerste : TTY=pts/1 ; PWD=/mnt/ramdisk ; USER=root ; COMMAND=/usr/bin/zgrep gen6 /var/log/messages
Whiteboard: [MemShrink]
Whiteboard: [MemShrink] → [MemShrink:P3]
Is this still occurring on Firefox 39? What about on Firefox 40 beta?
yep, in 39.0 I get this now : [New Thread 0x390104ff700 (LWP 980)] Program received signal SIGSEGV, Segmentation fault. 0x00000390055c56f6 in list_addtail (list=0x38fd4162018, item=0x38fc7ce64b0) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/util/list.h:70 70 /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/util/list.h: No such file or directory. (gdb) bt full #0 0x00000390055c56f6 in list_addtail (list=0x38fd4162018, item=0x38fc7ce64b0) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/util/list.h:70 No locals. #1 src_add_all_uses (src=src@entry=0x38fc7ce64a8, parent_instr=parent_instr@entry=0x38fc7ce6428, 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 No locals. #2 0x00000390055c7fcd in nir_instr_rewrite_src (instr=instr@entry=0x38fc7ce6428, src=src@entry=0x38fc7ce64a8, new_src=...) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir.c:1863 No locals. #3 0x00000390055d7e22 in copy_prop_alu_src (index=0, parent_alu_instr=0x38fc7ce6428) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir_opt_copy_propagate.c:185 src_instr = 0x38fd415fea8 alu_instr = 0x38fd415fea8 def = 0x38fd4162000 new_swizzle = {0, 0, 0, 0} src = 0x38fc7ce64a8 #4 copy_prop_instr (instr=0x38fc7ce6428) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir_opt_copy_propagate.c:214 i = 0 progress = false state = {parent_instr = 0x0, progress = false} #5 copy_prop_block (block=0x3900164fda8, _state=0x3fdde761dbf) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir_opt_copy_propagate.c:244 instr = 0x38fc7ce6428 progress = <optimized out> #6 0x00000390055c82d3 in nir_foreach_block (impl=0x38fce619088, cb=0x390055d7c30 <copy_prop_block>, state=0x3fdde761dbf) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir.c:2014 node = <optimized out> __next = 0x38fce6190b8 #7 0x00000390055d80ad 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 progress = true #8 nir_copy_prop (shader=shader@entry=0x38fc74ccc28) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/glsl/nir/nir_opt_copy_propagate.c:274 overload = 0x38fcbb746e8 func = 0x38fcbb74688 progress = false #9 0x000003900567bd38 in nir_optimize (nir=nir@entry=0x38fc74ccc28) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/mesa/drivers/dri/i965/brw_nir.c:39 progress = false #10 0x000003900567be22 in brw_create_nir (brw=0x38fef01f028, shader_prog=0x38ffd3ece68, 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 ctx = 0x38fef01f028 options = 0x390057437e4 <nir_options> shader = <optimized out> debug_enabled = false nir = 0x38fc74ccc28 msg_id = 1 #11 0x00000390056868fe in brw_link_shader (ctx=0x38fef01f028, shProg=0x38ffd3ece68) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/mesa/drivers/dri/i965/brw_shader.cpp:301 shader = <optimized out> options = 0x38fef01fb30 prog = 0x38fe24c1100 ---Type <return> to continue, or q <return> to quit--- stage = 2 #12 0x000003900550b18e in _mesa_glsl_link_shader (ctx=0x38fef01f028, prog=0x38ffd3ece68) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/mesa/program/ir_to_mesa.cpp:2964 i = <optimized out> #13 0x000003900542a19a in link_program (ctx=0x38fef01f028, program=<optimized out>) at /var/tmp/portage/media-libs/mesa-10.6.2/work/mesa-10.6.2/src/mesa/main/shaderapi.c:946 shProg = 0x38ffd3ece68 #14 0x0000039030605bbb in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #15 0x0000039030607c4b in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #16 0x00000390305df782 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #17 0x00000390302a44b2 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #18 0x000003903058335a in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #19 0x00000390319ebdd9 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #20 0x00000390319e6dba in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #21 0x00000390319ebb2f in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #22 0x00000390319ebd53 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #23 0x00000390319ed30f in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #24 0x00000390318d303a in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #25 0x00000390304606dd in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #26 0x000003902fcdf8fc in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #27 0x000003902fce0ebb in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #28 0x000003902fce11c5 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #29 0x000003902f2b41a2 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #30 0x000003902f2b4464 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #31 0x000003902f2b2c89 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #32 0x000003902f2ce3ba in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #33 0x000003902f52af84 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #34 0x000003902f4ff4ed in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #35 0x0000039030b44a08 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #36 0x000003903127803e in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #37 0x00000390312becaa in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #38 0x00000390312bf5f8 in ?? () from /usr/lib64/firefox/libxul.so No symbol table info available. #39 0x00000390312bf928 in XRE_main () from /usr/lib64/firefox/libxul.so No symbol table info available. #40 0x0000000000406094 in _start () No symbol table info available.
What Linux distribution is this with, Gentoo 32-bit? Are you building Firefox from source or running a binary provided by Mozilla? Would you be willing to test this in some other distributions (eg. Ubuntu or Fedora) to see if this reproduces there?
Version: 18 Branch → Trunk
Oh, it is a 64 bit Gentoo Linux, build from source : t44 ~ # emerge --info firefox Portage 2.2.20 (python 3.3.5-final-0, hardened/linux/amd64, gcc-4.8.4-vanilla, glibc-2.20-r2, 4.0.8-hardened x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.0.8-hardened-x86_64-Intel-R-_Core-TM-_i5-4300U_CPU_@_1.90GHz-with-gentoo-2.2 KiB Mem: 12030716 total, 8075396 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 20 Jul 2015 11:45:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 ccache version 3.1.9 [disabled] app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo dev-util/ccache: 3.1.9-r4::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: local location: /usr/local/portage masters: gentoo gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: 9999 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/var/tmp/distfiles" EMERGE_DEFAULT_OPTS="--keep-going=y --nospinner --tree --quiet-build --deep --autounmask --autounmask-unrestricted-atoms --autounmask-write" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X acl aes-ni alsa amd64 apache2 avx avx2 berkdb bzip2 cli consolekit corefonts cracklib crypt cups custom-cflags custom-optimization cxx dbus dnssec dri drmkms dvd ecc ffmpeg fontconfig fortran fpm gdbm git gnuplot gtk gudev gui hardened help iconv icu ipv6 isag jpeg justify kde libvirtd logrotate mbox minizip mmx mmxext modules multilib mysql ncurses nls nptl ogg opengl openmp pam pax_kernel pcre pcre16 pie plasma png policykit pwquality qemu qml qt3support qt5 readline scrypt session spice sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssp ssse3 svg system-cairo system-icu system-jpeg system-libvpx system-sqlite tcpd theora thinkpad threads tk tls truetype uml unicode urandom usb usbredir uxa v4l v4l2 video vorbis vpx widgets wxwidgets x264 xa xattr xkb xmp xscreensaver xtpax xvfb xvmc xz zenmap zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= www-client/firefox-39.0::gentoo was built with the following: USE="custom-cflags custom-optimization dbus hardened jemalloc3 minimal system-cairo system-icu system-jpeg system-libvpx system-sqlite -bindist -debug -egl (-gmp-autoupdate) -gstreamer -gstreamer-0 -jit (-neon) (-pgo) -pulseaudio (-selinux) -startup-notification -test -wifi" ABI_X86="64" LINGUAS="en_GB -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW" CFLAGS="-pipe -march=native -g -ggdb" CXXFLAGS="-pipe -march=native -g -ggdb" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro,-z,now"
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.
Lee, do you know what might be happening here?
Flags: needinfo?(lsalzman)
Whiteboard: [MemShrink:P3] → [MemShrink:P3][gfx-noted]
(In reply to Anthony Hughes, QA Mentor (:ashughes) from comment #13) > Lee, do you know what might be happening here? Not offhand. It just looks like a driver crash.
Flags: needinfo?(lsalzman)
(In reply to Lee Salzman [:lsalzman] from comment #14) > Not offhand. It just looks like a driver crash. Okay thanks. I'm at a loss as to what the next step should be.
Summary: ff crashes while running webgl test suite → Crash while running webgl test suite under Gentoo Linux
(In reply to Anthony Hughes, QA Mentor (:ashughes) [away until Jan 4, 2016] from comment #15) > (In reply to Lee Salzman [:lsalzman] from comment #14) > > Not offhand. It just looks like a driver crash. > > Okay thanks. I'm at a loss as to what the next step should be. Perhaps file bug report against the Intel graphics driver at bugs.freedesktop.org ?
(In reply to madbiologist from comment #16) > Perhaps file bug report against the Intel graphics driver at bugs.freedesktop.org? Yeah, that's probably all that can be done, I'll leave that to someone who can actually reproduce it. I'm closing this bug as invalid but feel free to reopen if you have any idea how we can resolve this in our code.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.