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

Broadway html5 display crash with webkit2 example #332

Open
bresnow opened this issue Sep 29, 2022 · 0 comments
Open

Broadway html5 display crash with webkit2 example #332

bresnow opened this issue Sep 29, 2022 · 0 comments

Comments

@bresnow
Copy link

bresnow commented Sep 29, 2022

I have a fairly unique issue as I built an alpine nodejs container running the appropriate dependencies. Using broadway as my GTK display. Some of the example apps work with node-gtk and thats great. But after the stderr below broadway crashes 100% of the time when i run the browser.js example. Any ideas why?

Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
error: XDG_RUNTIME_DIR not set in the environment.
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
webSettings:  WebKitSettings {}

These are the dependencies i have installed in the dockerfile

RUN apk update &&\
    apk add --no-cache git wget yajl dub dmd terminator xfce4 midori gedit \
    nautilus  htop gcc gcompat gjs vim bash  gnome gtk4.0 libsoup webkit2gtk \
    mate-desktop-environment dbus dbus-x11 lxdm \
    adwaita-icon-theme faenza-icon-theme gobject-introspection pkgconf \
    g++ make cairo py-pip python3 supervisor gobject-introspection &&\
    gvfs_pkgs=$(apk search gvfs -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc') \
    apk add --no-cache $gvfs_pkgs &&\
    chmod -R 777 /etc/supervisord/  &&\
    mkdir -p /var/log/supervisord/ 

Notes: My GJS webit example does work without crashing. So.... curious case indeed

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

1 participant