Firefox crashes continuosly on navigation
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: vfbsilva, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crashreportid)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Steps to reproduce:
Opened sites like youtube, reddit
Actual results:
the system app crashes with the following errors:
(firefox:94335): Gtk-WARNING **: 14:12:22.861: Locale not supported by C library.
Using the fallback 'C' locale.
[GFX1-]: Detect DeviceReset DeviceResetReason::RESET DeviceResetDetectPlace::WR_POST_UPDATE in Parent process
[Parent 94335, Compositor] WARNING: Call to mmap failed: Bad file descriptor: file /usr/src/debug/firefox/firefox-128.0/ipc/chromium/src/base/shared_memory_posix.cc:515
ExceptionHandler::GenerateDump attempting to generate:/home/vfbsilva/.mozilla/firefox/vl21pvic.default-release/minidumps/14c71085-ca46-dbde-834e-186463172f04.dmp
ExceptionHandler::GenerateDump cloned child ExceptionHandler::WaitForContinueSignal waiting for continue signal...
95317
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::GenerateDump minidump generation succeeded
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.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
and on the app report:
Accessibility: Active
AdapterDeviceID: 0x2503
AdapterDriverVendor: nvidia/unknown
AdapterDriverVersion: 555.58.2.0
AdapterVendorID: 0x10de
Add-ons: langpack-pt-BR%40firefox.mozilla.org:128.0.20240704.121409,webapps%40mendeley.com:3.2.78,%7Bf209234a-76f0-4735-9920-eb62507a54cd%7D:3.98,adblockultimate%40adblockultimate.net:3.8.26,%40testpilot-containers:8.1.3,rf-firefox%40siber.com:9.6.5.0,langpack-de%40firefox.mozilla.org:128.0.20240704.121409,de_DE%40dicts.j3e.de:20180701.2resigned1,foxyproxy%40eric.h.jung:8.9,%7Bb9db16a4-6edc-47ec-a1f4-b86292ed211d%7D:9.0.2.12,formautofill%40mozilla.org:1.0.1,pictureinpicture%40mozilla.org:1.0.0,webcompat%40mozilla.org:128.3.0,default-theme%40mozilla.org:1.3,addons-search-detection%40mozilla.com:2.0.0,google%40search.mozilla.org:1.4,wikipedia%40search.mozilla.org:1.3,bing%40search.mozilla.org:1.6,ddg%40search.mozilla.org:1.4,mercadolivre%40search.mozilla.org:1.1
AvailablePageFile: 0
AvailablePhysicalMemory: 5913427968
AvailableSwapMemory: 155648
AvailableVirtualMemory: 23074537472
BackgroundTaskMode: 0
BuildID: 20240719093654
ContentSandboxCapabilities: 119
ContentSandboxCapable: 1
ContentSandboxLevel: 4
CrashTime: 1721495794
DOMFissionEnabled: 1
DOMIPCEnabled: 1
DesktopEnvironment: kde
EMCheckCompatibility: true
EventLoopNestingLevel: 1
GpuSandboxLevel: 0
GraphicsNumActiveRenderers: 1
GraphicsNumRenderers: 1
HeadlessMode: 0
IPCFatalErrorMsg: SharedMemory::WriteHandle failed
IPCSystemError: 9
InstallTime: 1721418884
IsWayland: 1
LastStartupWasCrash: 0
LinuxUnderMemoryPressure: 0
MozCrashReason: MOZ_CRASH(IPC FatalError in the parent process!)
Notes: EndeavourOSFP(D00-L1000-W0000000-T01) Has dual GPUs. GPU #2: AdapterVendorID2: 0x1002, AdapterDeviceID2: 0x164eWR? WR+ EGL? EGL- GL Context? GL Context+ WebGL? WebGL+
ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
ProductName: Firefox
RDDProcessStatus: Running
ReleaseChannel: release
SafeMode: 0
SecondsSinceLastCrash: 160
StartupCacheValid: 1
StartupCrash: 0
StartupTime: 1721495778
SubmittedFrom: Client
TelemetryClientId: 3402b9bd-76f4-4325-bab0-4dc94c10a074
TelemetryEnvironment: {"build":{"applicationId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","applicationName":"Firefox","architecture":"x86-64","buildId":"20240719093654","version":"128.0","vendor":"Mozilla","displayVersion":"128.0","platformVersion":"128.0","xpcomAbi":"x86_64-gcc3","updaterAvailable":false},"partner":{"distributionId":"archlinux","distributionVersion":"1.0","partnerId":null,"distributor":"archlinux","distributorChannel":"firefox","partnerNames":["archlinux"]},"system":{"memoryMB":31301,"virtualMaxMB":null,"cpu":{"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4A","hasSSE4_1","hasSSE4_2","hasAVX","hasAVX2","hasAES"]},"os":{"name":"Linux","version":"6.6.40-1-lts","locale":"pt-BR","distro":"EndeavourOS","distroVersion":"2024.01.25"},"hdd":{"profile":{"model":null,"revision":null,"type":null},"binary":{"model":null,"revision":null,"type":null},"system":{"model":null,"revision":null,"type":null}},"gfx":{"D2DEnabled":null,"DWriteEnabled":null,"ContentBackend":"Skia","Headless":false,"EmbeddedInFirefoxReality":null,"TargetFrameRate":60,"adapters":[{"description":"NVIDIA GeForce RTX 3060/PCIe/SSE2","vendorID":"0x10de","deviceID":"0x2503","subsysID":null,"RAM":0,"driver":null,"driverVendor":"nvidia/unknown","driverVersion":"555.58.2.0","driverDate":null,"GPUActive":true},{"description":null,"vendorID":"0x1002","deviceID":"0x164e","subsysID":null,"RAM":null,"driver":null,"driverVendor":null,"driverVersion":null,"driverDate":null,"GPUActive":false}],"monitors":[{"screenWidth":2560,"screenHeight":1440}],"features":{"compositor":"webrender","hwCompositing":{"status":"available"},"gpuProcess":{"status":"unused"},"webrender":{"status":"available"},"wrCompositor":{"status":"blocked:FEATURE_FAILURE_DISABLE_RELEASE_OR_BETA"},"openglCompositing":{"status":"available"},"omtp":{"status":"unused"}}},"appleModelId":null,"hasWinPackageId":null},"settings":{"blocklistEnabled":true,"e10sEnabled":true,"e10sMultiProcesses":8,"fissionEnabled":true,"telemetryEnabled":false,"locale":"pt-BR","intl":{"requestedLocales":["pt-BR"],"availableLocales":["pt-BR","de","en-US"],"appLocales":["pt-BR","en-US"],"systemLocales":["pt-BR"],"regionalPrefsLocales":["pt-BR"],"acceptLanguages":["pt-BR","pt","en-US","en"]},"update":{"channel":"release","enabled":false,"autoDownload":false,"background":false},"userPrefs":{"browser.search.region":"BR","browser.search.widget.inNavBar":false,"browser.startup.homepage":"<user-set>","browser.urlbar.autoFill":true,"browser.urlbar.autoFill.adaptiveHistory.enabled":false,"browser.urlbar.dnsResolveSingleWordsAfterSearch":0,"browser.urlbar.quicksuggest.dataCollection.enabled":false,"browser.urlbar.suggest.quicksuggest.nonsponsored":false,"browser.urlbar.suggest.quicksuggest.sponsored":false,"media.gmp-gmpopenh264.lastInstallStart":1710600159,"media.gmp-gmpopenh264.lastDownload":1710600160,"media.gmp-gmpopenh264.lastDownloadFailed":1710262804,"media.gmp-gmpopenh264.lastDownloadFailReason":"Error: Failed downloading via ServiceRequest, status: 0, channelStatus: 2152398878, errorCode: 2, reason: error","media.gmp-gmpopenh264.lastUpdate":1710600160,"media.gmp-widevinecdm.lastInstallStart":1707139043,"media.gmp-widevinecdm.lastDownload":1707139044,"media.gmp-widevinecdm.lastUpdate":1707139044,"media.gmp-manager.lastCheck":1721419201,"media.gmp-manager.lastEmptyCheck":1721419201,"network.trr.strict_native_fallback":false,"signon.rememberSignons":false,"signon.firefoxRelay.feature":"offered","widget.content.gtk-high-contrast.enabled":true},"sandbox":{"effectiveContentProcessLevel":4,"contentWin32kLockdownState":3},"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":false},"profile":{"creationDate":19758,"firstUseDate":19758},"addons":{"activeAddons":{"webapps@mendeley.com":{"version":"3.2.78","scope":1,"type":"extension","updateDay":19758,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Importação rápida e conveniente de referências e PDFs para sua biblioteca no Mendeley Reference Mana","name":"Mendeley Web Importer","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19758,"signedState":2,"signedTypes":"[2,0]","quarantineIgnoredByApp":false,"quarantineIgnoredByUser":false},"{f209234a-76f0-4735-9920-eb62507a54cd}":{"version":"3.98","scope":1,"type":"extension","updateDay":19758,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Legally get full text of scholarly articles as you browse.","name":"Unpaywall","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19758,"signedState":2,"signedTypes":"[2,0]","quarantineIgnoredByApp":false,"quarantineIgnoredByUser":false},"@testpilot-containers":{"version":"8.1.3","scope":1,"type":"extension","updateDay":19758,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"O Multi-Account Containers ajuda a manter todas as partes de sua vida online contidas em abas difere","name":"Firefox Multi-Account Containers","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19758,"signedState":2,"signedTypes":"[2,0]","quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false},"foxyproxy@eric.h.jung":{"version":"8.9","scope":1,"type":"extension","updateDay":19813,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Ferramenta avançada de gerenciamento de proxy fácil de usar para todos","name":"FoxyProxy","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19813,"signedState":2,"signedTypes":"[2,0]","quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false},"de_DE@dicts.j3e.de":{"version":"20180701.2resigned1","scope":1,"type":"dictionary","updateDay":19839,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Deutsches Wörterbuch igerman98 (de_DE, Deutschland, "neue" Rechtschreibung), für Firefox, Thunderbir","name":"German dictionary (de_DE)","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19760,"quarantineIgnoredByApp":false,"quarantineIgnoredByUser":false},"langpack-pt-BR@firefox.mozilla.org":{"version":"128.0.20240704.121409","scope":1,"type":"locale","updateDay":19915,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Firefox Language Pack for Português (BR) (pt-BR) – Brazilian Portuguese","name":"Language: Português (BR)","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19758,"signedState":2,"signedTypes":"[2,1]","quarantineIgnoredByApp":false,"quarantineIgnoredByUser":false},"langpack-de@firefox.mozilla.org":{"version":"128.0.20240704.121409","scope":1,"type":"locale","updateDay":19915,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Firefox Language Pack for Deutsch (de) – German","name":"Language: Deutsch (German)","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19759,"signedState":2,"signedTypes":"[2,1]","quarantineIgnoredByApp":false,"quarantineIgnoredByUser":false},"rf-firefox@siber.com":{"version":"9.6.5.0","scope":1,"type":"extension","updateDay":19920,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"O RoboForm facilita sua vida lembrando senhas e entrando em sites automaticamente","name":"Gerenciador de senhas RoboForm","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19758,"signedState":2,"signedTypes":"[2,1]","quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false},"adblockultimate@adblockultimate.net":{"version":"3.8.26","scope":1,"type":"extension","updateDay":19922,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"O AdBlocker é gratuito e robusto. Remove completamente TODOS os anúncios. Não há anúncios "aceitávei","name":"AdBlocker Ultimate","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19758,"signedState":2,"signedTypes":"[2,1]","quarantineIgnoredByApp":false,"quarantineIgnoredByUser":false},"{b9db16a4-6edc-47ec-a1f4-b86292ed211d}":{"version":"9.0.2.12","scope":1,"type":"extension","updateDay":19923,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Baixar vídeos da Web","name":"Video DownloadHelper","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19923,"signedState":2,"signedTypes":"[2,0]","quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false},"formautofill@mozilla.org":{"version":"1.0.1","scope":1,"type":"extension","updateDay":19923,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":null,"name":"Form Autofill","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19745,"quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false},"pictureinpicture@mozilla.org":{"version":"1.0.0","scope":1,"type":"extension","updateDay":19923,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Fixes for web compatibility with Picture-in-Picture","name":"Picture-In-Picture","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19745,"quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false},"webcompat@mozilla.org":{"version":"128.3.0","scope":1,"type":"extension","updateDay":19923,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Urgent post-release fixes for web compatibility.","name":"Web Compatibility Interventions","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19745,"quarantineIgnoredByApp":true,"quarantineIgnoredByUser":false}},"theme":{"id":"default-theme@mozilla.org","blocklisted":false,"description":"Seguir a configuração do sistema operacional de botões, menus e janelas.","name":"Tema do sistema — automático","userDisabled":false,"appDisabled":false,"version":"1.3","scope":4,"foreignInstall":false,"hasBinaryComponents":false,"installDay":19758,"updateDay":19758},"activeGMPlugins":{"gmp-gmpopenh264":{"version":"2.3.2","userDisabled":false,"applyBackgroundUpdates":1},"gmp-widevinecdm":{"version":"4.10.2710.0","userDisabled":false,"applyBackgroundUpdates":1}}},"experiments":{"long-term-holdback-2024-h2-velocity-desktop":{"branch":"delivery","type":"nimbus-nimbus"},"add-an-image-to-pdf-with-alt-text-rollout":{"branch":"control","type":"nimbus-rollout"},"csv-import-release-rollout":{"branch":"enable-csv-import","type":"nimbus-rollout"},"ech-roll-out":{"branch":"rollout","type":"nimbus-rollout"},"upgrade-spotlight-rollout":{"branch":"treatment","type":"nimbus-rollout"},"relay-integration-into-firefox-118-release-for-all-fxa-and-autofill-users":{"branch":"enable-relay-integration","type":"nimbus-rollout"},"extensions-migration-in-import-wizard-116-rollout":{"branch":"control","type":"nimbus-rollout"},"device-migration-q4-spotlights-remaining-population":{"branch":"treatment","type":"nimbus-rollout"},"phc-rollout":{"branch":"rollout","type":"nimbus-rollout"},"highlighting-in-pdfs-rollout":{"branch":"treatment","type":"nimbus-rollout"},"consolidated-search-configuration-row-desktop-relaunch":{"branch":"rollout","type":"nimbus-rollout"},"disable-redirects-for-authretries":{"branch":"control","type":"nimbus-rollout"}}}
TelemetryServerURL: https://incoming.telemetry.mozilla.org
TelemetrySessionId: 32fcbcf0-b39e-4707-a51a-9daaa965d9e2
Throttleable: 1
TotalPageFile: 33358692352
TotalPhysicalMemory: 32821825536
URL: https://www.youtube.com/watch?v=mzTs1E5kPDM
UptimeTS: 16.33009152
UtilityProcessStatus: Running
Vendor: Mozilla
Version: 128.0
useragent_locale: pt-BR
This report also contains technical information about the state of the application when it crashed.
Expected results:
The websites should be displayed
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Please provide the crash ID from about:crashes :
https://firefox-source-docs.mozilla.org/contributing/debugging/stacktrace_report.html explains how to do this. When doing so, please also add the keyword "crashreportid" to the "Keywords" field of this report.
downgrading egl-wayland did the trick for me. Related info was found here: https://forum.endeavouros.com/t/firefox-keeps-crashing/58291/9
crashreportid: 0586450f-96c5-4ad4-a7ac-af8a00240720
Comment 4•2 years ago
|
||
(In reply to vfbsilva from comment #3)
downgrading egl-wayland did the trick for me. Related info was found here: https://forum.endeavouros.com/t/firefox-keeps-crashing/58291/9
crashreportid: 0586450f-96c5-4ad4-a7ac-af8a00240720
This is an OOM in graphics code.
https://crash-stats.mozilla.org/report/index/0586450f-96c5-4ad4-a7ac-af8a00240720
Updated•2 years ago
|
Comment 5•2 years ago
|
||
It seems that the OOM error is not actually due to an OOM:
// We don't support unmapping for this surface, and we failed to map it.
This might be due to a bug in a new version of egl-wayland or us misusing its API.
Andrew, what do you think?
Comment 6•2 years ago
|
||
This really is typically an OOM (lack of virtual memory), but it is on a 64-bit platform, so in practice we almost never see it. We are trying to map in the shared memory backing a SourceSurfaceSharedData and failing. There is "only" 22GB of virtual memory space available, so something clearly used up most of the memory.
See this for a list of failures:
https://searchfox.org/mozilla-central/source/ipc/chromium/src/base/shared_memory_posix.cc#502-527
If it really isn't an OOM but something else, we would need a log file to see what the error is. Since this is Linux, you should be able to capture the MOZ_LOG for the "chromium" module on the command line, even if Firefox crashes by adding an environment variable:
MOZ_LOG="chromium:5" /path/to/firefox 2>&1 | tee test.log
But what I suspect would be more useful is a memory report (go to about:memory, and hit measure, and save the report). I realize that might be challenging to acquire. It should hopefully provide evidence to prove whether or not a leak was present in Firefox with the newer Wayland.
(In reply to Andrew Osmond [:aosmond] (he/him) from comment #6)
This really is typically an OOM (lack of virtual memory), but it is on a 64-bit platform, so in practice we almost never see it. We are trying to map in the shared memory backing a SourceSurfaceSharedData and failing. There is "only" 22GB of virtual memory space available, so something clearly used up most of the memory.
See this for a list of failures:
https://searchfox.org/mozilla-central/source/ipc/chromium/src/base/shared_memory_posix.cc#502-527If it really isn't an OOM but something else, we would need a log file to see what the error is. Since this is Linux, you should be able to capture the MOZ_LOG for the "chromium" module on the command line, even if Firefox crashes by adding an environment variable:
MOZ_LOG="chromium:5" /path/to/firefox 2>&1 | tee test.logBut what I suspect would be more useful is a memory report (go to about:memory, and hit measure, and save the report). I realize that might be challenging to acquire. It should hopefully provide evidence to prove whether or not a leak was present in Firefox with the newer Wayland.
Not sure if I did the right procedure I downgraded wayand again:
atenção: fazendo downgrade do pacote egl-wayland (3:1.1.13-1 => 2:1.1.13-1)
And I'm running firefox as mentioned:
MOZ_LOG="chromium:5" /usr/bin/firefox 2>&1 | tee test.log
But acessing youtube did not crash it. Not sure if im missing something.
Comment 8•2 years ago
|
||
Looks like dupe of Bug 1908825.
Description
•