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: Gah. Your tab just crashed #162

Open
gyurmogyuri opened this issue Jun 6, 2021 · 6 comments
Open

Firefox: Gah. Your tab just crashed #162

gyurmogyuri opened this issue Jun 6, 2021 · 6 comments

Comments

@gyurmogyuri
Copy link

Why? Do you can help me?

`
[Packages CPU architecture:
aarch64
Subscribed repositories:

sources.list

deb https://packages.termux.org/apt/termux-main/ stable main

game-repo (sources.list.d/game.list)

deb https://packages.termux.org/apt/termux-games games stable

x11-repo (sources.list.d/x11.list)

deb https://packages.termux.org/apt/termux-x11 x11 main

science-repo (sources.list.d/science.list)

deb https://packages.termux.org/apt/termux-science science stable
Updatable packages:
All packages up to date
Android version:
10
Kernel build information:
Linux localhost 4.14.117-perf-g0f2347b #1 SMP PREEMPT Wed Apr 14 00:56:01 CST 2021 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
MI 9`

`$ startarch l gyurmo
[gyurmo@localhost ~]$ dbus-launch vncserver :1 & [1] 24990
[gyurmo@localhost ~]$ Using desktop session xfce New 'localhost:1 (gyurmo)' desktop is localhost:1
Starting desktop session xfce _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Xvnc TigerVNC 1.11.0 - built Nov 24 2020 20:54:48 Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst) See https://www.tigervnc.org for information on TigerVNC. Underlying X server release 12009000, The X.Org Foundation Sun Jun 6 10:34:53 2021 vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0 xinit: XFree86_VT property unexpectedly has 0 items instead of 1 Running X session wrapper
Loading profile from /etc/profile Loading xinit script /etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
Loading xinit script /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
Failed to import environment: Process org.freedesktop.systemd1 exited with status 1
X session wrapper complete, running session startxfce4 /usr/bin/startxfce4: X server already running on display :1 Failed to import environment: Process org.freedesktop.systemd1 exited with status 1
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root

(xfwm4:25241): xfwm4-WARNING **: 10:34:57.807: Unsupported GL renderer (llvmpipe (LLVM 11.1.0, 128 bits)).

** (xfce4-power-manager:25307): WARNING **: 10:35:00.453: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name

** (xfce4-power-manager:25307): WARNING **: 10:35:00.455: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name

Xfce power manager is not running
Xlib: extension "DPMS" missing on display ":1".

(xfce4-power-manager:25307): xfce4-power-manager-WARNING **: 10:35:00.508: Monitor is not DPMS capable

(xfce4-power-manager:25307): GLib-GIO-CRITICAL **: 10:35:00.512: g_dbus_connection_signal_subscribe: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(xfce4-power-manager:25307): libnotify-WARNING **: 10:35:00.552: Failed to connect to proxy

** (wrapper-2.0:25302): WARNING **: 10:35:00.764: No outputs have backlight property

(xfce4-power-manager:25307): libupower-glib-WARNING **: 10:35:00.775: Couldn't connect to proxy: Could not connect: No such file or directory
Xfce Power Manager: Another power manager is already running

** (xfpm-power-backlight-helper:25337): WARNING **: 10:35:00.811: failed to find any devices: Error opening directory ?/sys/class/backlight?: Permission denied

(wrapper-2.0:25302): libupower-glib-WARNING **: 10:35:00.820: Couldn't connect to proxy: Could not connect: No such file or directory

(polkit-gnome-authentication-agent-1:25329): polkit-gnome-1-WARNING **: 10:35:00.874: Error getting authority: Error initializing authority: Could not connect: No such file or directory

(wrapper-2.0:25302): GLib-GObject-WARNING **: 10:35:00.879: invalid (NULL) pointer instance

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:00.882: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(wrapper-2.0:25302): GLib-GObject-WARNING **: 10:35:00.882: invalid (NULL) pointer instance

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:00.884: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(xfce4-power-manager:25307): xfce4-power-manager-CRITICAL **: 10:35:00.914: Error getting system bus connection : Could not connect: No such file or directory

(xfce4-power-manager:25307): xfce4-power-manager-CRITICAL **: 10:35:00.920: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:25307): xfce4-power-manager-CRITICAL **: 10:35:00.921: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:25307): xfce4-power-manager-CRITICAL **: 10:35:00.921: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:25307): xfce4-power-manager-CRITICAL **: 10:35:00.925: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed

(xfce4-power-manager:25307): xfce4-power-manager-CRITICAL **: 10:35:00.928: Unable to connect to the system bus : Could not connect: No such file or directory

(xfce4-power-manager:25307): xfce4-power-manager-WARNING **: 10:35:00.951: could not map keysym 1008ffa8 to keycode

(xfce4-power-manager:25307): xfce4-power-manager-WARNING **: 10:35:00.957: Unable connect to system bus: Could not connect: No such file or directory

(wrapper-2.0:25303): GLib-GIO-CRITICAL **: 10:35:00.958: g_file_new_for_path: assertion 'path != NULL' failed

(wrapper-2.0:25303): GLib-GIO-CRITICAL **: 10:35:00.958: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed

(wrapper-2.0:25303): GLib-GObject-WARNING **: 10:35:00.958: invalid (NULL) pointer instance

(wrapper-2.0:25303): GLib-GObject-CRITICAL **: 10:35:00.958: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

** (xfce4-power-manager:25307): WARNING **: 10:35:00.958: No outputs have backlight property

(wrapper-2.0:25303): Gtk-WARNING **: 10:35:00.959: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.

** (xfpm-power-backlight-helper:25349): WARNING **: 10:35:00.981: failed to find any devices: Error opening directory ?/sys/class/backlight?: Permission denied

(xfce4-power-manager:25307): xfce4-power-manager-CRITICAL **: 10:35:00.988: Unable to get system bus connection : Could not connect: No such file or directory

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.074: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:01.074: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(wrapper-2.0:25302): GLib-GObject-WARNING **: 10:35:01.074: invalid (NULL) pointer instance

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:01.076: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:01.076: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.076: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:01.078: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(wrapper-2.0:25302): GLib-CRITICAL **: 10:35:01.078: g_strrstr: assertion 'haystack != NULL' failed

(wrapper-2.0:25308): libactions-WARNING **: 10:35:01.078: Calling CanShutdown failed GDBus.Error:org.xfce.SessionManager.Error.Failed: Could not connect: No such file or directory

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.079: up_client_get_lid_is_present: assertion 'UP_IS_CLIENT (client)' failed

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.080: up_client_get_on_battery: assertion 'UP_IS_CLIENT (client)' failed

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:01.080: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(wrapper-2.0:25302): GLib-CRITICAL **: 10:35:01.080: g_strrstr: assertion 'haystack != NULL' failed

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.086: up_client_get_lid_is_present: assertion 'UP_IS_CLIENT (client)' failed

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.086: up_client_get_on_battery: assertion 'UP_IS_CLIENT (client)' failed

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:01.086: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.090: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.090: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:01.091: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.092: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.092: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed

(wrapper-2.0:25302): GLib-GObject-CRITICAL **: 10:35:01.092: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(wrapper-2.0:25308): libactions-WARNING **: 10:35:01.097: Calling CanRestart failed GDBus.Error:org.xfce.SessionManager.Error.Failed: Could not connect: No such file or directory

(xfce4-session:25132): xfce4-session-WARNING **: 10:35:01.121: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

** (xfdesktop:25298): WARNING **: 10:35:01.157: Failed to get system bus: Could not connect: No such file or directory

(xfce4-session:25132): xfce4-session-WARNING **: 10:35:01.166: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(wrapper-2.0:25302): libupower-glib-CRITICAL **: 10:35:01.168: up_client_get_devices2: assertion 'UP_IS_CLIENT (client)' failed

(xfce4-session:25132): xfce4-session-WARNING **: 10:35:01.204: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(wrapper-2.0:25303): Gtk-WARNING **: 10:35:01.339: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:25308): Gtk-WARNING **: 10:35:01.385: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)

(wrapper-2.0:25302): Gtk-WARNING **: 10:35:01.419: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PowerManagerButton)
[gyurmo@localhost ~]$ export DISPLAY=":1"
[gyurmo@localhost ~]$ firefox
[Parent 26645, Main Thread] WARNING: read-only dup failed (Permission denied); not using memfd: file /build/firefox/src/firefox-89.0/ipc/chromium/src/base/shared_memory_posix.cc:243
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=1.6291) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=1.6291) |[1][GFX1-]: glxtest: process failed (received signal 11) (t=1.62926) [GFX1-]: glxtest: process failed (received signal 11)
Crash Annotation GraphicsCriticalError: |[C0][GFX1]: no fonts - init: 1 fonts: 548 loader: 0 (t=5.3621) [GFX1]: no fonts - init: 1 fonts: 548 loader: 0

###!!! [Parent][MessageChannel] Error: (msgtype=0xA30001,name=PVsync::Msg_Notify) Channel error: cannot send/recv

Crash Annotation GraphicsCriticalError: |[C0][GFX1]: no fonts - init: 1 fonts: 548 loader: 0 (t=1.33265) [GFX1]: no fonts - init: 1 fonts: 548 loader: 0
Crash Annotation GraphicsCriticalError: |[C0][GFX1]: no fonts - init: 1 fonts: 548 loader: 0 (t=1.26429) [GFX1]: no fonts - init: 1 fonts: 548 loader: 0
`

