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

Segmentation fault with STAR container #684

Closed
4 tasks done
valleema opened this issue Aug 2, 2021 · 4 comments
Closed
4 tasks done

Segmentation fault with STAR container #684

valleema opened this issue Aug 2, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@valleema
Copy link

valleema commented Aug 2, 2021

Check Documentation

I have checked the following places for your error:

Description of the bug

Arriving at the STAR_ALIGN process, I have a Segmentation fault, with nothing else useful outputted.

Steps to reproduce

Steps to reproduce the behaviour:

As used in:

container 'https://depot.galaxyproject.org/singularity/star:2.6.1d--0'

  1. Command line:
    singularity pull --name star-2.6.1d--0.img https://depot.galaxyproject.org/singularity/star:2.6.1d--0
    singularity exec star-2.6.1d--0.img STAR --version
  2. See error:
    Segmentation fault

Expected behaviour

With a more recent STAR:

  1. Command line:
    singularity pull --name star-2.7.9a--h9ee0642_0.img https://depot.galaxyproject.org/singularity/star:2.7.9a--h9ee0642_0
    singularity exec star-2.7.9a--h9ee0642_0.img STAR --version
  2. See output:
    2.7.9a

Log files

Have you provided the following extra information/files:

  • The command used to run the pipeline nextflow run nf-core/rnaseq -profile singularity --genome GRCh38 --max_cpus 18 --max_memory 128.GB -resume --input samplesheet.csv -ansi-log false
  • The .nextflow.log file: nextflow.log

System

  • Hardware: Local server
  • Executor: No executor, local
  • OS: Debian
  • Version 11

Nextflow Installation

  • Version: 21.04.1

Container engine

  • Engine: Singularity
  • version: 3.8.0
@valleema valleema added the bug Something isn't working label Aug 2, 2021
@valleema
Copy link
Author

valleema commented Aug 3, 2021

OK I am going to close the issue, as it is a Singularity version (or install?) issue.
I have tested on an other machine, with a different Singularity version and it works, without segmentation fault:

$ singularity pull --name star-2.6.1d--0.img https://depot.galaxyproject.org/singularity/star:2.6.1d--0
$ singularity exec star-2.6.1d--0.img STAR --version
STAR_2.6.1d

@valleema valleema closed this as completed Aug 3, 2021
@vdanjean
Copy link

vdanjean commented Aug 4, 2021

After investigation, the bug is due to the fact that the image (and STAR) is compiled with an old libc and the host where singularity was running has a new kernel without vsyscall support. Rebooting the host with the "vsyscall=emulate" solves the issue.

@rafalcode
Copy link

Luckily I looked in here, closed issues, because this was my problem and the vsyscall=emulate as-kernel-parameter solved it. Wouldn't be a bad idea to highlight this issue in some way, as it's pretty hidden in here.

@yxsee
Copy link

yxsee commented Jul 14, 2023

I am also getting this error when running STAR_salmon, but STAR_RSEM runs fine. Are there any plans on using a newer version of STAR, or a singularity image compiled without vsyscall?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants