unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file
@ 2017-03-24 17:48 frederik
  2017-03-24 18:56 ` Eli Zaretskii
  2017-04-16  3:08 ` npostavs
  0 siblings, 2 replies; 8+ messages in thread
From: frederik @ 2017-03-24 17:48 UTC (permalink / raw)
  To: 26241; +Cc: jrm

Hi,

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.

I don't have time to fix it, but it would be nice to be notified when
I can safely install the latest version of Emacs (and if there is some
workaround). And I hope that whatever information is provided in this
report may be of help...

Thanks!



In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.7)
 of 2017-02-07 built on arojas
Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=gtk3 --with-xft
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe
 -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: 
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  global-auto-revert-mode: t
  shell-dirtrack-mode: t
  savehist-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t

Recent messages:
Loading ess-site...done
Loading /usr/share/emacs/25.1/lisp/progmodes/cc-mode.el.gz...
uncompressing cc-mode.el.gz...done
Loading /usr/share/emacs/25.1/lisp/progmodes/cc-mode.el.gz...done
Loading /home/frederik/.emacs.d/my-compile-next-makefile.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
When done with a buffer, type C-x # [2 times]
Making completion list...
command-execute: Cannot open load file: No such file or directory, emacsbug
When done with a buffer, type C-x #

Load-path shadows:
/home/frederik/.emacs.d/elpa/ggtags-20161022.251/ggtags hides /usr/share/emacs/site-lisp/ggtags

Features:
(shadow sort mail-extr emacsbug message idna dired rfc822 mml mml-sec
epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils
term/xterm xterm ggtags etags xref project ewoc cc-mode derived cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-langs
cc-bytecomp jka-compr rx edmacro kmacro autorevert filenotify ido
ess-toolbar ess-mouse mouseme thingatpt+ thingatpt browse-url ess-menu
ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d
ess-sas-l ess-sas-a ess-sta-d ess-sta-l cc-vars cc-defs make-regexp
ess-sp6-d ess-dde ess-sp3-d ess-julia julia-mode ess-r-d ess-r-syntax
ess-r-completion ess-roxy essddr noutline outline hideshow ess-help
ess-r-package ess-s-l ess ess-inf ess-tracebug tramp tramp-compat
auth-source cl-seq gnus-util mm-util mail-prsvr password-cache
tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice
ess-mode ess-noweb-mode ess-utils time-date ess-generics ess-custom
executable ess-compat ess-site savehist iflipb bind-key compile
easy-mmode comint ansi-color ring cl help-fns+ wid-edit help-fns server
finder-inf eieio eieio-core cl-macs info package epg-config seq byte-opt
gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs
pcase cl-lib mule-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame
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 charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 314741 13644)
 (symbols 48 32291 0)
 (miscs 40 105 193)
 (strings 32 56044 12435)
 (string-bytes 1 1604987)
 (vectors 16 45714)
 (vector-slots 8 786482 3733)
 (floats 8 352 370)
 (intervals 56 305 0)
 (buffers 976 23))





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file
  2017-03-24 17:48 bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file frederik
@ 2017-03-24 18:56 ` Eli Zaretskii
  2017-03-24 19:24   ` frederik
  2017-04-16  3:08 ` npostavs
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2017-03-24 18:56 UTC (permalink / raw)
  To: frederik; +Cc: 26241, jrm

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file
  2017-03-24 18:56 ` Eli Zaretskii
@ 2017-03-24 19:24   ` frederik
  2017-03-25  0:04     ` npostavs
  0 siblings, 1 reply; 8+ messages in thread
From: frederik @ 2017-03-24 19:24 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 26241, jrm

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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file
  2017-03-24 19:24   ` frederik
@ 2017-03-25  0:04     ` npostavs
  2017-03-25  0:26       ` frederik
  0 siblings, 1 reply; 8+ messages in thread
From: npostavs @ 2017-03-25  0:04 UTC (permalink / raw)
  To: frederik; +Cc: 26241, jrm

frederik@ofb.net writes:

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

Could you try setting debug-on-signal to t after you get Emacs into this
state?  You should then get a backtrace in the running Emacs.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file
  2017-03-25  0:04     ` npostavs
