Skip to content

[Bug]: Error Logging for GUI Applications on macOS #75

@yibie

Description

@yibie

Bug summary

026-04-26T09:16:37.481763Z ERROR neovm_core::emacs_core::load: !! speedbar.el FORM[249] FAILED:

(defcustom speedbar-fetch-etags-command etags-program-name
"Command used to create an etags file.
This variable is i => (void-variable (etags-program-name))
2026-04-26T09:16:37.481780Z ERROR neovm_core::emacs_core::load: Lisp backtrace:
2026-04-26T09:16:37.481785Z ERROR neovm_core::emacs_core::load: 0: (eval-buffer #<buffer 239> nil "/Users/chenyibin/Documents/prj/neoma... nil ...)
2026-04-26T09:16:37.481794Z ERROR neovm_core::emacs_core::load: 1: (if (eval-function (funcall eval-function...)
2026-04-26T09:16:37.481800Z ERROR neovm_core::emacs_core::load: 2: (let (((read-symbol-shorthands shorthands)...)
2026-04-26T09:16:37.481823Z ERROR neovm_core::emacs_core::load: 3: (let (((load-true-file-name fullname) (loa...)
2026-04-26T09:16:37.481854Z ERROR neovm_core::emacs_core::load: 4: (unwind-protect ((let ((load-true-file-name fullname)...)
2026-04-26T09:16:37.481884Z ERROR neovm_core::emacs_core::load: 5: (let (((buffer (generate-new-buffer " *loa...)
2026-04-26T09:16:37.481912Z ERROR neovm_core::emacs_core::load: 6: (if ((null (file-readable-p fullname)) (a...)
2026-04-26T09:16:37.481915Z ERROR neovm_core::emacs_core::load: 7: (load-with-code-conversion "/Users/chenyibin/Documents/prj/neoma... "/Users/chenyibin/Documents/prj/neoma... nil nil)
2026-04-26T09:16:37.481918Z ERROR neovm_core::emacs_core::load: 8: (require speedbar)
2026-04-26T09:16:37.481920Z ERROR neovm_core::emacs_core::load: 9: (progn ((require 'speedbar)))
2026-04-26T09:16:37.481923Z ERROR neovm_core::emacs_core::load: 10: (eval (progn (require 'speedbar)) t)
2026-04-26T09:16:37.481927Z ERROR neovm_core::emacs_core::load: 11: (list ('quote (eval (cons 'progn body) lexi...)
2026-04-26T09:16:37.481938Z ERROR neovm_core::emacs_core::load: 12: (#[(&rest body) ((list 'quote (eval (cons 'progn body) lexical-binding))) (t) nil "Like progn', but evaluates the body at compile time if you're compiling. Thus, the result of the body appears to the compiler as a quoted constant. In interpreted code, this is entirely equivalent to progn', except that the value of the expression may be (but is
not necessarily) computed at load time if eager macro expansion
is enabled."] (require 'speedbar))
2026-04-26T09:16:37.481944Z ERROR neovm_core::emacs_core::load: 13: (macroexpand (eval-when-compile (require 'speedbar)))
2026-04-26T09:16:37.481948Z ERROR neovm_core::emacs_core::load: 14: (if (full-p (macroexpand--all-toplevel fo...)
2026-04-26T09:16:37.481953Z ERROR neovm_core::emacs_core::load: 15: (let (((macroexp--pending-eager-loads (con...)
2026-04-26T09:16:37.481959Z ERROR neovm_core::emacs_core::load: 16: (condition-case (err (let ((macroexp--pending-eager-l...)
2026-04-26T09:16:37.481985Z ERROR neovm_core::emacs_core::load: 17: (cond (((eq 'skip (car macroexp--pending-ea...)
2026-04-26T09:16:37.481988Z ERROR neovm_core::emacs_core::load: 18: (internal-macroexpand-for-load (eval-when-compile (require 'speedbar)) nil)
2026-04-26T09:16:37.481990Z ERROR neovm_core::emacs_core::load: 19: (eval-buffer #<buffer 238> nil "/Users/chenyibin/Documents/prj/neoma... nil ...)
2026-04-26T09:16:37.481994Z ERROR neovm_core::emacs_core::load: 20: (if (eval-function (funcall eval-function...)
2026-04-26T09:16:37.481995Z ERROR neovm_core::emacs_core::load: ... (39 more frames)
2026-04-26T09:16:37.482029Z ERROR neovm_core::emacs_core::eval: require failed: Signal(SignalData { symbol: SymId(2674), data: [Symbol(SymId(57853))], raw_data: None, suppress_signal_hook: false, selected_resume: None, search_complete: false }) feature_name=Some("speedbar") path=/Users/chenyibin/Documents/prj/neomacs/lisp/speedbar.el noerror=false
2026-04-26T09:16:37.482039Z ERROR neovm_core::emacs_core::eval: error=Signal(SignalData { symbol: SymId(2674), data: [Symbol(SymId(57853))], raw_data: None, suppress_signal_hook: false, selected_resume: None, search_complete: false })
2026-04-26T09:16:37.599926Z ERROR neovm_core::emacs_core::load: !! speedbar.el FORM[249] FAILED:

(defcustom speedbar-fetch-etags-command etags-program-name
"Command used to create an etags file.
This variable is i => (void-variable (etags-program-name))
2026-04-26T09:16:37.599941Z ERROR neovm_core::emacs_core::load: Lisp backtrace:
2026-04-26T09:16:37.599946Z ERROR neovm_core::emacs_core::load: 0: (eval-buffer #<buffer 269> nil "/Users/chenyibin/Documents/prj/neoma... nil ...)
2026-04-26T09:16:37.599953Z ERROR neovm_core::emacs_core::load: 1: (if (eval-function (funcall eval-function...)
2026-04-26T09:16:37.599960Z ERROR neovm_core::emacs_core::load: 2: (let (((read-symbol-shorthands shorthands)...)
2026-04-26T09:16:37.599981Z ERROR neovm_core::emacs_core::load: 3: (let (((load-true-file-name fullname) (loa...)
2026-04-26T09:16:37.599999Z ERROR neovm_core::emacs_core::load: 4: (unwind-protect ((let ((load-true-file-name fullname)...)
2026-04-26T09:16:37.600029Z ERROR neovm_core::emacs_core::load: 5: (let (((buffer (generate-new-buffer " *loa...)
2026-04-26T09:16:37.600057Z ERROR neovm_core::emacs_core::load: 6: (if ((null (file-readable-p fullname)) (a...)
2026-04-26T09:16:37.600061Z ERROR neovm_core::emacs_core::load: 7: (load-with-code-conversion "/Users/chenyibin/Documents/prj/neoma... "/Users/chenyibin/Documents/prj/neoma... nil nil)
2026-04-26T09:16:37.600063Z ERROR neovm_core::emacs_core::load: 8: (require speedbar)
2026-04-26T09:16:37.600066Z ERROR neovm_core::emacs_core::load: 9: (progn ((require 'speedbar)))
2026-04-26T09:16:37.600068Z ERROR neovm_core::emacs_core::load: 10: (eval (progn (require 'speedbar)) t)
2026-04-26T09:16:37.600072Z ERROR neovm_core::emacs_core::load: 11: (list ('quote (eval (cons 'progn body) lexi...)
2026-04-26T09:16:37.600080Z ERROR neovm_core::emacs_core::load: 12: (#[(&rest body) ((list 'quote (eval (cons 'progn body) lexical-binding))) (t) nil "Like progn', but evaluates the body at compile time if you're compiling. Thus, the result of the body appears to the compiler as a quoted constant. In interpreted code, this is entirely equivalent to progn', except that the value of the expression may be (but is
not necessarily) computed at load time if eager macro expansion
is enabled."] (require 'speedbar))
2026-04-26T09:16:37.600085Z ERROR neovm_core::emacs_core::load: 13: (eval-when-compile (require 'speedbar))
2026-04-26T09:16:37.600087Z ERROR neovm_core::emacs_core::load: 14: (eval-when-compile ((require 'speedbar)))
2026-04-26T09:16:37.600089Z ERROR neovm_core::emacs_core::load: 15: (eval-buffer #<buffer 238> nil "/Users/chenyibin/Documents/prj/neoma... nil ...)
2026-04-26T09:16:37.600108Z ERROR neovm_core::emacs_core::load: 16: (if (eval-function (funcall eval-function...)
2026-04-26T09:16:37.600116Z ERROR neovm_core::emacs_core::load: 17: (let (((read-symbol-shorthands shorthands)...)
2026-04-26T09:16:37.600131Z ERROR neovm_core::emacs_core::load: 18: (let (((load-true-file-name fullname) (loa...)
2026-04-26T09:16:37.600146Z ERROR neovm_core::emacs_core::load: 19: (unwind-protect ((let ((load-true-file-name fullname)...)
2026-04-26T09:16:37.600167Z ERROR neovm_core::emacs_core::load: 20: (let (((buffer (generate-new-buffer " loa...)
2026-04-26T09:16:37.600169Z ERROR neovm_core::emacs_core::load: ... (35 more frames)
2026-04-26T09:16:37.600213Z ERROR neovm_core::emacs_core::eval: require failed: Signal(SignalData { symbol: SymId(2674), data: [Symbol(SymId(57853))], raw_data: None, suppress_signal_hook: false, selected_resume: None, search_complete: false }) feature_name=Some("speedbar") path=/Users/chenyibin/Documents/prj/neomacs/lisp/speedbar.el noerror=false
2026-04-26T09:16:37.600220Z ERROR neovm_core::emacs_core::eval: error=Signal(SignalData { symbol: SymId(2674), data: [Symbol(SymId(57853))], raw_data: None, suppress_signal_hook: false, selected_resume: None, search_complete: false })
2026-04-26T09:16:37.600230Z ERROR neovm_core::emacs_core::load: !! info.el FORM[256] FAILED:
\x0c
;;; Speedbar support:
;; These functions permit speedbar to display the "tags" in the
;; current Info node.
(eval-whe => (void-variable (etags-program-name))
2026-04-26T09:16:37.600234Z ERROR neovm_core::emacs_core::load: Lisp backtrace:
2026-04-26T09:16:37.600236Z ERROR neovm_core::emacs_core::load: 0: (eval-buffer #<buffer 238> nil "/Users/chenyibin/Documents/prj/neoma... nil ...)
2026-04-26T09:16:37.600241Z ERROR neovm_core::emacs_core::load: 1: (if (eval-function (funcall eval-function...)
2026-04-26T09:16:37.600247Z ERROR neovm_core::emacs_core::load: 2: (let (((read-symbol-shorthands shorthands)...)
2026-04-26T09:16:37.600259Z ERROR neovm_core::emacs_core::load: 3: (let (((load-true-file-name fullname) (loa...)
2026-04-26T09:16:37.600274Z ERROR neovm_core::emacs_core::load: 4: (unwind-protect ((let ((load-true-file-name fullname)...)
2026-04-26T09:16:37.600293Z ERROR neovm_core::emacs_core::load: 5: (let (((buffer (generate-new-buffer " loa...)
2026-04-26T09:16:37.600321Z ERROR neovm_core::emacs_core::load: 6: (if ((null (file-readable-p fullname)) (a...)
2026-04-26T09:16:37.600323Z ERROR neovm_core::emacs_core::load: 7: (load-with-code-conversion "/Users/chenyibin/Documents/prj/neoma... "/Users/chenyibin/Documents/prj/neoma... nil nil)
2026-04-26T09:16:37.600326Z ERROR neovm_core::emacs_core::load: 8: (require info)
2026-04-26T09:16:37.600343Z ERROR neovm_core::emacs_core::load: 9: (straight--add-package-to-info-path (:type git :host github :protocol htt...)
\311\302!\307\312>\204 \313\307!\203 \307\301"\202!\307\203)\314\303\315"\210\211\2042\316\302\305"\210\300?\206P\317\302!\206P\306\320>\204O\313\306!\203O\306\301!\202P\306\205W\321\322!7\203|7\323=\204k\310\3017"\203|\310\3018"\204|\324\301\3258#\206\201\326\302#\327\330\331\301"!\310\327\301!9"\204\246\332!\203\246\211\205\240\310\333" \232\204\256\334\327\301!9"\210\266\204\270\335\302!\210\336\337\301"\210\340\211\203\211@\341!\203\342\302\343"A@\211\203\211\242\344=\203\345A>\203\330\346\347\301!"J\350\351\352$\203\371\266\201\202\376B\266\202L\210\210\210A\202\276\210\211\203\204\336\353\301"\210\354\302\305"\210\334\301:"\210\211\203'\355\302!\210\204V\356\301!\211\203M\211@\357\327!\315\211\305\211\205A;\330\360\301"Q$\266A\202.\210\361\302!\210\362\302!\210\304\203g\204g\363\364\301\365\327\301!$\210\266\324\301\3256#\325\207" ["org" "org" (:type git :host github :protocol https :repo "emacs-straight/org-mode" :local-repo "org" :depth full :pre-build (straight-recipes-org-elpa--build) :build (:not autoloads) :files (:defaults "lisp/
.el" ("etc/styles/" "etc/styles/
")) :package "org") (--cl-block-straight-use-package--) nil nil nil nil gethash straight--repository-is-available-p (no-clone t) functionp throw nil straight--clone-repository straight--build-disabled-p (no-build t) straight--modifications only-once :all puthash t straight--package-might-be-modified-p intern format "straight-recipes-%s-version" fboundp version remhash straight--add-package-to-load-path run-hook-with-args straight-use-package-prepare-functions (native-comp-deferred-compilation-deny-list native-comp-jit-compilation-deny-list) boundp plist-member :build :not native-compile "^%s" straight--build-dir cl-member :test string= straight-use-package-pre-build-functions straight--build-package straight--declare-successful-build straight--get-dependencies straight-use-package "Registering %s" straight--add-package-to-info-path straight--activate-package-autoloads straight--output "If you want to keep %s, put (straight-use-package %s%S) in your init-file." "'" straight--success-cache straight--packages-to-rebuild straight--packages-not-to-rebuild straight--recipe-lookup-cache straight--autoloads-cache straight-arrow] 17 nil] )
2026-04-26T09:16:37.600440Z ERROR neovm_core::emacs_core::load: 11: (straight--transaction-exec use-package-64f73796daa2f1d91fd99eab3... :no\311\302!...)016"\300?\206
2026-04-26T09:16:37.600444Z ERROR neovm_core::emacs_core::load: 12: (straight-use-package org)
2026-04-26T09:16:37.600447Z ERROR neovm_core::emacs_core::load: 13: (eval-buffer #<buffer 228> nil "/Users/chenyibin/.emacs.d/init.el" nil ...)
2026-04-26T09:16:37.600451Z ERROR neovm_core::emacs_core::load: 14: (if (eval-function (funcall eval-function...)
2026-04-26T09:16:37.600456Z ERROR neovm_core::emacs_core::load: 15: (let (((read-symbol-shorthands shorthands)...)
2026-04-26T09:16:37.600469Z ERROR neovm_core::emacs_core::load: 16: (let (((load-true-file-name fullname) (loa...)
2026-04-26T09:16:37.600483Z ERROR neovm_core::emacs_core::load: 17: (unwind-protect ((let ((load-true-file-name fullname)...)
2026-04-26T09:16:37.600500Z ERROR neovm_core::emacs_core::load: 18: (let (((buffer (generate-new-buffer " *loa...)
2026-04-26T09:16:37.600519Z ERROR neovm_core::emacs_core::load: 19: (if ((null (file-readable-p fullname)) (a...)
2026-04-26T09:16:37.600521Z ERROR neovm_core::emacs_core::load: 20: (load-with-code-conversion "/Users/chenyibin/.emacs.d/init.el" "/Users/chenyibin/.emacs.d/init.el" t t)
2026-04-26T09:16:37.600523Z ERROR neovm_core::emacs_core::load: ... (20 more frames)
2026-04-26T09:16:37.600547Z ERROR neovm_core::emacs_core::eval: require failed: Signal(SignalData { symbol: SymId(2674), data: [Symbol(SymId(57853))], raw_data: None, suppress_signal_hook: false, selected_resume: None, search_complete: false }) feature_name=Some("info") path=/Users/chenyibin/Documents/prj/neomacs/lisp/info.el noerror=false
2026-04-26T09:16:37.600551Z ERROR neovm_core::emacs_core::eval: error=Signal(SignalData { symbol: SymId(2674), data: [Symbol(SymId(57853))], raw_data: None, suppress_signal_hook: false, selected_resume: None, search_complete: false })
2026-04-26T09:16:37.600559Z ERROR neovm_core::emacs_core::load: !! init.el FORM[2] FAILED:

(straight-use-package 'org) => (void-variable (etags-program-name))
2026-04-26T09:16:37.600561Z ERROR neovm_core::emacs_core::load: Lisp backtrace:
2026-04-26T09:16:37.600563Z ERROR neovm_core::emacs_core::load: 0: (eval-buffer #<buffer 228> nil "/Users/chenyibin/.emacs.d/init.el" nil ...)
2026-04-26T09:16:37.600567Z ERROR neovm_core::emacs_core::load: 1: (if (eval-function (funcall eval-function...)
2026-04-26T09:16:37.600571Z ERROR neovm_core::emacs_core::load: 2: (let (((read-symbol-shorthands shorthands)...)
2026-04-26T09:16:37.600581Z ERROR neovm_core::emacs_core::load: 3: (let (((load-true-file-name fullname) (loa...)
2026-04-26T09:16:37.600593Z ERROR neovm_core::emacs_core::load: 4: (unwind-protect ((let ((load-true-file-name fullname)...)
2026-04-26T09:16:37.600613Z ERROR neovm_core::emacs_core::load: 5: (let (((buffer (generate-new-buffer " loa...)
2026-04-26T09:16:37.600635Z ERROR neovm_core::emacs_core::load: 6: (if ((null (file-readable-p fullname)) (a...)
2026-04-26T09:16:37.600638Z ERROR neovm_core::emacs_core::load: 7: (load-with-code-conversion "/Users/chenyibin/.emacs.d/init.el" "/Users/chenyibin/.emacs.d/init.el" t t)
2026-04-26T09:16:37.600640Z ERROR neovm_core::emacs_core::load: 8: (load "/Users/chenyibin/.emacs.d/init" noerror nomessage)
2026-04-26T09:16:37.600648Z ERROR neovm_core::emacs_core::load: 9: (let (((alt-file (funcall alternate-filena...)
2026-04-26T09:16:37.600654Z ERROR neovm_core::emacs_core::load: 10: (progn ((let ((alt-file (funcall alternate-f...)
2026-04-26T09:16:37.600661Z ERROR neovm_core::emacs_core::load: 11: (if ((and (eq user-init-file t) alternate...)
2026-04-26T09:16:37.600678Z ERROR neovm_core::emacs_core::load: 12: (let (((init-file-name (funcall filename-f...)
2026-04-26T09:16:37.600708Z ERROR neovm_core::emacs_core::load: 13: (progn ((let ((init-file-name (funcall filen...)
2026-04-26T09:16:37.600736Z ERROR neovm_core::emacs_core::load: 14: (if (init-file-user (progn (let ((init-fi...)
2026-04-26T09:16:37.600787Z ERROR neovm_core::emacs_core::load: 15: (#[nil ((if init-file-user (progn (let ((init-file-name (funcall filename-function))) (setq user-init-file t) (if init-file-name (progn (load (if (equal (file-name-extension init-file-name) "el") (file-name-sans-extension init-file-name) init-file-name) 'noerror 'nomessage))) (if (and (eq user-init-file t) alternate-filename-function) (progn (let ((alt-file (funcall alternate-filename-function))) (if init-file-name nil (setq init-file-name alt-file)) (and (equal (file-name-extension alt-file) "el") (setq alt-file (file-name-sans-extension alt-file))) (load alt-file 'noerror 'nomessage)))) (if (eq user-init-file t) (progn (setq user-init-file init-file-name)))) (if (equal (file-name-extension user-init-file) "elc") (let
((source (file-name-sans-extension user-init-file)) (alt (concat source ".el"))) (setq source (cond ((file-exists-p alt) alt) ((file-exists-p source) source) (t nil))) (if source (progn (if (file-newer-than-file-p source user-init-file) (progn (message "Warning: %s is newer than %s" source user-init-file) (sit-for 1))) (setq user-init-file source)))) (if (and (equal (file-name-extension user-init-file) "eln") (boundp 'comp-eln-to-el-h)) (progn (let* ((source (and t (gethash (file-name-nondirectory user-init-file) comp-eln-to-el-h)))) (if source (setq user-init-file source) (message "Warning: unknown source file for init file %S" user-init-file) (sit-for 1)))))) (if (and load-defaults (not inhibit-default-init)) (progn (let ((inhibit-startup-screen nil)) (load "default" 'noerror 'nomessage))))))) ((load-defaults . t) (alternate-filename-function . #[nil ((expand-file-name "init.el" startup-init-directory)) ((old-face-ignored-fonts) (old-scalable-fonts-allowed) (startup-init-directory . "/.emacs.d/") (xdg-dir . "/.config/emacs/") server-process server-name native-comp-eln-load-path startup--xdg-config-home-emacs t)]) (filename-function . #[nil ((cond ((eq startup-init-directory xdg-dir) nil) ((eq system-type 'ms-dos) (concat "" init-file-user "/_emacs")) ((not (eq system-type 'windows-nt)) (concat "" init-file-user "/.emacs")) ((directory-files "" nil "\\\.emacs\\(\\.elc?\\)?\\'") "~/.emacs") ((directory-files "~" nil "\\_emacs\(\.elc?\)?\'") (setq delayed-warnings-list (cons (list 'initialization (format-message "_emacs' init file is deprecated, please use .emacs'")) delayed-warnings-list)) "/_emacs") (t "/.emacs"))) ((old-face-ignored-fonts) (old-scalable-fonts-allowed) (startup-init-directory . "/.emacs.d/") (xdg-dir . "~/.config/emacs/") server-process server-name native-comp-eln-load-path startup--xdg-config-home-emacs t)]) server-process server-name native-comp-eln-load-path startup--xdg-config-home-emacs t)] )
2026-04-26T09:16:37.600862Z ERROR neovm_core::emacs_core::load: 16: (funcall #[nil ((if init-file-user (progn (let...)
2026-04-26T09:16:37.600891Z ERROR neovm_core::emacs_core::load: 17: (condition-case (error (funcall body) ((debug error) ...)
2026-04-26T09:16:37.600905Z ERROR neovm_core::emacs_core::load: 18: (if ((eq init-file-debug t) (handler-bind...)
2026-04-26T09:16:37.600952Z ERROR neovm_core::emacs_core::load: 19: (let (((inhibit-null-byte-detection t) (bo...)
2026-04-26T09:16:37.600970Z ERROR neovm_core::emacs_core::load: 20: (startup--load-user-init-file #[nil ((cond ((eq startup-init-direct... #[nil ((expand-file-name "init.el" st... t)
2026-04-26T09:16:37.600972Z ERROR neovm_core::emacs_core::load: ... (7 more frames)
2026-04-26T09:16:37.803483Z ERROR neovm_core::emacs_core::eval: Command loop error: Invalid event description
2026-04-26T09:16:38.773399Z ERROR neovm_core::emacs_core::eval: Command loop error: Invalid event description

Steps to reproduce

No response

Expected behavior

No response

Runtime diagnostics

Extra context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions