linuxserver / docker-webtop

Ubuntu, Alpine, Arch, and Fedora based Webtop images, Linux in a web browser supporting popular desktop environments.
GNU General Public License v3.0
1.77k stars 175 forks source link

[BUG] SIGTRAP error in chrome #181

Closed EDIflyer closed 10 months ago

EDIflyer commented 10 months ago

Is there an existing issue for this?

Current Behavior

Docker container loads fine, can navigate round and load browser Some basic websites initially load OK (e.g., debian.org) however for any websites that are more than just basic text/images I recurrently get a SIGTRAP error image

This is despite lots of spare RAM/CPU image

Expected Behavior

Able to browse websites normally

Steps To Reproduce

I have tried this in both webtop:latest and webtop:debian-xfce

  1. Load webtop
  2. Click to load browser
  3. Try very simple site (google.com, debian.org) - works OK
  4. Try more complex site - it starts to load site then SIGTRAP crash
  5. Keep trying and even simple sites won't load

Environment

- OS: Ubuntu 22.04.3 LTS aarch64
- How docker service was installed: via `sudo curl -sSL https://get.docker.com/ | sh` command

CPU architecture

arm64

Docker creation

---
version: "2.1"
services:
  webtop:
    image: lscr.io/linuxserver/webtop:latest
    container_name: webtop
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - SUBFOLDER=/ #optional
      - KEYBOARD=en-gb-qwerty #optional
    volumes:
      - /home/user/containers/webtop:/config
      #- /var/run/docker.sock:/var/run/docker.sock #optional
    expose:
      - 3000/tcp
    devices:
      - /dev/dri:/dev/dri #optional
    #shm_size: "1gb" #optional
    restart: "no"
    networks:
      - nginx-proxy-manager_default
networks:
  nginx-proxy-manager_default:
    external: true
    name: nginx-proxy-manager_default

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

.......+...+..+....+..+...+..........+...........+...+................+............+..+......+++++++++++++++++++++++++++++++++++++++*....+...+....+...............+...........+...............+....+........+...+......+....+...........+++++++++++++++++++++++++++++++++++++++*...+.....+...+............+....+..+...................+........+...+....+...+...+.....+...+....+.....+.+.....+......+.+..+.............+........+....+..+.............+...+...+..............+.+.....+.+........+.+.........+..+..........+........+......+.+...+..+.+............+........+.......+......+..+.......+........+...+.+..............+.......+..+......+.......+.........+......+.....+...+.+.....+.............+...+..+...+....+.....+....++++++
....+...+...............+.....+.+............+..+.+..+++++++++++++++++++++++++++++++++++++++*.....+....+++++++++++++++++++++++++++++++++++++++*......+.+...........+.........+.+......+..............+.+.................+..........+..+....+..+.......+......+..+....+...+..+...+.+...........+.+..+.+....................+.+......+...+...........+...................+..+...+.+......+..+...+...+.+......+..+.......+...............+...+...+.....+....+..................+..+....+..+.........+...+.......+...+......+..++++++
-----
**** creating video group videoqqhz with id 109 ****
**** adding /dev/dri/renderD128 to video group videoqqhz with id 109 ****
**** creating video group videob9pu with id 44 ****
**** adding /dev/dri/card0 to video group videob9pu with id 44 ****
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built Oct 14 2023 18:55:30
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

pci id for fd 6: 108e:0010, driver (null)
pci id for fd 7: 108e:0010, driver (null)
pci id for fd 7: 108e:0010, driver (null)
[ls.io-init] done.
 2023-10-22 12:22:41,419 [INFO] websocket 0: got client connection from 127.0.0.1
 2023-10-22 12:22:41,432 [PRIO] Connections: accepted: @188.28.140.122_1697973761.419395::websocket
 2023-10-22 12:23:42,292 [PRIO] Connections: closed: @188.28.140.122_1697973761.419395::websocket (Clean disconnection)
 2023-10-22 12:23:50,669 [INFO] websocket 1: got client connection from 127.0.0.1
 2023-10-22 12:23:50,682 [PRIO] Connections: accepted: @188.28.140.122_1697973830.669554::websocket
thelamer commented 10 months ago

please read the readme about the shm size particularly.

EDIflyer commented 10 months ago

Doh! 🤦 Set that to 1GB and all working now - thanks @thelamer !