Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox *always* crashes in emulated x86-64 Ubuntu VM on M1 Mac #6459

Closed
freebrowser1 opened this issue Jul 6, 2024 · 3 comments
Closed

Comments

@freebrowser1
Copy link

Describe the issue
Running Firefox (122 or later, including 127) in Ubuntu results in a crash of Firefox. Sometimes it loads shortly and sometimes it crashes immediately.
Other browsers (Brave or Vivaldi x86-64 version) do run normally.

I had the issue in Ubuntu 22.04LTS and I installed a fresh 24.04LTS, in both it is reproducible.

Strange that all apps work normally except Firefox, so it should be a combination of Firefox and QEMU.
Do I use the wrong QEMU parameters ?

Configuration

  • UTM Version: 4.4.5
  • macOS Version: 14.5
  • Mac Chip : M1

Crash log
The VM or UTM did not crash, but Firefox.
firefox.crash.zip
Screenshot 2024-07-06 at 12 57 17

Debug log
debug.log.zip

Upload VM
config.plist.zip

@freebrowser1 freebrowser1 changed the title Firefox crashes in emulated x86-64 Ubuntu VM on M1 Mac Firefox *always* crashes in emulated x86-64 Ubuntu VM on M1 Mac Jul 6, 2024
@moipcr
Copy link

moipcr commented Aug 3, 2024

Do you try with other browser? I see that you are using Snap, try avoid Snap or Flat firstly.

@freebrowser1
Copy link
Author

freebrowser1 commented Aug 3, 2024

Do you try with other browser? I see that you are using Snap, try avoid Snap or Flat firstly.

Yes, I tried Vivaldi, same issue (under Linux Lite, an XCFE4 version of Ubuntu 24.04 and Xubuntu 22.04.
None of these Linuxes contain Snap or Flatpak.
I removed them as well from ARM VM and on a Raspberry Pi device, because snap is a resource hog.

Here the log of Vivaldi when started from Terminal.

user@Xubuntu:~$ vivaldi
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2325:2325:0803/212210.284693:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2399:2399:0803/212212.817245:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
[2331:2338:0803/212213.482768:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -107
[2331:2338:0803/212213.513659:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -107
Fontconfig error: Cannot load default config file: No such file: (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2445:2445:0803/212214.240322:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2369:7:0803/212215.321844:ERROR:command_buffer_proxy_impl.cc(132)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[2368:7:0803/212215.333771:ERROR:command_buffer_proxy_impl.cc(132)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[2283:2283:0803/212222.395469:ERROR:service_worker_task_queue.cc(246)] DidStartWorkerFail mpognobbkildjkofajifpdfhcoklimli: 18
[2283:2283:0803/212230.705134:ERROR:CONSOLE(242)] "<webview>: Script cannot be injected into content until the page has loaded.", source: extensions::webView (242)
[2283:2305:0803/212231.819126:ERROR:mime_util_xdg.cc(137)] Invalid mime.cache file does not contain null prior to ALIAS_LIST_OFFSET=44
[2283:2283:0803/212233.137868:ERROR:CONSOLE(242)] "<webview>: Script cannot be injected into content until the page has loaded.", source: extensions::webView (242)
[2283:2283:0803/212233.249613:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: The tab was closed.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/window.html (0)
[2283:2283:0803/212237.168496:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Cannot access contents of url "https://vivaldi.com/new/". Extension manifest must request permission to access this host.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/window.html (0)
[2331:2338:0803/212242.436866:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -107
[2331:2338:0803/212242.448193:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -107
[0803/212257.925429:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0803/212257.929356:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[0803/212345.671780:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0803/212345.672044:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[2283:2283:0803/212420.200007:ERROR:capture_page.cc(427)] timeout waiting for capture result
[2283:2283:0803/212420.201397:ERROR:thumbnails_api.cc(283)] Failed to capture https://www.treehugger.com/climate-crisis-4846076
[0803/212707.788617:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0803/212707.791079:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[2283:2283:0803/212709.440593:ERROR:vivaldi_ui_web_contents_delegate.cc(53)] UI Process abnormally terminates with status 3 after running for 297.336 seconds!
[2283:2283:0803/212709.677558:ERROR:vivaldi_ui_web_contents_delegate.cc(79)] Restarting Vivaldi
klaas@Xubuntu:~$ libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[4664:4664:0803/212713.522367:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[4736:4736:0803/212715.570094:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization

@osy
Copy link
Contributor

osy commented Aug 21, 2024

Duplicate of #5749

@osy osy marked this as a duplicate of #5749 Aug 21, 2024
@osy osy closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants