Skip to content

segfault with empty query file in blastn mode #102

Closed

Description

@f-heeger

I get a segfault when I run blastn mode with a empty query file. In default mode I get a correct error message.

To reproduce (with attached input files):

lambda-1.9.2-Linux-x86_64_sse4/bin/lambda_indexer -d testd.fasta -p blastn
lambda-1.9.2-Linux-x86_64_sse4/bin/lambda -q >testq.fasta -i testd.fasta.lambda -p blastn

I get this output:

LAMBDA - the Local Aligner for Massive Biological DatA
======================================================
Version 1.9.2

Loading Subj Sequences... done.
Loading Subj Ids... done.
Loading Database Index... done.
Loading Query Sequences and Ids... generating reverse complements...Segmentation fault (core >dumped)

test.zip

Activity

  1. h-2 commented on Jun 23, 2017

    @h-2
    Member

    This is actually a SeqAn bug, but I will provide a workaround in Lambda!

  2. self-assigned this
    on Jun 23, 2017
  3. h-2 commented on Jun 23, 2017

    @h-2
    Member

    @f-heeger the fix is quite easy, do you want to do a pull request? 😄

  4. added this to the 1.9.3 milestone on Jun 23, 2017
  5. f-heeger commented on Jun 27, 2017

    @f-heeger
    Author

    Absolutely not.

  6. added a commit that references this issue on Jun 27, 2017
  7. h-2 commented on Jun 27, 2017

    @h-2
    Member

    @f-heeger Look at it, it's a really tiny diff :)
    Can you verify that it fixes your problem? [note that indexes from lambda-next branch are incompatible to 1.9.2's]

  8. f-heeger commented on Jun 28, 2017

    @f-heeger
    Author

    Yes it's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions