From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: {file} "locked by ... pid NNN", but there is no process NNN
Date: Sat, 09 Jan 2016 18:55:39 +0200 [thread overview]
Message-ID: <83ziwen14k.fsf@gnu.org> (raw)
In-Reply-To: <2a0feba2-1cf6-498f-bbea-7fca8ce5d56e@googlegroups.com> (message from djc on Sat, 9 Jan 2016 08:12:05 -0800 (PST))
> Date: Sat, 9 Jan 2016 08:12:05 -0800 (PST)
> From: djc <peter.kaiser@gmail.com>
>
> With a single instance of emacs running a function of my own on a file that makes no use of external activities, I get the message
>
> ...{file} locked by AB@CDE (pid 3964): (s, q, p, ?)?
>
> but there is no process with PID 3964 and no other emacs running. There *is* another buffer open on the file under a different pathname ("~/..." vs "X:\..."), though I don't know how that happened, since I dragged the file from a Windows Explorer window to visit it.
>
> I found myself facing this message while debugging that function, which blocked or looped with high CPU usage when run in batch mode on that file or a similar one.
>
> The message seems wrongheaded to me, but what's the best response to the problem?
Can you give a reproducible recipe for the problem, preferably
starting from "emacs -Q"?
When I drag a file from Explorer, Emacs correctly detects that
X:\foo\bar and ~/bar are the same file, and doesn't create another
buffer for the same file. So some other factor(s) is/are at work
here.
next prev parent reply other threads:[~2016-01-09 16:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-09 16:12 {file} "locked by ... pid NNN", but there is no process NNN djc
2016-01-09 16:36 ` djc
2016-01-09 16:55 ` Eli Zaretskii [this message]
2016-01-19 10:40 ` djc
2016-01-19 18:01 ` Eli Zaretskii
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=83ziwen14k.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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.
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).