Skip to content

Svelte code with many function calls crashes on Webkit #11246

Open
@ambrt

Description

@ambrt

Describe the bug

If there are too many calls to a function, Epiphany (Gnu Web - Webkit) browser crashes.
Chrome and Firefox work ok.

I'm starting browser with cairo renderer.
WEBKIT_DISABLE_COMPOSITING_MODE=0 EPHY_LOG_MODULES=ephy-window.c EPHY_DEBUG_BREAK=stack WEBKIT_FORCE_SANDBOX=0 GSK_RENDERER=cairo flatpak run --verbose org.gnome.Epiphany

Is there anything on Svelte side that can be done with this?

Reproduction

https://svelte.dev/repl/1ad99e89d4614ebba758feaa98859922?version=4.2.15

Logs

`(epiphany:2): epiphany-WARNING **: 17:28:51.461: Web process crashed`

System Info

System:
    OS: Linux 5.4 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (2) x64 Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz
    Memory: 667.31 MB / 3.83 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 20.4.0 - ~/.nvm/versions/node/v20.4.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 9.7.2 - ~/.nvm/versions/node/v20.4.0/bin/npm
    bun: 1.0.26 - ~/.bun/bin/bun
    Watchman: 20201115.021953.0 - /usr/local/bin/watchman
  Browsers:
    Gnome Web (Epiphany) 46.0 - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15
  npmPackages:
    svelte: ^4.2.12 => 4.2.12

Severity

blocking all usage of svelte

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions