Skip to content
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

Error Signal 11 on Mac OS X El Capitan #220

Closed
yaseen-ladak opened this issue Nov 16, 2015 · 11 comments
Closed

Error Signal 11 on Mac OS X El Capitan #220

yaseen-ladak opened this issue Nov 16, 2015 · 11 comments
Labels

Comments

@yaseen-ladak
Copy link

Hi @ekg @AlistairNWard

I am getting this error signal 11 on Max OS X El Capitan as mentioned in previous issues. However, this is not happening on ubuntu. Was there a solution to this?

The following is the error:


CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sample_1
Error: signal 11:
0 freebayes 0x00000001099004e1 _Z15segfaultHandleri + 33
1 libsystem_platform.dylib 0x00007fff95e2352a _sigtramp + 26
2 libc++.1.dylib 0x00007fff961bfdfe _ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcl + 322
3 freebayes 0x00000001098a7355 ZN12AlleleParser22removeDuplicateAllelesER7SamplesRNSt3__13mapINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_6vectorIP6AlleleNS7_ISC_EEEENS2_4lessIS9_EENS7_INS2_4pairIKS9_SE_EEEEEEiiRSB + 341
4 freebayes 0x00000001098a9aa2 _ZN12AlleleParser21buildHaplotypeAllelesERNSt3__16vectorI6AlleleNS0_9allocatorIS2_EEEER7SamplesRNS0_3mapINS0_12basic_stringIcNS0_11char_traitsIcEENS3_IcEEEENS1_IPS2_NS3_ISF_EEEENS0_4lessISE_EENS3_INS0_4pairIKSE_SH_EEEEEESP_RNS9_ISF_NS0_3setISF_NSI_ISF_EESG_EESR_NS3_INSK_IKSF_SS_EEEEEEi + 4754
5 freebayes 0x00000001098533a1 main + 4913
6 libdyld.dylib 0x00007fff93d695ad start + 1


Thanks,
Yaseen

@ekg
Copy link
Collaborator

ekg commented Nov 16, 2015

Where did you compile freebayes? On OSX? Did you run make test? What
happens then?

On Mon, Nov 16, 2015 at 3:52 PM, Yaseen Ladak notifications@github.com
wrote:

Hi @ekg https://github.com/ekg @AlistairNWard
https://github.com/AlistairNWard

I am getting this error signal 11 on Max OS X El Capitan as mentioned in
previous issues. However, this is not happening on ubuntu. Was there a
solution to this?

The following is the error:

CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sample_1
Error: signal 11:
0 freebayes 0x00000001099004e1

*Z15segfaultHandleri + 33 1 libsystem_platform.dylib 0x00007fff95e2352a
_sigtramp + 26 2 libc++.1.dylib 0x00007fff961bfdfe
_ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcl

  • 322 3 freebayes 0x00000001098a7355
    _ZN12AlleleParser22removeDuplicateAllelesER7SamplesRNSt3__13mapINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_6vectorIP6AlleleNS7_ISC_EEEENS2_4lessIS9_EENS7_INS2_4pairIKS9_SE_EEEEEEiiRSB*
  • 341
    4 freebayes 0x00000001098a9aa2
    _ZN12AlleleParser21buildHaplotypeAllelesERNSt3__16vectorI6AlleleNS0_9allocatorIS2_EEEER7SamplesRNS0_3mapINS0_12basic_stringIcNS0_11char_traitsIcEENS3_IcEEEENS1_IPS2_NS3_ISF_EEEENS0_4lessISE_EENS3_INS0_4pairIKSE_SH_EEEEEESP_RNS9_ISF_NS0_3setISF_NSI_ISF_EESG_EESR_NS3_INSK_IKSF_SS_EEEEEEi
  • 4754
    5 freebayes 0x00000001098533a1 main + 4913
    6 libdyld.dylib 0x00007fff93d695ad start + 1

Thanks,
Yaseen


Reply to this email directly or view it on GitHub
#220.

@yaseen-ladak
Copy link
Author

Hi @ekg

I think I managed to download and compile it again. Its strange on the Mac El Capitan or even the previous version of Yesomite I had to run make twice. The first time the bin was empty!

Thanks,
Yaseen

@ekg
Copy link
Collaborator

ekg commented Nov 16, 2015

Does this mean you got it to work? We should fix the build process though.
Did you get any specific errors?
On Nov 16, 2015 9:54 PM, "Yaseen Ladak" notifications@github.com wrote:

Hi @ekg https://github.com/ekg

I think I managed to download and compile it again. Its strange on the Mac
El Capitan or even the previous version of Yesomite I had to run make
twice. The first time the bin was empty!

Thanks,
Yaseen


Reply to this email directly or view it on GitHub
#220 (comment).

@yaseen-ladak
Copy link
Author

Well it does work it seems like before it was gieeing me error 11 and just now I have opened a new issuse it gives me kill 9. I dont remember if it gave me any errors the next time but I linked the freebayes and bamleftalin binary in the /usr/local/bin and when I can freebayes it works fine. Before it stppped with error 11 and now i am getting kill 9 signal. At work I am also running on ubuntu with same data set I can update you the results tomrrow for ubuntu.

@yaseen-ladak
Copy link
Author

I just did make and then make install i did not do make test, do you want me to try it again and tell you

@ekg
Copy link
Collaborator

ekg commented Nov 16, 2015

Please verify that the tests pass. That would help to know.
On Nov 16, 2015 10:13 PM, "Yaseen Ladak" notifications@github.com wrote:

I just did make and then make install i did not do make test, do you want
me to try it again and tell you


Reply to this email directly or view it on GitHub
#220 (comment).

@yaseen-ladak
Copy link
Author

Well so when should I run make test after running make? make then make test ?

@yaseen-ladak
Copy link
Author

@ekg

I am not sure if make test passes below are the outputs from make followed by make test. Can you please advise?


Yaseen@MacBook-Pro Monday 16 November 2015 21:18:09 GMT /usr/local/Cellar/freebayes: make

wget -q http://hypervolu.me/freebayes/build/v1.0.0-19-gefe685d-dirty &
cd src && /Library/Developer/CommandLineTools/usr/bin/make
DETECTED_VERSION = v1.0.0-19-gefe685d-dirty
CURRENT_VERSION = v1.0.0-19-gefe685d-dirty
g++ -O3 -D_FILE_OFFSET_BITS=64 -g -I../bamtools/src -I../ttmath -I../vcflib/src -I../vcflib/ freebayes.o BedReader.o CNV.o fastlz.o Fasta.o Parameters.o Allele.o Sample.o Result.o AlleleParser.o Utility.o Genotype.o DataLikelihood.o Multinomial.o Ewens.o ResultData.o Dirichlet.o Marginals.o split.o LeftAlign.o IndelAllele.o Bias.o Contamination.o NonCall.o SegfaultHandler.o ../vcflib/tabixpp/tabix.o ../vcflib/tabixpp/bgzf.o ../vcflib/smithwaterman/SmithWatermanGotoh.o ../vcflib/smithwaterman/disorder.c ../vcflib/smithwaterman/LeftAlign.o ../vcflib/smithwaterman/Repeats.o ../vcflib/smithwaterman/IndelAllele.o Variant.o ../bamtools/lib/libbamtools.a -o ../bin/freebayes -L./ -L../vcflib/tabixpp/ -L../bamtools/lib -ltabix -lz -lm
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -O3 -D_FILE_OFFSET_BITS=64 -g -I../bamtools/src -I../ttmath -I../vcflib/src -I../vcflib/ bamleftalign.o Fasta.o LeftAlign.o IndelAllele.o split.o ../bamtools/lib/libbamtools.a -o ../bin/bamleftalign -L./ -L../vcflib/tabixpp/ -L../bamtools/lib -ltabix -lz -lm


Yaseen@MacBook-Pro Monday 16 November 2015 21:19:31 GMT /usr/local/Cellar/freebayes: make test

cd test && make test
cd ../vcflib && /Library/Developer/CommandLineTools/usr/bin/make
g++ src/vcfecho.cpp -o bin/vcfecho -I. -L. -Ltabixpp/ -lvcflib -ltabix -lz -lm -O3 -D_FILE_OFFSET_BITS=64
ld: archive has no table of contents file './libvcflib.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/vcfecho] Error 1
make[1]: *** [../vcflib/bin/vcfuniq] Error 2
make: *** [test] Error 2

@ekg
Copy link
Collaborator

ekg commented Nov 16, 2015

I need the help of someone who has an OSX machine available. I no longer
have one.. Their batteries seem to explode after three and a half years
and are now extremely difficult to remove.
On Nov 16, 2015 10:20 PM, "Yaseen Ladak" notifications@github.com wrote:

@ekg https://github.com/ekg

I am not sure if make test passes below are the outputs from make followed

by make test. Can you please advise?

Yaseen@MacBook-Pro Monday 16 November 2015 21:18:09 GMT
/usr/local/Cellar/freebayes: make

wget -q http://hypervolu.me/freebayes/build/v1.0.0-19-gefe685d-dirty &
cd src && /Library/Developer/CommandLineTools/usr/bin/make
DETECTED_VERSION = v1.0.0-19-gefe685d-dirty
CURRENT_VERSION = v1.0.0-19-gefe685d-dirty
g++ -O3 -D_FILE_OFFSET_BITS=64 -g -I../bamtools/src -I../ttmath
-I../vcflib/src -I../vcflib/ freebayes.o BedReader.o CNV.o fastlz.o Fasta.o
Parameters.o Allele.o Sample.o Result.o AlleleParser.o Utility.o Genotype.o
DataLikelihood.o Multinomial.o Ewens.o ResultData.o Dirichlet.o Marginals.o
split.o LeftAlign.o IndelAllele.o Bias.o Contamination.o NonCall.o
SegfaultHandler.o ../vcflib/tabixpp/tabix.o ../vcflib/tabixpp/bgzf.o
../vcflib/smithwaterman/SmithWatermanGotoh.o
../vcflib/smithwaterman/disorder.c ../vcflib/smithwaterman/LeftAlign.o
../vcflib/smithwaterman/Repeats.o ../vcflib/smithwaterman/IndelAllele.o
Variant.o ../bamtools/lib/libbamtools.a -o ../bin/freebayes -L./
-L../vcflib/tabixpp/ -L../bamtools/lib -ltabix -lz -lm
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
g++ -O3 -D_FILE_OFFSET_BITS=64 -g -I../bamtools/src -I../ttmath
-I../vcflib/src -I../vcflib/ bamleftalign.o Fasta.o LeftAlign.o
IndelAllele.o split.o ../bamtools/lib/libbamtools.a -o ../bin/bamleftalign

-L./ -L../vcflib/tabixpp/ -L../bamtools/lib -ltabix -lz -lm

Yaseen@MacBook-Pro Monday 16 November 2015 21:19:31 GMT
/usr/local/Cellar/freebayes: make test

cd test && make test
cd ../vcflib && /Library/Developer/CommandLineTools/usr/bin/make
g++ src/vcfecho.cpp -o bin/vcfecho -I. -L. -Ltabixpp/ -lvcflib -ltabix -lz
-lm -O3 -D_FILE_OFFSET_BITS=64
ld: archive has no table of contents file './libvcflib.a' for architecture
x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [bin/vcfecho] Error 1
make[1]: *** [../vcflib/bin/vcfuniq] Error 2
make: *** [test] Error 2


Reply to this email directly or view it on GitHub
#220 (comment).

@github-actions
Copy link

This issue is marked stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale label Dec 11, 2020
@github-actions
Copy link

This issue was closed for lack of activity. Feel free to re-open if someone feels like working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants