unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Alan D. Salewski" <salewski@att.net>
To: 16737@debbugs.gnu.org
Subject: bug#16737: Timed out waiting for reply from selection owner
Date: Fri, 05 Jun 2015 10:36:04 -0400	[thread overview]
Message-ID: <20150605143604.GE21407@att.net> (raw)
In-Reply-To: <20150604134219.GC21407@att.net>

On 2015-06-04 09:42:19, Alan D. Salewski spake thus:
[...]
> I didn't capture timestamp information with this run, so I'm not sure
> where, if anywhere, the first occurrance of the problem is visible above
> the output supplied above.
[...]

This time I launched emacs with this (to timestamp stderr messages):

------------------------------------8<---------------------------------------
    #!/bin/bash -

    # emacs-log-stderr: launch emacs with stderr redirected to a log file in a
    # well-known location.

    PROG='emacs-log-stderr'

    emacs "$@" \
        2> >( while read line; do
                  printf '%s (emacs stderr): %s\n' "$(date "+%F %T")" "$line" >> "${HOME}/var/log/emacs/emacs.stderr";
              done
            )
------------------------------------8<---------------------------------------


Here's the stdout output coming up on the problem; fat arrows show the output
when the problem occurred this time:

    2015-06-05 10:01:00 (emacs stderr): 5156: Sending all 84 bytes
    2015-06-05 10:01:00 (emacs stderr): 5156: Sent SelectionNotify: CLIPBOARD, target TARGETS (19634)
    2015-06-05 10:01:00 (emacs stderr): 5156: x_stop_queuing_selection_requests 1
    2015-06-05 10:01:01 (emacs stderr): 5156: x_handle_selection_event
    2015-06-05 10:01:01 (emacs stderr): 5156: x_start_queuing_selection_requests 1
    2015-06-05 10:01:01 (emacs stderr): 5156: x_handle_selection_request: selection=CLIPBOARD, target=TARGETS
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom LENGTH
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom FILE_NAME
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom CHARACTER_POSITION
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom LINE_NUMBER
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom COLUMN_NUMBER
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom OWNER_OS
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom HOST_NAME
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom USER
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom CLASS
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom NAME
    2015-06-05 10:01:01 (emacs stderr): 5156:  XInternAtom SAVE_TARGETS
    2015-06-05 10:01:01 (emacs stderr): 5156: Sending all 84 bytes
    2015-06-05 10:01:01 (emacs stderr): 5156: Sent SelectionNotify: CLIPBOARD, target TARGETS (19635)
    2015-06-05 10:01:01 (emacs stderr): 5156: x_stop_queuing_selection_requests 1
    2015-06-05 10:01:02 (emacs stderr): 5156: x_handle_selection_event
    2015-06-05 10:01:02 (emacs stderr): 5156: x_start_queuing_selection_requests 1
    2015-06-05 10:01:02 (emacs stderr): 5156: x_handle_selection_request: selection=CLIPBOARD, target=TARGETS
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom LENGTH
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom FILE_NAME
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom CHARACTER_POSITION
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom LINE_NUMBER
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom COLUMN_NUMBER
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom OWNER_OS
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom HOST_NAME
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom USER
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom CLASS
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom NAME
    2015-06-05 10:01:02 (emacs stderr): 5156:  XInternAtom SAVE_TARGETS
    2015-06-05 10:01:02 (emacs stderr): 5156: Sending all 84 bytes
    2015-06-05 10:01:02 (emacs stderr): 5156: Sent SelectionNotify: CLIPBOARD, target TARGETS (19636)
    2015-06-05 10:01:02 (emacs stderr): 5156: x_stop_queuing_selection_requests 1
    2015-06-05 10:01:03 (emacs stderr): 5156: x_handle_selection_event
    2015-06-05 10:01:03 (emacs stderr): 5156: x_start_queuing_selection_requests 1
    2015-06-05 10:01:03 (emacs stderr): 5156: x_handle_selection_request: selection=CLIPBOARD, target=TARGETS
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom LENGTH
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom FILE_NAME
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom CHARACTER_POSITION
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom LINE_NUMBER
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom COLUMN_NUMBER
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom OWNER_OS
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom HOST_NAME
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom USER
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom CLASS
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom NAME
    2015-06-05 10:01:03 (emacs stderr): 5156:  XInternAtom SAVE_TARGETS
    2015-06-05 10:01:03 (emacs stderr): 5156: Sending all 84 bytes
    2015-06-05 10:01:03 (emacs stderr): 5156: Sent SelectionNotify: CLIPBOARD, target TARGETS (19637)
    2015-06-05 10:01:03 (emacs stderr): 5156: x_stop_queuing_selection_requests 1
=>  2015-06-05 10:01:04 (emacs stderr): 5156: Get selection UTF8_STRING, type _EMACS_TMP_
=>  2015-06-05 10:01:04 (emacs stderr): 5156:   Start waiting 5 secs for SelectionNotify
=>  2015-06-05 10:01:09 (emacs stderr): 5156:   Got event = 0
=>  2015-06-05 10:01:09 (emacs stderr): 5156: Get selection COMPOUND_TEXT, type _EMACS_TMP_
=>  2015-06-05 10:01:09 (emacs stderr): 5156:   Start waiting 5 secs for SelectionNotify
=>  2015-06-05 10:01:14 (emacs stderr): 5156:   Got event = 0
=>  2015-06-05 10:01:14 (emacs stderr): 5156: Get selection STRING, type _EMACS_TMP_
=>  2015-06-05 10:01:14 (emacs stderr): 5156:   Start waiting 5 secs for SelectionNotify
=>  2015-06-05 10:01:19 (emacs stderr): 5156:   Got event = 0
=>  2015-06-05 10:01:19 (emacs stderr): 5156: Get selection STRING, type _EMACS_TMP_
=>  2015-06-05 10:01:19 (emacs stderr): 5156:   Start waiting 5 secs for SelectionNotify
=>  2015-06-05 10:01:24 (emacs stderr): 5156:   Got event = 0
=>  2015-06-05 10:01:24 (emacs stderr): 5156: Received SelectionNotify
=>  2015-06-05 10:01:24 (emacs stderr): 5156: Received SelectionNotify
=>  2015-06-05 10:01:24 (emacs stderr): 5156: Received SelectionNotify
=>  2015-06-05 10:01:24 (emacs stderr): 5156: Received SelectionNotify
    2015-06-05 10:01:24 (emacs stderr): 5156: x_handle_selection_event
    2015-06-05 10:01:24 (emacs stderr): 5156: x_start_queuing_selection_requests 1
    2015-06-05 10:01:24 (emacs stderr): 5156: x_handle_selection_request: selection=CLIPBOARD, target=TARGETS
    2015-06-05 10:01:24 (emacs stderr): 5156:  XInternAtom LENGTH
    2015-06-05 10:01:24 (emacs stderr): 5156:  XInternAtom FILE_NAME

For comparison, here's what the output looked like when successfully pasting
into an emacs buffer earlier in the same emacs session:

    2015-06-05 05:37:52 (emacs stderr): 5156: x_start_queuing_selection_requests 1
    2015-06-05 05:37:52 (emacs stderr): 5156: x_handle_selection_request: selection=CLIPBOARD, target=TARGETS
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom LENGTH
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom FILE_NAME
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom CHARACTER_POSITION
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom LINE_NUMBER
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom COLUMN_NUMBER
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom OWNER_OS
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom HOST_NAME
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom USER
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom CLASS
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom NAME
    2015-06-05 05:37:52 (emacs stderr): 5156:  XInternAtom SAVE_TARGETS
    2015-06-05 05:37:52 (emacs stderr): 5156: Sending all 84 bytes
    2015-06-05 05:37:52 (emacs stderr): 5156: Sent SelectionNotify: CLIPBOARD, target TARGETS (12471)
    2015-06-05 05:37:52 (emacs stderr): 5156: x_stop_queuing_selection_requests 1
=>  2015-06-05 05:37:52 (emacs stderr): 5156: Get selection UTF8_STRING, type _EMACS_TMP_
=>  2015-06-05 05:37:52 (emacs stderr): 5156: Received SelectionNotify
=>  2015-06-05 05:37:52 (emacs stderr): 5156:   Start waiting 5 secs for SelectionNotify
=>  2015-06-05 05:37:52 (emacs stderr): 5156:   Got event = 1
=>  2015-06-05 05:37:52 (emacs stderr): 5156: Reading selection data
=>  2015-06-05 05:37:52 (emacs stderr): 5156: Read 52 bytes from property _EMACS_TMP_
=>  2015-06-05 05:37:52 (emacs stderr): 5156:   Delete property _EMACS_TMP_
    2015-06-05 05:37:53 (emacs stderr): 5156: x_handle_selection_event
    2015-06-05 05:37:53 (emacs stderr): 5156: x_start_queuing_selection_requests 1
    2015-06-05 05:37:53 (emacs stderr): 5156: x_handle_selection_request: selection=CLIPBOARD, target=TARGETS
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom LENGTH
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom FILE_NAME
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom CHARACTER_POSITION
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom LINE_NUMBER
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom COLUMN_NUMBER
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom OWNER_OS
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom HOST_NAME
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom USER
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom CLASS
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom NAME
    2015-06-05 05:37:53 (emacs stderr): 5156:  XInternAtom SAVE_TARGETS
    2015-06-05 05:37:53 (emacs stderr): 5156: Sending all 84 bytes

-Al

-- 
-----------------------------------------------------------------
a l a n   d.   s a l e w s k i                   salewski@att.net
1024D/FA2C3588 EDFA 195F EDF1 0933 1002  6396 7C92 5CB3 FA2C 3588
-----------------------------------------------------------------





  reply	other threads:[~2015-06-05 14:36 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13  3:40 bug#16737: 24.3.50; Yank causes hang Sujith Manoharan
2014-02-13  5:22 ` Dmitry Antipov
2014-02-19 16:04   ` Sujith Manoharan
2014-03-04 12:47   ` Nicolas Richard
2014-03-04 16:59     ` Eli Zaretskii
2014-03-05 11:01       ` Nicolas Richard
2014-03-05 17:08         ` Eli Zaretskii
2014-03-21  6:19           ` Nicolas Richard
2014-03-21  6:28             ` Nicolas Richard
2014-03-21  6:42               ` Nicolas Richard
2014-03-21  8:18               ` Eli Zaretskii
2014-03-21  8:17             ` Eli Zaretskii
2014-03-27  9:34               ` Nicolas Richard
2014-02-13 10:23 ` Nicolas Richard
2014-06-25 16:04 ` bug#16737: Timed out waiting for reply from selection owner Stefan Monnier
2014-06-25 18:07   ` Alex Bennée
2015-06-03 15:18     ` Tassilo Horn
2015-06-03 15:35       ` Alex Bennée
2015-06-03 15:39         ` bug#20283: " Oleh Krehel
2015-06-05  9:26           ` Alex Bennée
2014-06-25 18:28   ` Jan Djärv
2014-06-25 19:56     ` Stefan Monnier
2014-07-21 15:02     ` Alex Bennée
2014-11-21 10:53     ` Tom Tromey
2014-06-25 19:58   ` Nicolas Richard
2014-09-25 20:43 ` bug#16737: Autoloading `safe-local-variable' properties Stefan Monnier
2014-11-11 12:37 ` bug#16737: Yank causes hang in v24.4.1 Mike Crowe
2014-11-11 13:26   ` Mike Crowe
2015-01-17 14:38 ` bug#16737: Timed out waiting for reply from selection owner Oleh Krehel
2015-01-17 14:56   ` Eli Zaretskii
2015-01-17 15:34     ` Oleh Krehel
2015-01-17 18:07       ` Eli Zaretskii
2015-01-17 21:43         ` Vincent Bernat
2015-01-17 21:45           ` Vincent Bernat
2015-01-19 17:46           ` Eli Zaretskii
2015-01-27 16:43             ` Vincent Bernat
2015-01-27 17:42               ` Eli Zaretskii
2015-01-27 18:16                 ` Vincent Bernat
2015-01-28  9:54                   ` Nicolas Richard
2015-01-28 10:16                     ` Vincent Bernat
2015-01-28 14:14                       ` Vincent Bernat
2015-01-28 14:23               ` Oleh Krehel
2015-01-27 10:43         ` Oleh Krehel
2015-01-27 17:43           ` Eli Zaretskii
2015-01-27 18:05             ` Oleh Krehel
2015-01-27 19:10               ` Eli Zaretskii
2015-04-04 14:12 ` bug#16737: 24.3.50; Yank causes hang Jan Djärv
2015-06-04 13:42 ` bug#16737: Timed out waiting for reply from selection owner Alan D. Salewski
2015-06-05 14:36   ` Alan D. Salewski [this message]
2015-06-15  3:00     ` Alan D. Salewski
2015-06-16 11:10       ` Oleh Krehel
2015-06-23 23:45       ` Stefan Monnier
2015-07-08 20:54 ` bug#16737: A bit of digging Mike Crowe
2015-07-09 12:44   ` bug#16737: Possible patch Mike Crowe
2015-07-15 18:36     ` bug#16737: Emacs bug #16737: " Mike Crowe
2015-07-16  8:32       ` Tassilo Horn
2015-07-17 19:58         ` Martin Renold
2015-07-17 19:08 ` bug#16737: Patch for "Yank causes hang" bug in Emacs Paul Eggert
2015-07-18  5:16   ` Sujith Manoharan
2015-09-26  4:39   ` bug#19320: " Mitchel Humpherys

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150605143604.GE21407@att.net \
    --to=salewski@att.net \
    --cc=16737@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).