-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault in coq/getDocument call #397
Closed
Nfsaavedra opened this issue
Mar 6, 2024
· 4 comments
· Fixed by #398, ocaml/opam-repository#25552, ocaml/opam-repository#25570 or ocaml/opam-repository#25571
Closed
Segmentation fault in coq/getDocument call #397
Nfsaavedra opened this issue
Mar 6, 2024
· 4 comments
· Fixed by #398, ocaml/opam-repository#25552, ocaml/opam-repository#25570 or ocaml/opam-repository#25571
Milestone
Comments
@Nfsaavedra What version of Coq is this for? |
8.18 when using 0.1.8. 8.17 when using 0.1.7. |
That's for sure a SerAPI bug, thanks a lot for the report. |
SerAPI has to do some unsafe code to serialize all the Coq Ast, very unfortunately. I will have a look, but it is possible that this is fixed on |
ejgallego
added a commit
that referenced
this issue
Mar 20, 2024
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
ejgallego
added a commit
that referenced
this issue
Mar 20, 2024
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
ejgallego
added a commit
that referenced
this issue
Mar 20, 2024
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
ejgallego
added a commit
that referenced
this issue
Mar 21, 2024
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
ejgallego
added a commit
that referenced
this issue
Mar 21, 2024
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
ejgallego
added a commit
that referenced
this issue
Mar 21, 2024
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
ejgallego
added a commit
to ejgallego/opam-repository
that referenced
this issue
Mar 21, 2024
CHANGES: - [serlib] Fix (@ejgallego, rocq-archive/coq-serapi#398, fixes rocq-archive/coq-serapi#397 fixes sr-lab/coqpyt#35 , thanks to @laetitia-teo and @Nfsaavedra for the bug report)
ejgallego
added a commit
that referenced
this issue
Mar 21, 2024
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
ejgallego
added a commit
to ejgallego/opam-repository
that referenced
this issue
Mar 21, 2024
CHANGES: - [serlib] Fix (@ejgallego, rocq-archive/coq-serapi#398, fixes rocq-archive/coq-serapi#397 fixes sr-lab/coqpyt#35 , thanks to @laetitia-teo and @Nfsaavedra for the bug report)
ejgallego
added a commit
to ejgallego/opam-repository
that referenced
this issue
Mar 21, 2024
CHANGES: - [serlib] Fix (@ejgallego, rocq-archive/coq-serapi#398, fixes rocq-archive/coq-serapi#397 fixes sr-lab/coqpyt#35 , thanks to @laetitia-teo and @Nfsaavedra for the bug report)
ejgallego
added a commit
that referenced
this issue
Mar 21, 2024
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
ejgallego
added a commit
that referenced
this issue
Mar 21, 2024
That was a quite dumb TODO I forgot about. But indeed, GADT remain an issue for us. Fixes #397 , fixes sr-lab/coqpyt#35 Thanks to Laetitia Teodorescu (@laetitia-teo) and Nuno Saavedra (@Nfsaavedra) for the bug report.
ejgallego
added a commit
to ejgallego/opam-repository
that referenced
this issue
Mar 21, 2024
CHANGES: - [serlib] Fix (@ejgallego, rocq-archive/coq-serapi#398, fixes rocq-archive/coq-serapi#397 fixes sr-lab/coqpyt#35 , thanks to @laetitia-teo and @Nfsaavedra for the bug report)
ejgallego
added a commit
to ejgallego/opam-repository
that referenced
this issue
Mar 21, 2024
CHANGES: - [serlib] Fix (@ejgallego, rocq-archive/coq-serapi#398, fixes rocq-archive/coq-serapi#397 fixes sr-lab/coqpyt#35 , thanks to @laetitia-teo and @Nfsaavedra for the bug report)
ejgallego
added a commit
to ejgallego/opam-repository
that referenced
this issue
Mar 21, 2024
CHANGES: - [serlib] Fix (@ejgallego, rocq-archive/coq-serapi#398, fixes rocq-archive/coq-serapi#397 fixes sr-lab/coqpyt#35 , thanks to @laetitia-teo and @Nfsaavedra for the bug report)
ejgallego
added a commit
to ejgallego/opam-repository
that referenced
this issue
Mar 21, 2024
CHANGES: - [serlib] Fix (@ejgallego, rocq-archive/coq-serapi#398, fixes rocq-archive/coq-serapi#397 fixes sr-lab/coqpyt#35 , thanks to @laetitia-teo and @Nfsaavedra for the bug report)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
coq-lsp raises a segmentation fault when
coq/getDocument
is called on the file Coq.Numbers.Cyclic.Int63.PrimInt63 or Coq.Floats.PrimFloat of the Coq standard library.To Reproduce
Steps to reproduce the behavior:
coq/getDocument
call on the Coq.Numbers.Cyclic.Int63.PrimInt63 or Coq.Floats.PrimFloat file.Expected behavior
Return the document instead of raising a segmentation fault.
Desktop
Additional context
This issue is related to sr-lab/coqpyt#35.
The text was updated successfully, but these errors were encountered: