-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Precompiling Bio.jl crashed on recent master branch. #16471
Labels
compiler:precompilation
Precompilation of modules
Comments
Applying the following patch to this commit can suppress the segfault: diff --git a/src/precompile.jl b/src/precompile.jl
index 7872899..e56127b 100644
--- a/src/precompile.jl
+++ b/src/precompile.jl
@@ -9,9 +9,9 @@ if VERSION < v"0.5-"
precompile(Base.open, (ASCIIString, Type{Seq.FASTQ},))
precompile(Base.open, (ASCIIString, Type{Intervals.BED},))
else
- precompile(Base.open, (String, Type{Seq.FASTA},))
- precompile(Base.open, (String, Type{Seq.FASTQ},))
- precompile(Base.open, (String, Type{Intervals.BED},))
+ #precompile(Base.open, (String, Type{Seq.FASTA},))
+ #precompile(Base.open, (String, Type{Seq.FASTQ},))
+ #precompile(Base.open, (String, Type{Intervals.BED},))
end
precompile(Base.read, (Seq.FASTAParser{Seq.BioSequence},))
precompile(Base.read, (Seq.FASTAParser{Seq.DNASequence},)) |
This one is quite reproducible. Seems to be a serialization issue (cc @vtjnash maybe):
|
It looks like a new type ( |
vtjnash
added a commit
that referenced
this issue
Jun 3, 2016
the kwftype may not be lazy-created yet so store instead a reference to the primary type and potentially rebuild the kwftype on-demand fix #16471
vtjnash
added a commit
that referenced
this issue
Jun 3, 2016
the kwftype may not be lazy-created yet so store instead a reference to the primary type and potentially rebuild the kwftype on-demand fix #16471
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Precompiling the master branch of Bio.jl package crashes with segmentation fault. This is reproducible both on OSX and on Linux (logs of Travis CI are here: https://travis-ci.org/BioJulia/Bio.jl/jobs/131278787, https://travis-ci.org/BioJulia/Bio.jl/jobs/131278801). This is also reproducible on my local machine (BioJulia/Bio.jl#191). The smallest reproducing code would be:
When I disabled precompile with
--compilecache=no
flag, the Bio module was successfully loaded.The text was updated successfully, but these errors were encountered: