bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44131: 28.0.50; emacsclient Invalid socket owner error in gccemacs


From: Andrew Eggenberger
Subject: bug#44131: 28.0.50; emacsclient Invalid socket owner error in gccemacs
Date: Thu, 22 Oct 2020 02:32:04 -0500

The emacsclient binary produced by the native-comp branch cannot connect
to the server. When a connection is attempted, the error message
"emacsclient: Invalid socket owner" is displayed. I have 27.1 without
native-comp installed, and that emacsclient can connect to the
native-comp server without issue.

The error is the result of a failed uid comparison in
lib-src/emacsclient.c. It appears that the uid produced by geteuid()
isn't matching the uid for the server socket.

I first noticed the issue while trying to do a magit commit. But the
same error happens when trying to run emacsclient from the command line.


In GNU Emacs 28.0.50 (build 1, i686-unknown-gnu0.9, GTK+ Version 3.24.20, cairo 
version 1.16.0)
 of 2020-10-21 built on debian
Repository revision: 3be93390fb6680d1e0c3256af72c86635a9eb327
Repository branch: feature/native-comp
System Description: Debian GNU/Hurd bullseye/sid

Configured using:
 'configure --with-nativecomp --prefix=/home/demo/.local/'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO DBUS GSETTINGS GLIB NOTIFY GFILENOTIFY
ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES NATIVE_COMP THREADS
LIBSYSTEMD PDUMPER LCMS2

Important settings:
  locale-coding-system: nil

Major mode: Magit Process

Minor modes in effect:
  global-undo-tree-mode: t
  undo-tree-mode: t
  global-magit-file-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  which-key-mode: t
  projectile-mode: t
  global-flycheck-mode: t
  global-company-mode: t
  company-mode: t
  helm-mode: t
  helm-ff-cache-mode: t
  shell-dirtrack-mode: t
  helm--remap-mouse-mode: t
  async-bytecomp-package-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail helm-command helm-elisp
helm-eval edebug backtrace helm-info magit-extras mule-util face-remap
vc-git cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs winner image-file image-converter
helm-external helm-net xml url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap ffap
term/xterm xterm jka-compr undo-tree magit-submodule magit-obsolete
magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull
magit-fetch magit-clone magit-remote magit-commit magit-sequence
magit-notes magit-worktree magit-tag magit-merge magit-branch
magit-reset magit-files magit-refs magit-status magit magit-repos
magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode
diff diff-mode magit-core magit-autorevert autorevert filenotify
magit-margin magit-transient magit-process magit-mode git-commit
transient magit-git magit-section magit-utils crm log-edit message rmc
puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config
gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev
mail-utils gmm-utils mailheader pcvs-util add-log with-editor server
which-key comp warnings projectile grep compile text-property-search
ibuf-ext ibuffer ibuffer-loaddefs thingatpt flycheck find-func rx dash
company-oddmuse company-keywords company-etags etags fileloop generator
xref project company-gtags company-dabbrev-code company-dabbrev
company-files company-clang company-capf company-cmake company-semantic
company-template company-bbdb company paredit helm-mode helm-files tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat shell
pcomplete comint ansi-color ring parse-time iso8601 time-date ls-lisp
helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp
format-spec helm-utils helm-help helm-types helm-config helm easy-mmode
async-bytecomp advice helm-global-bindings helm-easymenu edmacro kmacro
helm-source eieio-compat helm-multi-match helm-lib async cl-extra
help-mode use-package-ensure use-package-core finder-inf disp-table info
package easymenu browse-url url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face pcase macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
gfilenotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process nativecomp emacs)

Memory information:
((conses 8 312548 30532)
 (symbols 24 26544 10)
 (strings 16 87420 8718)
 (string-bytes 1 3294833)
 (vectors 8 44603)
 (vector-slots 4 791812 51818)
 (floats 8 144 434)
 (intervals 28 736 356)
 (buffers 564 20))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]