NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.72k stars 13.85k forks source link

Firefox Coredump wayland nvidia #202560

Open jrgiacone opened 1 year ago

jrgiacone commented 1 year ago

Describe the bug

A clear and concise description of what the bug is. Firefox coredumps every time it is opened

Steps To Reproduce

Steps to reproduce the behavior: have a wayland session, reset firefox via about:support, lauch firefox via terminal or launcher

Expected behavior

Launch without coredump

Screenshots

ov 23 09:04:44 nixos systemd-coredump[27378]: [🡕] Process 27363 (.firefox-wrappe) of user 1000 dumped core.

                                               Module /nix/store/zai6bxyyjm3lwb0adylybb5dpq3gmm3d-firefox-unwrapped-107.0/lib/firefox/liblgpllibs.so with build-id f9a94bff26355905
                                               Module linux-vdso.so.1 with build-id 42655a4c792660e2abbc559b1e902553ddf56fe1
                                               Module libxshmfence.so.1 without build-id.
                                               Module libxcb-sync.so.1 without build-id.
                                               Module libxcb-present.so.0 without build-id.
                                               Module libxcb-dri3.so.0 without build-id.
                                               Module libxcb-xfixes.so.0 without build-id.
                                               Module libxcb-dri2.so.0 without build-id.
                                               Module libglapi.so.0 without build-id.
                                               Module libEGL_mesa.so.0 without build-id.
                                               Module libgbm.so.1 without build-id.
                                               Module libdrm.so.2 without build-id.
                                               Module libnvidia-egl-gbm.so.1 with build-id 1f14517fa9fd345aa89bd27bb435d0379b5e0f65
                                               Module libnvidia-eglcore.so.525.53 with build-id 60aeb546ef374628c1e867097a5795d2d8d3a922
                                               Module libwayland-server.so.0 with build-id 5242ffb956db542ff0f783f1f6e401e31db2b4e1
                                               Module libnvidia-egl-wayland.so.1 with build-id 6294ea8515ebbf553e93c04594a2b381f398292e
                                               Module libEGL_nvidia.so.0 with build-id 0fec2b8ecd4c49b9879f792067af73d5efe11738
                                               Module libX11-xcb.so.1 without build-id.
                                               Module libdbus-glib-1.so.2 without build-id.
                                               Module libvpx.so.7 without build-id.
                                               Module libevent-2.1.so.7 without build-id.
                                               Module libwebp.so.7 without build-id.
                                               Module libwebpdemux.so.2 without build-id.
                                               Module libnssutil3.so without build-id.
                                               Module libnss3.so without build-id.
                                               Module libsmime3.so without build-id.
                                               Module libssl3.so without build-id.
                                               Module libXtst.so.6 without build-id.
                                               Module libXdamage.so.1 without build-id.
                                               Module libasound.so.2 without build-id.
                                               Module libxul.so with build-id 56f70986ce197aca
                                               Module libmozwayland.so with build-id eaae979f98d23559
                                               Module libnvidia-glcore.so.525.53 with build-id e563fa599b181f94a8dfdf492a9cec16ba352e14
                                               Module libnvidia-tls.so.525.53 with build-id 7308ef60b45c7b2b81a7b268b346928d761749fc
                                               Module libnvidia-glsi.so.525.53 with build-id 6c54aac15cc76905f2a5959db8c512092bdd6ef0
                                               Module libGLX_nvidia.so.0 with build-id c14404370fe3fd825c331c8aac572ac82b901e57
                                               Module libgpg-error.so.0 without build-id.
                                               Module liblz4.so.1 without build-id.
                                               Module libzstd.so.1 without build-id.
                                               Module liblzma.so.5 without build-id.
                                               Module libgcrypt.so.20 without build-id.
                                               Module libcap.so.2 without build-id.
                                               Module libstdc++.so.6 without build-id.
                                               Module libicudata.so.72 without build-id.
                                               Module libsystemd.so.0 without build-id.
                                               Module libGLX.so.0 without build-id.
                                               Module libXdmcp.so.6 without build-id.
                                               Module libXau.so.6 without build-id.
                                               Module libGLdispatch.so.0 without build-id.
                                               Module libdatrie.so.1 without build-id.
                                               Module libpcre.so.1 without build-id.
                                               Module libblkid.so.1 with build-id 815fe497c371d8cd4fadb3a89ebec4e6eadd2ebd
                                               Module libsqlite3.so.0 with build-id 377f9d7f0fb8f5896be673d87eb739eb7866db92
                                               Module libxml2.so.2 without build-id.
                                               Module libjson-glib-1.0.so.0 without build-id.
                                               Module libicui18n.so.72 without build-id.
                                               Module libicuuc.so.72 without build-id.
                                               Module libdbus-1.so.3 without build-id.
                                               Module libatspi.so.0 without build-id.
                                               Module libjpeg.so.62 without build-id.
                                               Module libexpat.so.1 without build-id.
                                               Module libbz2.so.1 without build-id.
                                               Module libGL.so.1 without build-id.
                                               Module libXrender.so.1 without build-id.
                                               Module libxcb-render.so.0 without build-id.
                                               Module libxcb.so.1 without build-id.
                                               Module libxcb-shm.so.0 without build-id.
                                               Module libpng16.so.16 without build-id.
                                               Module libEGL.so.1 without build-id.
                                               Module libpixman-1.so.0 with build-id a4a8d46c6b2f698ceaf6661c79d06700493d31ab
                                               Module libgraphite2.so.3 without build-id.
                                               Module libfreetype.so.6 without build-id.
                                               Module libthai.so.0 without build-id.
                                               Module libselinux.so.1 without build-id.
                                               Module libmount.so.1 with build-id c156b713bf6c805f448a2ae24955d6dd50b1a9f7
                                               Module libz.so.1 without build-id.
                                               Module libffi.so.8 without build-id.
                                               Module libpcre2-8.so.0 without build-id.
                                               Module libXinerama.so.1 without build-id.
                                               Module libXrandr.so.2 without build-id.
                                               Module libXcomposite.so.1 without build-id.
                                               Module libXcursor.so.1 without build-id.
                                               Module libXext.so.6 without build-id.
                                               Module libwayland-egl.so.1 with build-id 829b0d466efdcd33043060d9b65c6cc2ae5d9c3f
                                               Module libwayland-cursor.so.0 with build-id 0e67a6a159a20f61b5cd40f8515787865707fdae
                                               Module libwayland-client.so.0 with build-id 32510500ffebcd029183bf83954dd57e270cbd50
                                               Module libxkbcommon.so.0 without build-id.
                                               Module libXfixes.so.3 without build-id.
                                               Module libtracker-sparql-3.0.so.0 without build-id.
                                               Module libatk-bridge-2.0.so.0 without build-id.
                                               Module libX11.so.6 without build-id.
                                               Module libXi.so.6 without build-id.
                                               Module libepoxy.so.0 without build-id.
                                               Module libatk-1.0.so.0 without build-id.
                                               Module libgdk_pixbuf-2.0.so.0 with build-id 33710bc6117d110ba177a98aa1e355947fecbb55
                                               Module libcairo-gobject.so.2 with build-id 3ee7735300658bc62f1f896ff1ae96a4e0263468
                                               Module libfribidi.so.0 without build-id.
                                               Module libfontconfig.so.1 without build-id.
                                               Module libpangoft2-1.0.so.0 without build-id.
                                               Module libcairo.so.2 with build-id ba8bf3afd8222e993a81747d6a233a302a3eba4e
                                               Module libharfbuzz.so.0 without build-id.
                                               Module libpango-1.0.so.0 without build-id.
                                               Module libpangocairo-1.0.so.0 without build-id.
                                               Module libgio-2.0.so.0 with build-id 642d5088835bfc4c9c5f2ea43ef46563acac7392
                                               Module libgobject-2.0.so.0 with build-id b3d62f0a98dd7c3bd09dc9d71311536426f209e6
                                               Module libglib-2.0.so.0 with build-id 522716a104c0328adf9cf62159b6cc0cfd89708f
                                               Module libgmodule-2.0.so.0 with build-id 27c70f13f297ced4f6dfd5cca6397aa6fbdb7f8c
                                               Module libgdk-3.so.0 with build-id 5c0c8e6522ddf513f2feff7d375f8d2abc2f8e45
                                               Module libgtk-3.so.0 with build-id c2a9d8d86610f8715a7ba479f0a1c3e2bff60663
                                               Module libmozgtk.so with build-id 0381718bf8c5f0d9
                                               Module libmozsqlite3.so with build-id baf96c09316383c2
                                               Module libdl.so.2 with build-id 67c430223def0be24c4ae1a4c3985f26566b8831
                                               Module librt.so.1 with build-id 7c9aae26f0646a27bf0f7c49c914b3258c5fa43e
                                               Module libnspr4.so without build-id.
                                               Module libplc4.so without build-id.
                                               Module libplds4.so without build-id.
                                               Module libmozsandbox.so with build-id dc78c243bf75cb39
                                               Module ld-linux-x86-64.so.2 with build-id db50353a26600bb848b9a5541b1506e0a24cb34b
                                               Module libc.so.6 with build-id 2bb226bc600b443958c7566207d0d02f8345e6ea
                                               Module libgcc_s.so.1 without build-id.
                                               Module libm.so.6 with build-id b8454b40db819599169f3a948939aed4b3fc7f82
                                               Module libpthread.so.0 with build-id 85431f01160c3de171d3baeb3f8cf1c9578dc441
                                               Module firefox with build-id f9b7881e1ec7ad77
                                               Stack trace of thread 27363:
                                               #0  0x00007f9512605330 wl_list_insert (libwayland-client.so.0 + 0xb330)
                                               #1  0x00007f9512601f48 wl_display_read_events (libwayland-client.so.0 + 0x7f48)
                                               #2  0x00007f9512602689 wl_display_dispatch_queue (libwayland-client.so.0 + 0x8689)
                                               #3  0x00007f951260295f wl_display_roundtrip_queue (libwayland-client.so.0 + 0x895f)
                                               #4  0x00007f950a5039b4 childgltest (libxul.so + 0x6b989b4)
                                               #5  0x00007f9506ddcc79 _Z20fire_glxtest_processv (libxul.so + 0x3471c79)
                                               #6  0x00007f9506dda380 _ZN7XREMain12XRE_mainInitEPb (libxul.so + 0x346f380)
                                               #7  0x00007f9506dcc6b4 _ZN7XREMain8XRE_mainEiPPcRKN7mozilla15BootstrapConfigE (libxul.so + 0x34616b4)
                                               #8  0x00007f9506dcb8a9 _Z8XRE_mainiPPcRKN7mozilla15BootstrapConfigE (libxul.so + 0x34608a9)
                                               #9  0x000055ffa402fac0 main (firefox + 0xcaac0)
                                               #10 0x00007f951480024e __libc_start_call_main (libc.so.6 + 0x2924e)
                                               #11 0x00007f9514800309 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x29309)
                                               #12 0x000055ffa406d985 _start (firefox + 0x108985)
                                               ELF object binary architecture: AMD x86-64

Additional context

Add any other context about the problem here.

Notify maintainers

@mweinelt @vcunat

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[jrgiacone@nixos:~]$ nix-shell -p nix-info --run "nix-info -m"
these 33 paths will be fetched (58.35 MiB download, 267.47 MiB unpacked):
  /nix/store/1s3ifgirxw3x89b64a6sg6pxydgz8cr1-findutils-4.9.0
  /nix/store/1wf98fslhfph028xhkxdbp3q8y8rhr02-diffutils-3.8
  /nix/store/25nm17pd42qmyczrkh80ya2hh9jvgp0g-gnumake-4.3
  /nix/store/2bg235ac1s6cpxwr1pjagn6bj8q2425l-gcc-wrapper-11.3.0
  /nix/store/48mnkga4kh84xyiqwzx8v7iv090i7z66-stdenv-linux
  /nix/store/4xynblhic6sq4paq2ra4ql535yyvracs-glibc-2.35-163-bin
  /nix/store/5a3k6k06abh6wzpgll6hadvsnxd9gc5z-attr-2.5.1
  /nix/store/71lr8dndinlkiyjmdcgi8kq2xhjdchn6-xz-5.2.7-bin
  /nix/store/7bdilcs9ygs5dwynn798f26060fggp7g-patchelf-0.15.0
  /nix/store/8n0vynbqbdwv1chfs3y4byf6v50pra99-readline-8.1p2
  /nix/store/8xmmwmb6r6hc6f3cdh64mbi138p96vpg-gcc-11.3.0
  /nix/store/9za4bb6zxwwz6jcd2v6dd84801gh41vj-ncurses-6.3-p20220507
  /nix/store/acslph124hwcca3dkccd7ybl7wmc5j3p-gzip-1.12
  /nix/store/aqzcdb4xzpqdz40jg9fyrzjh0kxxyg41-expand-response-params
  /nix/store/bj1i5gr4l6p5pkcfyp48mni85d2ydz71-binutils-wrapper-2.39
  /nix/store/c4ljcavrnmdm28dcm8vld2szg9raj36r-acl-2.3.1
  /nix/store/dxz4jr6gj2day09ribxiai0406p64nm0-file-5.43
  /nix/store/jvhh6i1647pn2f1kay9xk8b7i8acdjh1-gnused-4.8
  /nix/store/m142rmlj114xwgwgf6k2gvvm33zxkbia-nix-info
  /nix/store/m2jgkyyr88nmxil78c4jx1sh4xzw7y1v-gnutar-1.34
  /nix/store/ng9ympy1v966rmp0d00yaj87n7f8cn38-gmp-with-cxx-stage4-6.2.1
  /nix/store/pky549lagmy659wh8rabiy0aydq4xv6h-linux-headers-6.0
  /nix/store/pmgnlnbygb95s4zc8sqhknz9sdz934pk-binutils-2.39
  /nix/store/pq5rfrihdhhj6aqjh9ix8dycgp55ij8p-gawk-5.1.1
  /nix/store/rcr0k2c7yl708k264k2jb9f6zdzglbz7-bash-interactive-5.1-p16
  /nix/store/rxsp481311w6d2ci16q2c0mx9wv46bjw-glibc-2.35-163-dev
  /nix/store/sd3bp6jgzgzgpknhzwi85k6b8psjda9f-pcre-8.45
  /nix/store/sqypvzmrsl8hil564xfk8n5w51gq47h0-gnugrep-3.7
  /nix/store/swgaxaxg1xp8wbydgz6dy0hdip8kbgid-ed-1.18
  /nix/store/van5xy9axychdx2q7b4mv9apqhxfng3b-bzip2-1.0.8-bin
  /nix/store/xjk7y6cbxn8g54b0fh67rs1h69g62hnl-patch-2.7.6
  /nix/store/xq4g38m5ppg78z7bzfxyy2s8ii693k74-coreutils-9.1
  /nix/store/y0g1mvsr6vygr61f9znljik9kl0x0inc-bash-5.1-p16
copying path '/nix/store/y0g1mvsr6vygr61f9znljik9kl0x0inc-bash-5.1-p16' from 'https://cache.nixos.org'...
copying path '/nix/store/pq5rfrihdhhj6aqjh9ix8dycgp55ij8p-gawk-5.1.1' from 'https://cache.nixos.org'...
copying path '/nix/store/5a3k6k06abh6wzpgll6hadvsnxd9gc5z-attr-2.5.1' from 'https://cache.nixos.org'...
copying path '/nix/store/van5xy9axychdx2q7b4mv9apqhxfng3b-bzip2-1.0.8-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/swgaxaxg1xp8wbydgz6dy0hdip8kbgid-ed-1.18' from 'https://cache.nixos.org'...
copying path '/nix/store/aqzcdb4xzpqdz40jg9fyrzjh0kxxyg41-expand-response-params' from 'https://cache.nixos.org'...
copying path '/nix/store/dxz4jr6gj2day09ribxiai0406p64nm0-file-5.43' from 'https://cache.nixos.org'...
copying path '/nix/store/25nm17pd42qmyczrkh80ya2hh9jvgp0g-gnumake-4.3' from 'https://cache.nixos.org'...
copying path '/nix/store/jvhh6i1647pn2f1kay9xk8b7i8acdjh1-gnused-4.8' from 'https://cache.nixos.org'...
copying path '/nix/store/acslph124hwcca3dkccd7ybl7wmc5j3p-gzip-1.12' from 'https://cache.nixos.org'...
copying path '/nix/store/pky549lagmy659wh8rabiy0aydq4xv6h-linux-headers-6.0' from 'https://cache.nixos.org'...
copying path '/nix/store/9za4bb6zxwwz6jcd2v6dd84801gh41vj-ncurses-6.3-p20220507' from 'https://cache.nixos.org'...
copying path '/nix/store/7bdilcs9ygs5dwynn798f26060fggp7g-patchelf-0.15.0' from 'https://cache.nixos.org'...
copying path '/nix/store/71lr8dndinlkiyjmdcgi8kq2xhjdchn6-xz-5.2.7-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/4xynblhic6sq4paq2ra4ql535yyvracs-glibc-2.35-163-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/ng9ympy1v966rmp0d00yaj87n7f8cn38-gmp-with-cxx-stage4-6.2.1' from 'https://cache.nixos.org'...
copying path '/nix/store/pmgnlnbygb95s4zc8sqhknz9sdz934pk-binutils-2.39' from 'https://cache.nixos.org'...
copying path '/nix/store/c4ljcavrnmdm28dcm8vld2szg9raj36r-acl-2.3.1' from 'https://cache.nixos.org'...
copying path '/nix/store/sd3bp6jgzgzgpknhzwi85k6b8psjda9f-pcre-8.45' from 'https://cache.nixos.org'...
copying path '/nix/store/xjk7y6cbxn8g54b0fh67rs1h69g62hnl-patch-2.7.6' from 'https://cache.nixos.org'...
copying path '/nix/store/m2jgkyyr88nmxil78c4jx1sh4xzw7y1v-gnutar-1.34' from 'https://cache.nixos.org'...
copying path '/nix/store/xq4g38m5ppg78z7bzfxyy2s8ii693k74-coreutils-9.1' from 'https://cache.nixos.org'...
copying path '/nix/store/sqypvzmrsl8hil564xfk8n5w51gq47h0-gnugrep-3.7' from 'https://cache.nixos.org'...
copying path '/nix/store/8n0vynbqbdwv1chfs3y4byf6v50pra99-readline-8.1p2' from 'https://cache.nixos.org'...
copying path '/nix/store/1wf98fslhfph028xhkxdbp3q8y8rhr02-diffutils-3.8' from 'https://cache.nixos.org'...
copying path '/nix/store/1s3ifgirxw3x89b64a6sg6pxydgz8cr1-findutils-4.9.0' from 'https://cache.nixos.org'...
copying path '/nix/store/rcr0k2c7yl708k264k2jb9f6zdzglbz7-bash-interactive-5.1-p16' from 'https://cache.nixos.org'...
copying path '/nix/store/rxsp481311w6d2ci16q2c0mx9wv46bjw-glibc-2.35-163-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/m142rmlj114xwgwgf6k2gvvm33zxkbia-nix-info' from 'https://cache.nixos.org'...
copying path '/nix/store/8xmmwmb6r6hc6f3cdh64mbi138p96vpg-gcc-11.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/bj1i5gr4l6p5pkcfyp48mni85d2ydz71-binutils-wrapper-2.39' from 'https://cache.nixos.org'...
copying path '/nix/store/2bg235ac1s6cpxwr1pjagn6bj8q2425l-gcc-wrapper-11.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/48mnkga4kh84xyiqwzx8v7iv090i7z66-stdenv-linux' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.0.9, NixOS, 22.11 (Raccoon), 22.11.20221121.20fc948`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - channels(jrgiacone): `""`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
vcunat commented 1 year ago

If that's a recent regression for you, perhaps using the xwayland variant helps you? I believe you can try by running MOZ_ENABLE_WAYLAND=0 firefox

jrgiacone commented 1 year ago

If that's a recent regression for you, perhaps using the xwayland variant helps you? I believe you can try by running MOZ_ENABLE_WAYLAND=0 firefox

Hi just tried and it still coredumps, both give the issue with the gpu:

[jrgiacone@nixos:~]$ firefox
[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)

confirmed via about:support that it is running in xwayland

mweinelt commented 1 year ago

Do you get the crash reporter dialog and are you submitting a report?

jrgiacone commented 1 year ago

Do you get the crash reporter dialog and are you submitting a report?

there is no crash screen that shows up, it launches as normal just without any GPU acceleration and works fine on x11 if I run via xmonad, the issue does not show up on other distributions as far as I can tell, I can look more into it on my arch SSD. The cordedump shows up in my logs via "journalctl -p 3 -b"

mweinelt commented 1 year ago

Is this a problem that started happening with 107.0?

jrgiacone commented 1 year ago

Is this a problem that started happening with 107.0?

I am a bit new to nix so unsure have only been using it since 107, unsure how to test an older version, if you can guide me on how to do it, I would be more than happy to test an older version to help out!