[Desktop-packages] [Bug 1855997] Re: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1
Launchpad has imported 22 comments from the remote bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1601082. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2019-12-03T21:39:27+00:00 Pts+bmo wrote: User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0 Steps to reproduce: 1. Open Firefox and make sure it's the default browser. 2. Open another application that can open links in the default browser. Use that application to open a new tab. 3. Change which window has focus. Actual results: Changing which window has focus causes Firefox to crash. (Sometimes the act of opening the link causes the change of focus so the crash happens as part of step 2, but the first several times I tried, I read the whole article and it only crashed when I switched away.) Expected results: It shouldn't crash. You should be able to change which window has focus normally. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/8 On 2019-12-03T21:46:50+00:00 Pts+bmo wrote: I submitted this in crashreporter a few times, e.g.: 5007f351-8b66-43b8-94c1-61bf60191203 36c530fc-462c-45dd-abbc-ce08d0191203 66d7e78e-d1d4-42b7-81f3-3f1d30191203 Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/9 On 2019-12-04T01:10:02+00:00 Pts+bmo wrote: Okay, I've finally narrowed it down. This only happens when `MOZ_USE_XINPUT2=1` is set in the environment. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/10 On 2019-12-04T01:59:00+00:00 Pts+bmo wrote: (In reply to Peter Simonyi from comment #2) > Okay, I've finally narrowed it down. This only happens when > `MOZ_USE_XINPUT2=1` is set in the environment. Hm, I thought that was true, but it's happening again without it set. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/11 On 2019-12-04T05:56:48+00:00 Pts+bmo wrote: Okay, the trigger seems to be just using Wayland. Tested with a fresh installation and fresh profile in a fresh user account, the only change being setting `MOZ_ENABLE_WAYLAND=1`. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/12 On 2019-12-04T07:53:18+00:00 Pts+bmo wrote: Regression range: https://hg.mozilla.org/releases/mozilla-beta/pushloghtml?fromchange=4b70ece3af6ccc09d0dd09e850f68628aded1467=4c3bb8394488a27d2e9a2913c4716055604cf068 I can't find a bad build in mozilla-central though. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/13 On 2019-12-04T08:23:35+00:00 madperson wrote: based on the regression range, i'll assume it got introduced by bug 1592350. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/14 On 2019-12-04T08:30:04+00:00 Pts+bmo wrote: That seems like the most likely one, but only when it was uplifted. I tried mozilla-inbound build built on 2019-11-05 11:37:23.61, revision 4d585c7e (first build with bug 1592350 fixed) and it does not crash. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/15 On 2019-12-04T15:19:36+00:00 Pts+bmo wrote: This also seems to crash when using the switch-to-tab function of the location bar. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/16 On 2019-12-05T17:42:21+00:00 Spastorino wrote: If I click `What's New` on the Firefox About dialog it happens the same thing. I guess it's the same issue. Also using `MOZ_ENABLE_WAYLAND=1` Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/18 On 2019-12-07T13:08:52+00:00 Farid wrote: I can confirm I am also affected using Wayland, under sway. The bug disappears either by downgrading to 70.0.1 or by disabling the MOZ_ENABLE_WAYLAND environment variable (and thus using XWayland). Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/19 On
[Desktop-packages] [Bug 1855997] Re: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1
** Bug watch added: Mozilla Bugzilla #1601082 https://bugzilla.mozilla.org/show_bug.cgi?id=1601082 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1855997 Title: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1 Status in Mozilla Firefox: Unknown Status in firefox package in Ubuntu: Fix Released Bug description: Steps to reproduce: - make sure Firefox is not running - export MOZ_ENABLE_WAYLAND=1 - firefox then in a new terminal - export MOZ_ENABLE_WAYLAND=1 - firefox www.google.com Expectation: - a new tab opens in the Firefox window, loading google Actual result: - firefox crashes This is a recent regression: it used to work fine in 70.0.1+build1-0ubuntu0.19.10.1, broke when I upgraded to 71.0+build5-0ubuntu0.19.10.1. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: firefox 71.0+build5-0ubuntu0.19.10.1 ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10 Uname: Linux 5.3.0-24-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu8.2 Architecture: amd64 BuildID: 20191205203726 CurrentDesktop: ubuntu:GNOME Date: Wed Dec 11 09:26:41 2019 DefaultProfileExtensions: extensions.sqlite corrupt or missing DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) DefaultProfileLocales: extensions.sqlite corrupt or missing DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:722 DefaultProfileThemes: extensions.sqlite corrupt or missing EcryptfsInUse: Yes InstallationDate: Installed on 2019-06-12 (181 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) Profiles: Profile1 (Default) - LastVersion=None/None (Out of date) Profile0 - LastVersion=71.0/20191205203726 (In use) SourcePackage: firefox UpgradeStatus: Upgraded to eoan on 2019-10-18 (53 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1855997/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1855997] Re: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1
According to the upstream bug (https://bugzilla.mozilla.org/show_bug.cgi?id=1601082), this was affecting firefox 71 only. Marking fixed accordingly. ** Bug watch added: Mozilla Bugzilla #1601082 https://bugzilla.mozilla.org/show_bug.cgi?id=1601082 ** Changed in: firefox Importance: Medium => Unknown ** Changed in: firefox Status: Invalid => Unknown ** Changed in: firefox Remote watch: Mozilla Bugzilla #1598995 => Mozilla Bugzilla #1601082 ** Changed in: firefox (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1855997 Title: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1 Status in Mozilla Firefox: Unknown Status in firefox package in Ubuntu: Fix Released Bug description: Steps to reproduce: - make sure Firefox is not running - export MOZ_ENABLE_WAYLAND=1 - firefox then in a new terminal - export MOZ_ENABLE_WAYLAND=1 - firefox www.google.com Expectation: - a new tab opens in the Firefox window, loading google Actual result: - firefox crashes This is a recent regression: it used to work fine in 70.0.1+build1-0ubuntu0.19.10.1, broke when I upgraded to 71.0+build5-0ubuntu0.19.10.1. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: firefox 71.0+build5-0ubuntu0.19.10.1 ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10 Uname: Linux 5.3.0-24-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu8.2 Architecture: amd64 BuildID: 20191205203726 CurrentDesktop: ubuntu:GNOME Date: Wed Dec 11 09:26:41 2019 DefaultProfileExtensions: extensions.sqlite corrupt or missing DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) DefaultProfileLocales: extensions.sqlite corrupt or missing DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:722 DefaultProfileThemes: extensions.sqlite corrupt or missing EcryptfsInUse: Yes InstallationDate: Installed on 2019-06-12 (181 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) Profiles: Profile1 (Default) - LastVersion=None/None (Out of date) Profile0 - LastVersion=71.0/20191205203726 (In use) SourcePackage: firefox UpgradeStatus: Upgraded to eoan on 2019-10-18 (53 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1855997/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1855997] Re: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1
Launchpad has imported 14 comments from the remote bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1598995. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2019-11-25T04:03:50+00:00 Bjonnh-ff wrote: User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0 Steps to reproduce: - Open firefox (empty or used profile, no difference) - Open an URL from xdg or from a terminal (firefox-developer-edition https://www.mozilla.org) Actual results: Firefox Crashes and ask to restart. If I run firefox in a terminal I see: (firefoxdeveloperedition:496386): Gdk-WARNING **: 21:58:25.007: (../gtk/gdk/wayland/gdkwindow-wayland.c:810):buffer_release_callback: runtime check failed: (impl->staging_cairo_surface != cairo_surface) firefox: cairo-surface.c:930: cairo_surface_reference: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (>ref_count)' failed. ExceptionHandler::GenerateDump cloned child 496921 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Expected results: Firefox should open a new tab Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/0 On 2019-11-25T04:11:39+00:00 Bjonnh-ff wrote: I tried with setting GDK_BACKEND=x11. As long as GDK_BACKEND is set for the new firefox call, when adding a new tab in a terminal it works. If I set GDK_BACKEND only for the initial firefox call, the subsequent calls in another terminal with GDK_BACKEND unset do not open a new tab, and after a few seconds a window saying that firefox is not responding appears. I will make firefox run in X11 mode for now. But I would be happy run any experiment that could help solve that issue. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/1 On 2019-11-25T04:17:16+00:00 Release-mgmt-account-bot wrote: [Bugbug](https://github.com/mozilla/bugbug/) thinks this bug should belong to this component, but please revert this change in case of error. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/2 On 2019-11-26T13:32:37+00:00 Stransky wrote: Which desktop do you run? And do you see it also with nightly and release? Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/3 On 2019-11-28T18:47:02+00:00 Bjonnh-ff wrote: I do not see it with release. Desktop is gnome-shell. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/4 On 2019-11-28T18:59:12+00:00 Bjonnh-ff wrote: Doesn't happen with 20191128-firefox-72.0a1 . So I guess it has been fixed and will make its way in the DE? Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/5 On 2019-11-29T22:04:04+00:00 François Glais wrote: Isn't it expected to have some issues when meddling with GDK_BACKEND? Wouldn't the use of MOZ_ENABLE_WAYLAND=1 solve the issue? Or Firefox really tries to support both approaches? Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/6 On 2019-12-02T17:40:11+00:00 Bjonnh-ff wrote: I only used GDK_BACKEND to revert to x11 (and then solving the issue). GDK_BACKEND was unset in the issue reported. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/comments/7 On 2019-12-04T21:59:57+00:00 Maxime de Roucy wrote: I can confirm this bug. Archlinux (uptodate) Mozilla Firefox 71.0 Same result with `MOZ_ENABLE_WAYLAND=1` or `GDK_BACKEND=wayland`. ``` max@mde-oxalide % MOZ_ENABLE_WAYLAND=1 firefox (firefox:2094): Gdk-WARNING **: 22:52:46.806: (../gtk/gdk/wayland/gdkwindow-wayland.c:810):buffer_release_callback: runtime check failed: (impl->staging_cairo_surface != cairo_surface) firefox: cairo-surface.c:930: cairo_surface_reference: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (>ref_count)' failed. ExceptionHandler::GenerateDump cloned
[Desktop-packages] [Bug 1855997] Re: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1
** Changed in: firefox (Ubuntu) Importance: Undecided => High ** Changed in: firefox (Ubuntu) Status: Confirmed => Triaged ** Also affects: firefox via https://bugzilla.mozilla.org/show_bug.cgi?id=1598995 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1855997 Title: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1 Status in Mozilla Firefox: Unknown Status in firefox package in Ubuntu: Triaged Bug description: Steps to reproduce: - make sure Firefox is not running - export MOZ_ENABLE_WAYLAND=1 - firefox then in a new terminal - export MOZ_ENABLE_WAYLAND=1 - firefox www.google.com Expectation: - a new tab opens in the Firefox window, loading google Actual result: - firefox crashes This is a recent regression: it used to work fine in 70.0.1+build1-0ubuntu0.19.10.1, broke when I upgraded to 71.0+build5-0ubuntu0.19.10.1. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: firefox 71.0+build5-0ubuntu0.19.10.1 ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10 Uname: Linux 5.3.0-24-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu8.2 Architecture: amd64 BuildID: 20191205203726 CurrentDesktop: ubuntu:GNOME Date: Wed Dec 11 09:26:41 2019 DefaultProfileExtensions: extensions.sqlite corrupt or missing DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) DefaultProfileLocales: extensions.sqlite corrupt or missing DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:722 DefaultProfileThemes: extensions.sqlite corrupt or missing EcryptfsInUse: Yes InstallationDate: Installed on 2019-06-12 (181 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) Profiles: Profile1 (Default) - LastVersion=None/None (Out of date) Profile0 - LastVersion=71.0/20191205203726 (In use) SourcePackage: firefox UpgradeStatus: Upgraded to eoan on 2019-10-18 (53 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1855997/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1855997] Re: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: firefox (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1855997 Title: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1 Status in firefox package in Ubuntu: Confirmed Bug description: Steps to reproduce: - make sure Firefox is not running - export MOZ_ENABLE_WAYLAND=1 - firefox then in a new terminal - export MOZ_ENABLE_WAYLAND=1 - firefox www.google.com Expectation: - a new tab opens in the Firefox window, loading google Actual result: - firefox crashes This is a recent regression: it used to work fine in 70.0.1+build1-0ubuntu0.19.10.1, broke when I upgraded to 71.0+build5-0ubuntu0.19.10.1. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: firefox 71.0+build5-0ubuntu0.19.10.1 ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10 Uname: Linux 5.3.0-24-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu8.2 Architecture: amd64 BuildID: 20191205203726 CurrentDesktop: ubuntu:GNOME Date: Wed Dec 11 09:26:41 2019 DefaultProfileExtensions: extensions.sqlite corrupt or missing DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) DefaultProfileLocales: extensions.sqlite corrupt or missing DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:722 DefaultProfileThemes: extensions.sqlite corrupt or missing EcryptfsInUse: Yes InstallationDate: Installed on 2019-06-12 (181 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) Profiles: Profile1 (Default) - LastVersion=None/None (Out of date) Profile0 - LastVersion=71.0/20191205203726 (In use) SourcePackage: firefox UpgradeStatus: Upgraded to eoan on 2019-10-18 (53 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1855997] Re: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1
Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1598995 (same steps to reproduce, and I see the same "runtime check failed: (impl->staging_cairo_surface != cairo_surface)" errors in my journal that correspond to Firefox crashes) ** Bug watch added: Mozilla Bugzilla #1598995 https://bugzilla.mozilla.org/show_bug.cgi?id=1598995 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1855997 Title: firefox www.google.com crashes when a firefox instance is already running and MOZ_ENABLE_WAYLAND is set to 1 Status in firefox package in Ubuntu: New Bug description: Steps to reproduce: - make sure Firefox is not running - export MOZ_ENABLE_WAYLAND=1 - firefox then in a new terminal - export MOZ_ENABLE_WAYLAND=1 - firefox www.google.com Expectation: - a new tab opens in the Firefox window, loading google Actual result: - firefox crashes This is a recent regression: it used to work fine in 70.0.1+build1-0ubuntu0.19.10.1, broke when I upgraded to 71.0+build5-0ubuntu0.19.10.1. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: firefox 71.0+build5-0ubuntu0.19.10.1 ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10 Uname: Linux 5.3.0-24-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu8.2 Architecture: amd64 BuildID: 20191205203726 CurrentDesktop: ubuntu:GNOME Date: Wed Dec 11 09:26:41 2019 DefaultProfileExtensions: extensions.sqlite corrupt or missing DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) DefaultProfileLocales: extensions.sqlite corrupt or missing DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:722 DefaultProfileThemes: extensions.sqlite corrupt or missing EcryptfsInUse: Yes InstallationDate: Installed on 2019-06-12 (181 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) Profiles: Profile1 (Default) - LastVersion=None/None (Out of date) Profile0 - LastVersion=71.0/20191205203726 (In use) SourcePackage: firefox UpgradeStatus: Upgraded to eoan on 2019-10-18 (53 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1855997/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp