Closed Bug 1649905 Opened 4 years ago Closed 1 year ago

X11/NVIDIA: X11 session crashes on Invision website. Possibly fixed by driver 450.57.

Categories

(Core :: Widget: Gtk, defect, P3)

77 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: john, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

Hi, I'm hitting a bizarre bug in Invision with Firefox on Ubuntu.

If I mouse-over the screen of any mobile prototype in Invision (eg a blank iPhone X prototype), my machine crashes. The window manager crashes and I'm kicked back to the Ubuntu login screen.

Not sure where the bug lies, I've also reported to Invision, but obviously it shouldn't be possible for a website to crash my window manager!

This is with:

Firefox 77.0.1
Ubuntu 20.04
HP Probook 450 G6
Nvidia MX130 GPU
nvidia-driver-435

To reproduce:

  • register/login to https://www.invisionapp.com/ (a free account is fine)
  • Create prototype -> iPhone X -> set a name
  • Add a screen (upload any png)
  • View screen
  • mouse-over the emulator iPhone

Actual results:

Ubuntu's window manager crashes and I'm kicked back to the Ubuntu login page.

Expected results:

The preview to work as expected.

Just to confirm this also occurs with the latest recommended drivers (nvidia-driver-440)

Hey John,
I tried to reproduce this issue you're having on the latest version of Firefox Nightly 80.0a1 (2020-07-09), beta 79.0b5 and release 78.0.1 with both png and jpg pictures but I get no crashes. The project can be viewed without any issues.

Can you test the issue while in Safe Mode. You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .

Also a fresh new profile could help. You can find more about creating a new profile here : https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile .

If possible, you can test this issue on the nightly build as well. Download the build from : https://www.mozilla.org/en-US/firefox/nightly/all/ .

Flags: needinfo?(john)

Hi, I'm able to reproduce the bug with release 78.0.1 with a fresh profile, I'll try and test with nightly and beta as well.

As I said it seems to be any invision mobile preview that causes the crash, but here's one in particular (using Invision's demo project):

https://invis.io/3DXX1R497MH

It's worth noting that Invision engineers are able to reproduce a tab crash (though not a full window manager crash).

Flags: needinfo?(john)

Some more detail on this - it seems to be related to the proprietary Nvidia drivers bundled with Ubuntu - if I switch to the open source drivers (xserver-xorg-video-nouveau) then the issue doesn't occur.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Can you submit and share here any crashes you have at about:crashes page?
Thanks.

Flags: needinfo?(john)
Priority: -- → P3
Summary: Browser (and Ubuntu) crashes on Invision website → [NVIDIA] Browser (and Ubuntu) crashes on Invision website

Hi, sorry for a slow reply. about:crashes is empty - like I say it's crashing the whole window manager, not just the browser (I think the Invision engineer was seeing a browser tab crash but they don't seem to want to pursue it further).

Just to confirm I'm still seeing this with nvidia-driver-440, and not with the open source driver (xserver-xorg-video-nouveau).

Flags: needinfo?(john)

Also still seeing this with Firefox 79.0

Can you try https://nightly.mozilla.org? Thanks!

Hi, yes I can reproduce with the current nightly (firefox-81.0a1.en-US.linux-x86_64)

Attached file cursor.html

The only thing that seems to change is the cursor. Does it crash if you hover the grey area in this testcase?

No the grey background doesn't cause a crash, but anywhere within the phone mockup does.

I say it's crashing the whole window manager

This is a driver bug, so it's not really actionable on our side, though one could switch to software WebRender I guess. If NVIDIA still hasn't fixed this I may be worth refiling here and we can blacklist it.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → INACTIVE

FWIW This is also WORKSFORME on nvidia-driver-510 and an RTX3xxx series card. I guess the exact card may matter though.

It could have been this:
https://forums.developer.nvidia.com/t/crash-probably-of-x11-after-i-enter-with-the-mouse-into-a-scaled-virtualbox-machine/126555
https://www.nvidia.com/download/driverresults.aspx/162107/en-us/

Version: 450.57
Release Date: 2020.7.9
Operating System: Linux 64-bit

Fixed a bug that could cause the X server to crash when using large cursor images with PRIME display offloading.

Blocks: wr-nv-linux
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Resolution: INACTIVE → WORKSFORME
Summary: [NVIDIA] Browser (and Ubuntu) crashes on Invision website → X11/NVIDIA: X11 session crashes on Invision website. Possibly fixed by driver 450.57.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: