atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.8k stars 409 forks source link

Fatal error condition with nyxt-electron #3364

Closed glyh closed 5 months ago

glyh commented 6 months ago

Describe the bug

Precise recipe to reproduce the issue

./nyxt-electron  --verbose

nyxt will crash leaving a blank electron instance.

Information

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

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

@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.

glyh commented 6 months ago
$ ./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

glyh commented 6 months ago

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
aadcg commented 5 months ago

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.

aliyss commented 4 months ago

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:

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.

glyh commented 4 months ago

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.

aliyss commented 4 months ago

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.

https://github.com/atlas-engineer/nyxt/blob/85759cc16d8f10c4595a806cb98beb2c55df8628/source/browser.lisp#L414

aadcg commented 4 months ago

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.

aliyss commented 4 months ago

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:

aadcg commented 4 months ago

@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.