GNU bug report logs - #35581
25.3; freeze on `kill-new' x2: xclip + emacs server + 'emacsclient -nw'

Previous Next

Package: emacs;

Reported by: Mat <vibrysec <at> gmail.com>

Date: Sun, 5 May 2019 15:36:02 UTC

Severity: normal

Tags: moreinfo

Found in version 25.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35581 in the body.
You can then email your comments to 35581 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35581; Package emacs. (Sun, 05 May 2019 15:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mat <vibrysec <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 05 May 2019 15:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mat <vibrysec <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.3;
 freeze on `kill-new' x2: xclip + emacs server + 'emacsclient -nw'
Date: Sun, 5 May 2019 16:40:07 +0200
[Message part 1 (text/plain, inline)]
1. run X gui emacs
2. install ~xclip~ package
3. ~M-x xclip-mode~
4. ~M-x server-start~
5. ~(kill-new "adaf")~
6. run ~emacsclient -nw~ from terminal.
7. ~(kill-new "sss")~

Emacs freezes.

Configuration used:
(setq save-interprogram-paste-before-kill t)
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))   ;; add melpa
repo: either through ssl or non-ssl.
                    (not (gnutls-available-p))))
       (url (concat (if no-ssl "http" "https") "://melpa.org/packages/")))
  (add-to-list 'package-archives (cons "melpa" url) t))
(package-initialize)
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages (quote (xclip))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )


`save-interprogram-paste-before-kill' makes extra action: current value X
clipboard is stored to kill-ring, before new value is put there.
I use xclip commandline tool to talk to X clipboard from emacs.

In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-04-28 built on wla-64
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description:    Ubuntu 18.04.2 LTS

Configured using:
 'configure --with-xwidgets --with-x-toolkit=gtk3'

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

Important settings:
  value of $LC_MONETARY: pl_PL.UTF-8
  value of $LC_NUMERIC: pl_PL.UTF-8
  value of $LC_TIME: pl_PL.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  xclip-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
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Xclip mode enabled
You can run the command ‘xclip-mode’ with M-x xc RET
Xclip mode enabled
user-error: Beginning of history; no preceding item
"aaa"
When done with this frame, type C-x 5 0
Waiting for process to die...done
Quit
funcall-interactively: End of buffer

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils term/xterm
xterm server cus-start cus-load xclip finder-inf package epg-config seq
byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv
cl-loaddefs pcase cl-lib time-date 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
xwidget-internal move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 223260 11365)
 (symbols 48 26193 0)
 (miscs 40 103 93)
 (strings 32 58202 20290)
 (string-bytes 1 1400022)
 (vectors 16 19159)
 (vector-slots 8 536861 4288)
 (floats 8 202 564)
 (intervals 56 246 0)
 (buffers 976 19))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35581; Package emacs. (Wed, 26 Aug 2020 00:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 35581 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Mat <vibrysec <at> gmail.com>
Cc: 35581 <at> debbugs.gnu.org
Subject: Re: bug#35581: 25.3; freeze on `kill-new' x2: xclip + emacs server +
 'emacsclient -nw'
Date: Tue, 25 Aug 2020 17:57:13 -0700
Mat <vibrysec <at> gmail.com> writes:

> 1. run X gui emacs
> 2. install ~xclip~ package
> 3. ~M-x xclip-mode~
> 4. ~M-x server-start~
> 5. ~(kill-new "adaf")~
> 6. run ~emacsclient -nw~ from terminal.
> 7. ~(kill-new "sss")~
>
> Emacs freezes.
>
> Configuration used:
> (setq save-interprogram-paste-before-kill t)
> (require 'package)
> (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))   ;; add melpa repo: either through ssl or non-ssl.
>                     (not (gnutls-available-p))))
>        (url (concat (if no-ssl "http" "https") "://melpa.org/packages/")))
>   (add-to-list 'package-archives (cons "melpa" url) t))
> (package-initialize)
> (custom-set-variables
>  ;; custom-set-variables was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  '(package-selected-packages (quote (xclip))))
> (custom-set-faces
>  ;; custom-set-faces was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  )
>
> `save-interprogram-paste-before-kill' makes extra action: current value X clipboard is stored to kill-ring, before new value is put there.
> I use xclip commandline tool to talk to X clipboard from emacs.
>
> In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
>  of 2018-04-28 built on wla-64
> Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
> System Description:    Ubuntu 18.04.2 LTS

I see you are using an old version of Emacs 25.3.1.  Can you reproduce
this on a recent version of Emacs, such as the recently released version
27.1?  If yes, could you please provide a step-by-step recipe for
reproducing it, starting from "emacs -Q"?

Thanks in advance.

Best regards,
Stefan Kangas




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 26 Aug 2020 00:58:03 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Thu, 01 Oct 2020 12:51:03 GMT) Full text and rfc822 format available.

Notification sent to Mat <vibrysec <at> gmail.com>:
bug acknowledged by developer. (Thu, 01 Oct 2020 12:51:03 GMT) Full text and rfc822 format available.

Message #15 received at 35581-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Mat <vibrysec <at> gmail.com>
Cc: 35581-done <at> debbugs.gnu.org
Subject: Re: bug#35581: 25.3; freeze on `kill-new' x2: xclip + emacs server +
 'emacsclient -nw'
Date: Thu, 1 Oct 2020 05:50:19 -0700
Stefan Kangas <stefan <at> marxist.se> writes:

> Mat <vibrysec <at> gmail.com> writes:
>
>> 1. run X gui emacs
>> 2. install ~xclip~ package
>> 3. ~M-x xclip-mode~
>> 4. ~M-x server-start~
>> 5. ~(kill-new "adaf")~
>> 6. run ~emacsclient -nw~ from terminal.
>> 7. ~(kill-new "sss")~
>>
>> Emacs freezes.
>>
>> Configuration used:
>> (setq save-interprogram-paste-before-kill t)
>> (require 'package)
>> (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))   ;; add melpa repo: either through ssl or non-ssl.
>>                     (not (gnutls-available-p))))
>>        (url (concat (if no-ssl "http" "https") "://melpa.org/packages/")))
>>   (add-to-list 'package-archives (cons "melpa" url) t))
>> (package-initialize)
>> (custom-set-variables
>>  ;; custom-set-variables was added by Custom.
>>  ;; If you edit it by hand, you could mess it up, so be careful.
>>  ;; Your init file should contain only one such instance.
>>  ;; If there is more than one, they won't work right.
>>  '(package-selected-packages (quote (xclip))))
>> (custom-set-faces
>>  ;; custom-set-faces was added by Custom.
>>  ;; If you edit it by hand, you could mess it up, so be careful.
>>  ;; Your init file should contain only one such instance.
>>  ;; If there is more than one, they won't work right.
>>  )
>>
>> `save-interprogram-paste-before-kill' makes extra action: current value X clipboard is stored to kill-ring, before new value is put there.
>> I use xclip commandline tool to talk to X clipboard from emacs.
>>
>> In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
>>  of 2018-04-28 built on wla-64
>> Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
>> System Description:    Ubuntu 18.04.2 LTS
>
> I see you are using an old version of Emacs 25.3.1.  Can you reproduce
> this on a recent version of Emacs, such as the recently released version
> 27.1?  If yes, could you please provide a step-by-step recipe for
> reproducing it, starting from "emacs -Q"?

More information was requested, but none was given within 5 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 30 Oct 2020 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 179 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.