@ 2017-03-25  0:26       ` frederik
  2017-03-25  0:51         ` npostavs
  0 siblings, 1 reply; 8+ messages in thread
From: frederik @ 2017-03-25  0:26 UTC (permalink / raw)
  To: npostavs; +Cc: 26241, jrm

On Fri, Mar 24, 2017 at 08:04:33PM -0400, npostavs@users.sourceforge.net wrote:
> frederik@ofb.net writes:
> 
> > 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.
> 
> Could you try setting debug-on-signal to t after you get Emacs into this
> state?  You should then get a backtrace in the running Emacs.

I'm not familiar with that variable. Could I also set it in ~/.emacs?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file
  2017-03-25  0:26       ` frederik
@ 2017-03-25  0:51         ` npostavs
  0 siblings, 0 replies; 8+ messages in thread
From: npostavs @ 2017-03-25  0:51 UTC (permalink / raw)
  To: frederik; +Cc: 26241, jrm

frederik@ofb.net writes:

> On Fri, Mar 24, 2017 at 08:04:33PM -0400, npostavs@users.sourceforge.net wrote:
>> frederik@ofb.net writes:
>> 
>> Could you try setting debug-on-signal to t after you get Emacs into this
>> state?  You should then get a backtrace in the running Emacs.
>
> I'm not familiar with that variable. Could I also set it in ~/.emacs?

No.  I mean, you could, but then you would be bombarded with spurious
backtraces.  It's better only to set it once you are about to trigger
the error.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file
  2017-03-24 17:48 bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file frederik
  2017-03-24 18:56 ` Eli Zaretskii
@ 2017-04-16  3:08 ` npostavs
  2017-04-16  3:25   ` frederik
  1 sibling, 1 reply; 8+ messages in thread
From: npostavs @ 2017-04-16  3:08 UTC (permalink / raw)
  To: frederik; +Cc: 26241, jrm

forcemerge 26310 26241
quit

frederik@ofb.net writes:

> Hi,
>
> 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.
>
> I don't have time to fix it, but it would be nice to be notified when
> I can safely install the latest version of Emacs (and if there is some
> workaround). And I hope that whatever information is provided in this
> report may be of help...

I think this is probably the same as #26310, and is fixed in 25.2 (rc2).
The patch is at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21091#30.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file
  2017-04-16  3:08 ` npostavs
@ 2017-04-16  3:25   ` frederik
  0 siblings, 0 replies; 8+ messages in thread
From: frederik @ 2017-04-16  3:25 UTC (permalink / raw)
  To: npostavs; +Cc: 26241, jrm

Hey it's great if you found the bug ... but if it's as random as a
problem with isearch, then I'd definitely want to reiterate my
suggestion that emacsclient should have a "--debug" option so that
these can be easily investigated in the future.

I'll update to 25.2 when it appears in Arch.

Thanks,

Frederick

On Sat, Apr 15, 2017 at 11:08:59PM -0400, npostavs@users.sourceforge.net wrote:
> forcemerge 26310 26241
> quit
> 
> frederik@ofb.net writes:
> 
> > Hi,
> >
> > 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.
> >
> > I don't have time to fix it, but it would be nice to be notified when
> > I can safely install the latest version of Emacs (and if there is some
> > workaround). And I hope that whatever information is provided in this
> > report may be of help...
> 
> I think this is probably the same as #26310, and is fixed in 25.2 (rc2).
> The patch is at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21091#30.
> 





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-04-16  3:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-24 17:48 bug#26241: 25.1; Re: emacsclient in 25 branch: error opening any file frederik
2017-03-24 18:56 ` Eli Zaretskii
2017-03-24 19:24   ` frederik
2017-03-25  0:04     ` npostavs
2017-03-25  0:26       ` frederik
2017-03-25  0:51         ` npostavs
2017-04-16  3:08 ` npostavs
2017-04-16  3:25   ` frederik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).