akirakyle / emacs-webkit

An Emacs Dynamic Module for WebKit, aka a fully fledged browser inside emacs
GNU General Public License v3.0
419 stars 24 forks source link

Crashes on any URL #4

Closed elken closed 3 years ago

elken commented 3 years ago

As title says; any URL causes emacs to segfault. Running on Arch Linux. I get the same behavior in vanilla emacs too so unrelated to Doom.

Attached a full backtrace.

Backtrace: https://gist.github.com/elken/2d1a27359f0861fbf54636059bcc3edc

SYSTEM  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /bin/zsh
        uname      Linux 5.9.9-arch1-1 #1 SMP PREEMPT Wed, 18 Nov 2020 19:52:04 +0000 x86_64
        path       (/usr/local/bin /usr/local/sbin /usr/bin /opt/cuda/bin /opt/cuda/integration/nsight-compute /opt/cuda/integration/nsight-systems /var/lib/flatpak/exports/bin /usr/lib/jvm/default/bin /usr/lib/emacs/27.1/x86_64-pc-linux-gnu)
EMACS   dir        ~/.emacs.d/
        version    27.1
        build      Nov 22, 2020
        buildopts  --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/elken/build/emacs/repos/extra-x86_64/src=/usr/src/debug' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
        features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP
        traits     (gui server-running)
DOOM    dir        ~/.doom.d/
        version    2.0.9
        font       #<font-spec nil nil Hasklug Nerd Font nil nil nil nil nil 12 nil nil nil nil>
        theme      doom-nord
        build      HEAD -> develop c83e5e75e 2020-11-21 14:09:08 -0500
        elc-files  0
        modules    (:completion (company +childframe) (ivy +childframe +fuzzy +prescient +icons) :ui doom doom-dashboard doom-quit hl-todo ligatures modeline ophints (popup +defaults) tabs treemacs unicode vc-gutter vi-tilde-fringe workspaces :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors snippets :emacs dired electric undo vc :term vterm :checkers syntax (spell +flyspell) grammar :tools (debugger +lsp) editorconfig (eval +overlay) lookup (lsp +peek) magit pdf rgb :os tty :lang (csharp +lsp) emacs-lisp fsharp (haskell +dante) (org +dragndrop +hugo +present +pretty) sh web :config literate (default +bindings +smartparens))
        packages   ((rainbow-mode) (org-bullets) (visual-fill-column) (org-make-toc) (edit-server) (emacs-webkit :recipe (:host github :repo akirakyle/emacs-webkit :branch main :files (:defaults *.js *.css *.so) :build (make))))
        unpin      (n/a)
        elpa       (n/a)
akirakyle commented 3 years ago

You need to be running Emacs 28. Perhaps I should add a check to ensure this is an error instead of segfault.

elken commented 3 years ago

Absolutely should be a check rather than segfault.