@ghost
Copy link

ghost commented Jun 6, 2021

Check #139

@Pedro1234-code
Copy link

Pedro1234-code commented Aug 25, 2021

Install Firefox ESR

@euaaron
Copy link

euaaron commented Mar 22, 2022

I'm facing the same issue and I've already switched from firefox to firefox-esr (had to add mozillateam ppa to install). Both firefox and firefox-esr are broken somewhy... and it happens with root and my user account.

I also tried Mozilla's recomendations to solve this issue but had any success.

I'm using Midori Browser as an alternative but Midori is not playing any videos.
I think that the cause of Midori's video problem myght be the same of Firefox Gah. probleme because of what firefox logs while running.

This is the output when I open firefox-esr --verbose:

aaron in ~ 
❯ firefox-esr --verbose
[Parent 30512, Main Thread] WARNING: read-only dup failed (Permission denied); not using memfd: file /build/firefox-esr-8rxH8K/firefox-esr-91.7.1esr+build2/ipc/chromium/src/base/shared_memory_posix.cc:243
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=1.33167) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=1.33167) |[1][GFX1-]: glxtest: process failed (received signal 11) (t=1.33204) [GFX1-]: glxtest: process failed (received signal 11)
Crash Annotation GraphicsCriticalError: |[C0][GFX1]: no fonts - init: 1 fonts: 43 loader: 0 (t=1.39241) [GFX1]: no fonts - init: 1 fonts: 43 loader: 0

###!!! [Parent][MessageChannel] Error: (msgtype=0x230086,name=PBrowser::Msg_RealMouseEnterExitWidgetEvent) Channel error: cannot send/recv


###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


###!!! [Parent][MessageChannel] Error: (msgtype=0x23007E,name=PBrowser::Msg_RealMouseMoveEvent) Channel error: cannot send/recv

Crash Annotation GraphicsCriticalError: |[C0][GFX1]: no fonts - init: 1 fonts: 43 loader: 0 (t=0.767816) [GFX1]: no fonts - init: 1 fonts: 43 loader: 0
[Parent 30512, IPC I/O Parent] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-esr-8rxH8K/firefox-esr-91.7.1esr+build2/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc:19

(I've deleted duplicates from log so it can be more readable.)

Seens like a permission error followed by a GPU error.

Have no idea what to do to fix it but will keep searching...

Would be glad if anyone here have any idea.


My ToTry List:

  • change firefox to firefox-esr
  • uninstall firefox, delete /build/firefox-* and install it again
  • switch to an outdated version of firefox
  • check for GPU drivers that are compatible with termux
  • install softwares that uses GPU so they install all needed dependencies (VLC, Blender, GIMP)
    (this is just a reminder to me)

@ghost
Copy link

ghost commented Mar 22, 2022

This was the cause after making changes to it's core components (e.g. sandbox), so far disabling sandbox renders the webpage correctly

@euaaron
Copy link

euaaron commented Mar 22, 2022

It worked! I've just put the export MOZ_FAKE_NO_SANDBOX=1 at my .zshrc so before starting vncserver this fix is already setted. This way when I access with a vnc client the issue is gone.

@euaaron
Copy link

euaaron commented Mar 22, 2022

It means that Midori's video issue is due to another problem... anyway, Firefox video is working so I just removed Midori :D

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