atlas-engineer / nyxt

Nyxt - the hacker's browser.

Home Page:https://nyxt-browser.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal error condition with nyxt-electron

glyh opened this issue · comments

Describe the bug

Precise recipe to reproduce the issue

./nyxt-electron  --verbose

nyxt will crash leaving a blank electron instance.

Information

  • OS name+version: Linux mechrevo 6.8.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000 x86_64 GNU/Linux
  • Graphics card and driver: VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1) priority driver.
  • Desktop environment / Window manager name+version:
Hyprland, built from branch HEAD at commit c5e28ebcfe00a510922779b2c568cfa52a317445  (props: bump ver 0.37.1).
Date: Sat Mar 16 14:51:49 2024
Tag: v0.37.1

flags: (if any)

  • How you installed Nyxt (Guix pack, package manager, build from source):
    build from source with NYXT_RENDERER=electron
  • Information from show-system-information:
Nyxt version: 4
Renderer: Electron
Operating system kernel: Linux 6.8.1-arch1-1
Lisp implementation: SBCL 2.4.1 (Dynamic space size: 3221225472)
Features: (:NYXT-ELECTRON :NYXT-ELECTRON :NYXT-4 :CLIPBOARD-CONTENT-METHOD :SWANK :SLYNK
 :PLUMP-UTF-32 :PARENSCRIPT :NSYMBOLS :FSET-EXT-STRINGS
 :SBCL+SAFE-STANDARD-READTABLE :NAMED-READTABLES :GLOBAL-VARS :LPARALLEL
 :21BIT-CHARS :CUSTOM-HASH-TABLE-NATIVE :CLOSER-MOP :CL-PPCRE-UNICODE
 :CL-UNICODE :CL-JSON-DOUBLE-FLOAT-IS-SUBSUMED
 :CL-JSON-SINGLE-FLOAT-IS-SUBSUMED :CHUNGA :FLEXI-STREAMS :CL-PPCRE
 :BORDEAUX-THREADS :LPARALLEL.WITH-CLTL2 :LPARALLEL.WITH-CAS
 :LPARALLEL.WITH-STEALING-SCHEDULER :SPLIT-SEQUENCE
 CFFI-FEATURES:FLAT-NAMESPACE CFFI-FEATURES:X86-64 CFFI-FEATURES:UNIX :CFFI
 CFFI-SYS::FLAT-NAMESPACE ALEXANDRIA::SEQUENCE-EMPTYP :FAST-IO-SV :FAST-IO
 :CL-JSON-CLOS :CL-JSON :SBCL-USES-SB-ROTATE-BYTE CHIPZ-SYSTEM:GRAY-STREAMS
 :THREAD-SUPPORT :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX
 :NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :ARENA-ALLOCATOR :X86-64 :GENCGC :64-BIT
 :ANSI-CL :COMMON-LISP :ELF :IEEE-FLOATING-POINT :LINUX :LITTLE-ENDIAN
 :PACKAGE-LOCAL-NICKNAMES :SB-CORE-COMPRESSION :SB-LDB :SB-PACKAGE-LOCKS
 :SB-THREAD :SB-UNICODE :SBCL :UNIX)

ASDF version: 3.3.1
ASDF registries: (NYXT-SOURCE-REGISTRY ENVIRONMENT-SOURCE-REGISTRY)
Critical dependencies: (/home/lyh/common-lisp/nyxt/_build/cl-cffi-gtk/gtk/cl-cffi-gtk.asd
 /home/lyh/common-lisp/nyxt/_build/cl-gobject-introspection/cl-gobject-introspection.asd
 /home/lyh/common-lisp/nyxt/_build/cl-webkit/webkit2/cl-webkit2.asd)

Output when started from a shell

$ ./nyxt-electron  --verbose
Arguments parsed: (VERBOSE T URLS NIL) and NIL
Nyxt version 4
 <INFO> [04:21:02] nyxt start.lisp (start-browser) -
  Source location: #P"/home/lyh/common-lisp/nyxt/"
<DEBUG> [04:21:02] nyxt configuration-commands.lisp (load-lisp unsafe-load) -
  Lisp file #P"/home/lyh/.config/nyxt/auto-config.4.lisp" does not exist.
<DEBUG> [04:21:02] nyxt configuration-commands.lisp (load-lisp unsafe-load) -
  Lisp file #P"/home/lyh/.config/nyxt/config.lisp" does not exist.
<DEBUG> [04:21:02] nyxt/renderer/electron electron.lisp (ffi-initialize electron-browser) -
  Initializing Electron Interface
 <INFO> [04:21:02] nyxt start.lisp (listen-socket) -
  Listening to socket: #P"/run/user/1000/nyxt/nyxt.socket"
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5182 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5183 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5184 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5185 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5186 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5187 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5188 in buffer #<STATUS-BUFFER 5151 {100853A453}>
 <INFO> [04:21:03] nyxt user-files.lisp (read-file :around nyxt-profile nyxt-file) -
  Loading #P"/home/lyh/.local/share/nyxt/auto-rules.lisp".
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5218 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5219 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5220 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5221 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5222 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5223 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5224 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5225 in buffer #<STATUS-BUFFER 5151 {100853A453}>
 <INFO> [04:21:03] nyxt user-files.lisp (read-file :around nyxt-profile nyxt-file) -
  Loading #P"/home/lyh/.local/share/nyxt/history/default.lisp".
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5232 in buffer #<WEB-BUFFER 5169 {1008D69943}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5243 in buffer #<WEB-BUFFER 5169 {1008D69943}>
 <INFO> [04:21:03] nyxt history.lisp (restore-history-buffers) -
  Restoring 1 buffer from history.
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5246 in buffer #<WEB-BUFFER 5169 {1008D69943}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5253 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5254 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5255 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5256 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5257 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5258 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5259 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5260 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5263 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5264 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5265 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5266 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5267 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5268 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5269 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5270 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5272 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5273 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5274 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5275 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5276 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5277 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5278 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5279 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5281 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5282 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5283 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5284 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5285 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5286 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5287 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5288 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5290 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5291 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5292 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5293 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5294 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5295 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5296 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5297 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5299 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5300 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5301 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5302 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5303 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5304 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5305 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5306 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5308 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5309 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5310 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5311 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5312 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5313 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5314 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5315 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5317 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5318 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5319 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5320 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5321 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5322 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5323 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5324 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5326 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5327 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5328 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5329 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5330 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5331 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5332 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5333 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5335 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5336 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5337 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5338 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5339 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5340 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5341 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5342 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5344 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5345 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5346 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5347 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5348 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5349 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5350 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5351 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5353 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5354 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5355 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5356 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5357 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5358 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5359 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5360 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5362 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5363 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5364 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5365 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5366 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5367 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5368 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5369 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5371 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5372 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5373 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5374 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5375 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5376 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5377 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5378 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5380 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5381 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5382 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5383 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5384 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5385 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5386 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5387 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5389 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5390 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5391 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5392 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5393 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5394 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5395 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5396 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5398 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5399 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5400 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5401 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5402 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5403 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5404 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5405 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5407 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5408 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5409 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5410 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5411 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5412 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5413 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5414 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5416 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-l
ock-thunk) - Registering callback 5417 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5418 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5419 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5420 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5421 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5422 in buffer #<STATUS-BUFFER 5151 {100853A453}>
<DEBUG> [04:21:03] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5423 in buffer #<STATUS-BUFFER 5151 {100853A453}>
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   ca; compilation unit aborted
;   caught 1 fatal ERROR condition

I'm on electron v29.1.5

@glyh thanks for the interest, but the port is under active development. From the user's perspective, it's not even alpha.

If you start ./nyxt-electron --failsafe, it shouldn't crash.

$ ./nyxt-electron  --failsafe
Nyxt version 4
<INFO> [21:11:09] Source location: #P"/home/lyh/common-lisp/nyxt/"
<INFO> [21:11:09] Profile: "nofile"
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
⏎                                    

And then nyxt exited, leaving electron hanging.

image

With --verbose for now I have the following log:

Arguments parsed: (FAILSAFE T VERBOSE T URLS NIL) and NIL
Nyxt version 4
 <INFO> [21:13:35] nyxt start.lisp (start-browser) -
  Source location: #P"/home/lyh/common-lisp/nyxt/"
 <INFO> [21:13:35] nyxt start.lisp (start-browser) - Profile: "nofile"
<DEBUG> [21:13:35] nyxt/renderer/electron electron.lisp (ffi-initialize electron-browser) -
  Initializing Electron Interface
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5182 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5183 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5184 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5185 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5186 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5187 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5188 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5218 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5219 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5220 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5221 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5222 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5223 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5224 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5225 in buffer #<STATUS-BUFFER 5151 {10092FA453}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5229 in buffer #<WEB-BUFFER 5169 {1009AF2663}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5230 in buffer #<WEB-BUFFER 5169 {1009AF2663}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5231 in buffer #<WEB-BUFFER 5169 {1009AF2663}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5238 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5239 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5240 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5241 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5242 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5243 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5244 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5245 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5251 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5252 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5253 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5254 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5255 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-l
ock-thunk) -
  Registering callback 5256 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) -
  Registering callback 5257 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
<DEBUG> [21:13:36] nyxt urls.lisp (lisp-url with-recursive-lock-thunk) - Registering callback 5258 in buffer #<STATUS-BUFFER 5151 {100E43F343}>
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition

I can't reproduce @glyh.

Try to compile via nix-shell build-scripts/shell-electron.nix --run 'make nyxt NYXT_RENDERER=electron' and run via nix-shell build-scripts/shell-electron.nix --run './nyxt-electron --failsafe'.

This port is in active development and we haven't documented in details how we're setting the development environment.

Just want to add this, in case.

@glyh So I had the same error... and I really needed it to work with electron, because my videos turned out to be green even if I did everything including clearing the gstreamer cache.

So what I did:

  • Boot my computer
  • Install nyxt via Home Manager
  • Run nyxt and navigate to youtube
  • Build nyxt from source
  • Run the command provided above, but without failsafe

This loads the youtube website... You can do insite navigation, but pretty much everything else doesn't work like navigating using Ctrl-L etc...

I do get the same error.

I know this is closed, but I'll poke around the repo to see if I may be able to find something.

The maintainer basically just say "this is a WIP and bugs exist and can't be fixed for now." Feeling kinda disappointed my issues are closed directly though.

The maintainer basically just say "this is a WIP and bugs exist and can't be fixed for now."

Think that's fair tbh... Otherwise there would be tons of issues on various configurations that don't work for specific use cases. Tbh. just checking all the TODO comments in electron.lisp just shows that it shouldn't actually need to work.

On the other hand I narrowed it down to this call, that when commenting out allows it at least not to crash directly (This won't help though, since a lot of other stuff doesn't work and all the entries are like object promise). I am by no means a lisp user other than for emacs, so can't say if this is even helpful.

(lpara:fulfill (slot-value browser 'startup-promise))

As mentioned, the electron port is not ready to be used or tested. That's why it is on the master branch and no releases have been made. It is part of #2989.

If you'd like to help developing it, let me know. Bug reports are of little interest right now, since it is still being actively prototyped.

If you'd like to help developing it, let me know. Bug reports are of little interest right now, since it is still being actively prototyped.

@aadcg Would like to help out. If you could ease me in with some simple tasks (I know my way around JS stuff very well and still learning lisp) that would be great. I'll work my way upwards from there.

Also on Discord: aliyss

Note:

  • Working on NixOS
  • except for Electron and Video Player everything works fine

@aliyss if you're on NixOS and you're interested in being a contributor then I'm afraid I have news. The dev env for the WebKitGTK is broken on Nix (beyond our control) and the Electron port can't be developed on NixOS since it expects an FHS-compliant file system.