bug#39116: 27.0.60; invalid-function with-connection-local-variables

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view

bug#39116: 27.0.60; invalid-function with-connection-local-variables

Schwarzgruber Christian

I get the following backtrace when using the package ag.el from MELPA.

Debugger entered--Lisp error: (invalid-function with-connection-local-variables)
  with-connection-local-variables(#<process ag>)
  start-file-process-shell-command("ag" #<buffer *ag search text:ag dir:/home/itsv.org.sv-services.at/31101285/.config/emacs/elpa/ag-20190726.9/*> "ag --literal --group --line-number --column --colo...")
  compilation-start("ag --literal --group --line-number --column --colo..." ag-mode (lambda (mode-name) "*ag search text:ag dir:/home/itsv.org.sv-services....") nil)
  apply(compilation-start ("ag --literal --group --line-number --column --colo..." ag-mode (lambda (mode-name) "*ag search text:ag dir:/home/itsv.org.sv-services....") nil))
  funcall-interactively(recompile nil)
  call-interactively(recompile nil nil)

Adding `(eval-when-compile (require 'files-x))` to lisp/subr.el fixes the problem. 
In case that's the way to go, find the patch attached.

In GNU Emacs 27.0.60 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.18.9, cairo version 1.14.6)
 of 2020-01-13 built on 31NL00014
Repository revision: d47b157969356f15e038dbbfa4da7769f6f98583
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Ubuntu 16.04.6 LTS

Configured using:
 'configure --prefix=/usr --without-xwidgets --with-modules --without-pop
 --with-imagemagick --with-xft --with-gconf --with-cairo'

Configured features:

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  global-magit-file-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  auto-insert-mode: t
  midnight-mode: t
  smartparens-global-mode: t
  smartparens-mode: t
  recentf-mode: t
  desktop-save-mode: t
  winner-mode: t
  org-super-agenda-mode: t
  helm-top-poll-mode: t
  helm-adaptive-mode: t
  helm-mode: t
  async-bytecomp-package-mode: t
  aggressive-indent-mode: t
  flyspell-mode: t
  display-line-numbers-mode: t
  helm-popup-tip-mode: t
  helm--remap-mouse-mode: t
  projectile-mode: t
  delete-selection-mode: t
  show-paren-mode: t
  highlight-numbers-mode: t
  auto-compile-on-save-mode: t
  auto-compile-mode: t
  savehist-mode: t
  which-key-posframe-mode: t
  which-key-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  company-quickhelp-mode: t
  company-quickhelp-local-mode: t
  global-company-mode: t
  company-mode: t
  pyvenv-mode: t
  shell-dirtrack-mode: t
  save-place-mode: t
  keyfreq-mode: t
  doom-modeline-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  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
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

(shadow sort mail-extr emacsbug sendmail jka-compr cl-print helm-org eieio-opt
ag find-dired magit-extras hippie-exp view company-math math-symbol-lists
org-eldoc org-indent org-id org-screen term disp-table ehelp org-man
org-checklist inferior-slime slime-cl-indent cl-indent slime-trace-dialog
slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree slime-scratch slime-presentations bridge
slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy
slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-autodoc
slime-editing-commands slime-repl elp slime-parse mule-util ert debug slime
gud apropos hyperspec colir ivy-overlay benchmark autoload lisp-mnt tar-mode
arc-mode archive-mode mm-archive url-cache helm-command helm-elisp helm-eval
browse-kill-ring helm-projectile dired-aux diredfl dired-x ace-window
helm-x-files helm-for-files helm-bookmark helm-info magit-bookmark
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 magit-diff smerge-mode diff
magit-core magit-autorevert magit-margin magit-transient magit-process
magit-mode git-commit transient magit-git magit-section magit-utils crm
log-edit pcvs-util with-editor misearch multi-isearch conf-mode vc-mtn vc-hg
vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher
autoinsert company-shell image-file helm-external ffap midnight server
org-journal org-crypt cal-iso smartparens-config smartparens-org
smartparens-python smartparens-markdown smartparens-text smartparens-html
smartparens recentf hydra-conf avy desktop frameset winner windmove rect
org-effectiveness org-conf ob-async org-super-agenda ts ob-haskell ob-clojure
ob-css ob-dot ob-ledger ob-R ob-scheme ob-sed ob-sqlite ob-sql ob-shell
ob-ruby ob-python ob-perl ob-org ob-plantuml ob-matlab ob-octave ob-makefile
ob-lua ob-lisp ob-latex ob-js ob-java ob-gnuplot ob-calc calc-store calc-trail
calc-ext calc calc-loaddefs calc-macs ob-awk ob-C org-clock org-ref
org-ref-helm-bibtex org-ref-helm org-ref-core reftex-cite reftex
reftex-loaddefs reftex-vars ox-beamer ox-man ox-md ox-odt ox-latex
ox-icalendar ox-taskjuggler ox-confluence ox-ascii ox-freemind ox-html table
ox-jira ox-publish ox org-ref-glossary org-ref-bibtex org-ref-citeproc
org-element avl-tree message wdired image-dired image-mode exif dired
dired-loaddefs rfc822 mml mml-sec epa epg epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail-utils gmm-utils
mailheader hydra doi-utils org-ref-utils org-ref-pdf url-http url-auth
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw
ol-bibtex htmlize cl org-bullets org-habit org-agenda org ob ob-tangle ob-ref
ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete
org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval
org-table org-keys org-loaddefs ol org-compat org-macs helm-conf helm-flycheck
flycheck helm-bibtex bibtex-completion biblio biblio-download biblio-dissemin
biblio-ieee biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone
biblio-doi biblio-core let-alist url-queue hl-line parsebib bibtex helm-ag
helm-dictionary helm-net xml helm-sys helm-adaptive helm-mode helm-files
helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp helm-types
helm-config async-bytecomp face-remap company-yasnippet company-elisp
aggressive-indent flyspell ispell display-line-numbers work rng-nxml rng-valid
rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn
nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode dom nxml-util nxml-enc xmltok
edebug backtrace helm-lsp helm-imenu helm-utils helm-help helm helm-source
helm-multi-match helm-lib lsp-clients lsp-eslint lsp-verilog lsp-json url
url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf
mailcap lsp-csharp gnutls lsp-pwsh lsp-terraform lsp-yaml lsp-vhdl lsp-haxe
lsp-erlang lsp-fsharp lsp-metals lsp-elm lsp-dart lsp-clojure lsp-go lsp-xml
lsp-css lsp-intelephense lsp-vetur lsp-html lsp-solargraph lsp-rust lsp-pyls
lsp lsp-mode url-util tree-widget spinner network-stream puny nsm rmc
markdown-preview-eww markdown-mode edit-indirect noutline outline lv inline ht
em-glob dash-functional typescript-mode js-import projectile ibuf-ext
rainbow-mode sx ibuffer ibuffer-loaddefs autorevert filenotify
docker-compose-mode dockerfile-mode sh-script smie executable ansible
ansible-vault ansible-doc company-ansible company-ansible-keywords delsel time
paren highlight-numbers parent-mode auto-compile packed savehist
which-key-posframe which-key posframe tags-conf rtags repeat asm-mode bookmark
text-property-search pp ggtags ewoc tdd chrome-filetypes derived vala-snippets
yasnippet diminish company-quickhelp pos-tip company-oddmuse company-keywords
company-etags company-gtags company-dabbrev-code company-dabbrev company-files
company-capf company-cmake company-xcode company-clang company-semantic
company-eclim company-template company-bbdb company pcase help-fns radix-tree
elpy elpy-rpc elpy-shell elpy-profile elpy-django elpy-refactor pyvenv eshell
esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util
python tramp-sh docker-tramp tramp-cache tramp tramp-loaddefs trampver
tramp-integration tramp-compat shell pcomplete parse-time iso8601 ls-lisp
format-spec ido grep files-x cus-edit cus-start cus-load wid-edit
highlight-indentation use-package-chords bind-chord key-chord use-package
use-package-delight saveplace holidays hol-loaddefs php-mode advice mode-local
find-func imenu speedbar sb-image ezimage dframe etags fileloop generator xref
project add-log cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs php-face php php-project flymake-proc
flymake compile comint ansi-color ring warnings thingatpt apache-mode keyfreq
logview datetime extmap bindat generic-x sanityinc-tomorrow-day-theme
cal-julian theme-changer solar cal-dst color-theme-sanityinc-tomorrow color
doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core
shrink-path f s all-the-icons all-the-icons-faces data-material
data-weathericons data-octicons data-fileicons data-faicons data-alltheicons
memoize cal-menu calendar cal-loaddefs use-package-ensure async popup
time-date auto-package-update dash cl-extra help-mode use-package-bind-key
bind-key easy-mmode use-package-diminish use-package-core finder-inf edmacro
kmacro helm-easymenu gh-common marshal eieio-compat slime-autoloads rx 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 loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 7580964 495818)
 (symbols 48 76713 258)
 (strings 32 405447 178035)
 (string-bytes 1 13918277)
 (vectors 16 224496)
 (vector-slots 8 3011803 4631964)
 (floats 8 1593 3080)
 (intervals 56 555012 12310)
 (buffers 1000 111)
 (heap 1024 290248 41385))

0001-lisp-subr.el-Fix-invalid-function-with-connection-lo.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view

bug#39116: This ticket can be closed

Schwarzgruber Christian

This ticket can be closed. Works now, even without the attached patch.

- Chris

Reply | Threaded
Open this post in threaded view

bug#39116: This ticket can be closed

Stefan Kangas
Schwarzgruber Christian <[hidden email]> writes:

> This ticket can be closed. Works now, even without the attached patch.

Thanks.  I'm closing the bug with this message.

Best regards,
Stefan Kangas