From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: frederik@ofb.net Newsgroups: gmane.emacs.bugs Subject: bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file Date: Fri, 24 Mar 2017 12:24:28 -0700 Message-ID: <20170324192428.GB24645@ofb.net> References: <87d1d67emd.fsf@ofb.net> <8360iycxl1.fsf@gnu.org> Reply-To: frederik@ofb.net NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1490383518 9973 195.159.176.226 (24 Mar 2017 19:25:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Mar 2017 19:25:18 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 26241@debbugs.gnu.org, jrm@ftfl.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 24 20:25:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crUpd-0001ON-JR for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Mar 2017 20:25:05 +0100 Original-Received: from localhost ([::1]:34674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crUpj-0006Qe-M1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Mar 2017 15:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crUpe-0006O3-1X for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 15:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crUpa-0003qI-Rl for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 15:25:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44587) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1crUpa-0003qE-O9 for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 15:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1crUpa-0003DO-JG for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 15:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: frederik@ofb.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Mar 2017 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26241 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26241-submit@debbugs.gnu.org id=B26241.149038347812322 (code B ref 26241); Fri, 24 Mar 2017 19:25:02 +0000 Original-Received: (at 26241) by debbugs.gnu.org; 24 Mar 2017 19:24:38 +0000 Original-Received: from localhost ([127.0.0.1]:42786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crUpC-0003Cf-FQ for submit@debbugs.gnu.org; Fri, 24 Mar 2017 15:24:38 -0400 Original-Received: from icgriddb04.seas.upenn.edu ([158.130.57.72]:49894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crUpA-0003CX-Mu for 26241@debbugs.gnu.org; Fri, 24 Mar 2017 15:24:37 -0400 Original-Received: from [10.13.0.6] (helo=ofb.net) by ICGRIDDB04.SEAS.upenn.edu with esmtp (Exim 4.87) (envelope-from ) id 1crUp9-00060V-07; Fri, 24 Mar 2017 15:24:35 -0400 Original-Received: from thutmose (unknown [24.7.113.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ofb.net (Postfix) with ESMTPSA id BC82D44994; Fri, 24 Mar 2017 12:24:29 -0700 (PDT) Original-Received: from frederik by thutmose with local (Exim 4.88) (envelope-from ) id 1crUp2-0008WV-IH; Fri, 24 Mar 2017 12:24:28 -0700 Content-Disposition: inline In-Reply-To: <8360iycxl1.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130889 Archived-At: On Fri, Mar 24, 2017 at 09:56:58PM +0300, Eli Zaretskii wrote: > > Date: Fri, 24 Mar 2017 10:48:05 -0700 > > From: frederik@ofb.net > > Cc: jrm@ftfl.ca > > > > I'm writing to know about the status of this bug: > > > > https://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00036.html > > > > which is affecting me as well. I get the same "Waiting for Emacs... > > *ERROR*: Wrong type argument: stringp, nil" after emacs has been running > > for a while. > > Since this doesn't happen right away, there's something that gets > broken in the Emacs session. We need to know the details: which > function signals this error, and preferably also why. Since this > doesn't happen to others, I don't see how we can make progress without > more details about the problem, sorry. You could instrument 'emacsclient' to produce a stack trace, with an option analogous to --debug-init. It would be useful for future bugs as well. "Wrong type argument" is better than nothing, but we agree that it's not very useful. Both myself and the other reporter seem to have noticed the problem appearing in Emacs 25. Actually for me, an Arch Linux user, looking at the dates in /var/cache/pacman/pkg I think the problem may have occurred after emacs-25.1-4-x86_64.pkg.tar.xz (installed Feb 7) since the previous patch level 25.1-3 was installed Dec 24 2016 and I don't remember any crashes so long ago. But Joseph's original report is 9 months old. I have of course made changes to ~/.emacs in this time but I have very little idea what of that code is run by emacsclient. It seems likely that the problem stems from a change that was made to Emacs, and we have a record of such changes, so it may be useful to check that record. Thanks for your reply.