* bug#22865: 25.0.91; Use Proof General with emacs-25 on OS X frequent hangs coqtop
@ 2016-03-01 2:02 John Wiegley
2016-03-04 19:55 ` John Wiegley
0 siblings, 1 reply; 9+ messages in thread
From: John Wiegley @ 2016-03-01 2:02 UTC (permalink / raw)
To: 22865
I'm afraid this could be difficult to debug, but here is my scenario:
1. Open a .v (Coq) file within my project.
2. Ask Proof General to evaluate the file to the end.
3. Before a certain definition, PG will hang waiting on a response from
"coqtop", the evaluator. Checking the process list shows that this
process is not doing anything.
4. Once this happens, C-g or C-c C-c to abort the evaluation leaves me
in a broken state where nothing can evaluate anymore. The only
recourse is to "killall coqtop", and then attempt the evaluation
again. However, the same definition always causes it to hang. There
is no common factor about the definitions that I can see, but it
happens reliably every time for each file where it does occur.
if I switch to 24.5, everything evaluates fine. It happens quite
frequently with emacs-25, but never with 24.5.
Now, this could be 25.1, or it could be Mac port vs. NeXTstep, or it
could be some other subtle interaction with my environment.
Unfortunately this will take time to narrow down, and I have to get the
Coq code written, so for now this is a placeholder and I must revert to
using 24.5. I hope to come back to this later, especially if others have
ideas on where to look.
John
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#22865: 25.0.91; Use Proof General with emacs-25 on OS X frequent hangs coqtop
2016-03-01 2:02 bug#22865: 25.0.91; Use Proof General with emacs-25 on OS X frequent hangs coqtop John Wiegley
@ 2016-03-04 19:55 ` John Wiegley
2016-03-04 20:25 ` Clément Pit--Claudel
[not found] ` <m27fhi9fq8.fsf@newartisans.com>
0 siblings, 2 replies; 9+ messages in thread
From: John Wiegley @ 2016-03-04 19:55 UTC (permalink / raw)
To: 22865; +Cc: Clément Pit--Claudel
Clément, have you seen this bug on your side? Is it possible that this only
happens on OS X?
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#22865: 25.0.91; Use Proof General with emacs-25 on OS X frequent hangs coqtop
2016-03-04 19:55 ` John Wiegley
@ 2016-03-04 20:25 ` Clément Pit--Claudel
2016-03-04 21:04 ` John Wiegley
[not found] ` <m27fhi9fq8.fsf@newartisans.com>
1 sibling, 1 reply; 9+ messages in thread
From: Clément Pit--Claudel @ 2016-03-04 20:25 UTC (permalink / raw)
To: John Wiegley, 22865
[-- Attachment #1.1: Type: text/plain, Size: 241 bytes --]
On 03/04/2016 02:55 PM, John Wiegley wrote:
> Clément, have you seen this bug on your side? Is it possible that this only
> happens on OS X?
Definitely OS X only; I haven't seen it in over 6 months using of Emacs 25 w/ PG and Coq.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#22865: 25.0.91; Use Proof General with emacs-25 on OS X frequent hangs coqtop
2016-03-04 20:25 ` Clément Pit--Claudel
@ 2016-03-04 21:04 ` John Wiegley
0 siblings, 0 replies; 9+ messages in thread
From: John Wiegley @ 2016-03-04 21:04 UTC (permalink / raw)
To: Clément Pit--Claudel; +Cc: 22865
>>>>> Clément Pit--Claudel <clement.pitclaudel@live.com> writes:
> Definitely OS X only; I haven't seen it in over 6 months using of Emacs 25
> w/ PG and Coq.
That's good to hear, thanks for that data point. I've posted reproduction
instructions to emacs-devel, but they should be repeated here:
I am using ProofGeneral-4.3pre150313, and Coq 8.4pl6. I've tried setting
coq-prog-name to both "coqtop" and "coqtop.opt", with no change in behavior.
If you download Software Foundations from:
https://www.cis.upenn.edu/~bcpierce/sf/current/index.html
And open the file ImpParser.v, it hangs for me while attempting to evaluate
the definition parsePrimaryExp.
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <m27fhi9fq8.fsf@newartisans.com>]
end of thread, other threads:[~2016-03-06 13:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01 2:02 bug#22865: 25.0.91; Use Proof General with emacs-25 on OS X frequent hangs coqtop John Wiegley
2016-03-04 19:55 ` John Wiegley
2016-03-04 20:25 ` Clément Pit--Claudel
2016-03-04 21:04 ` John Wiegley
[not found] ` <m27fhi9fq8.fsf@newartisans.com>
[not found] ` <wl60x1n4qj.wl%mituharu@math.s.chiba-u.ac.jp>
2016-03-05 17:22 ` Paul Eggert
2016-03-05 17:41 ` Clément Pit--Claudel
2016-03-05 19:49 ` Paul Eggert
2016-03-06 4:53 ` John Wiegley
2016-03-06 13:03 ` Wolfgang Jenkner
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).