From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44131: 28.0.50; emacsclient Invalid socket owner error in gccemacs Date: Thu, 22 Oct 2020 20:41:19 +0000 Message-ID: References: <871rhqsoln.fsf@debian.i-did-not-set--mail-host-address--so-tickle-me> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37369"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44131@debbugs.gnu.org To: Andrew Eggenberger Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 22 22:42:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVhPX-0009ch-Sk for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Oct 2020 22:42:11 +0200 Original-Received: from localhost ([::1]:43902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVhPW-00080c-IA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Oct 2020 16:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVhPO-00080W-KZ for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 16:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVhPO-0003TE-BF for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 16:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVhPO-0002xe-5j for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 16:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Oct 2020 20:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44131 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 44131-submit@debbugs.gnu.org id=B44131.160339928311334 (code B ref 44131); Thu, 22 Oct 2020 20:42:02 +0000 Original-Received: (at 44131) by debbugs.gnu.org; 22 Oct 2020 20:41:23 +0000 Original-Received: from localhost ([127.0.0.1]:54033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVhOk-0002wi-N5 for submit@debbugs.gnu.org; Thu, 22 Oct 2020 16:41:22 -0400 Original-Received: from mab.sdf.org ([205.166.94.33]:56174 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVhOi-0002wa-Jd for 44131@debbugs.gnu.org; Thu, 22 Oct 2020 16:41:20 -0400 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kVhOh-0001dA-8R; Thu, 22 Oct 2020 20:41:19 +0000 In-Reply-To: <871rhqsoln.fsf@debian.i-did-not-set--mail-host-address--so-tickle-me> (Andrew Eggenberger's message of "Thu, 22 Oct 2020 02:32:04 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191314 Archived-At: Andrew Eggenberger writes: > 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. Hi Andrew, thanks for reporting. I believe this should not be related to the native compilaiton (BTW for me it works, I always use emacsclient). Could you try if you get the same error building master? Thanks! Andrea