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

Introduce max-values for all numbered parameters (was: Abort Trap: 6 error when parameters are wrong) #92

Closed
AlexanderFillbrunn opened this issue Mar 8, 2017 · 7 comments
Assignees
Labels
Milestone

Comments

@AlexanderFillbrunn
Copy link

When given the -d option with a wrong file or passing invalid parameters to -nm (I tried 999999999999, but this seems to be too large) lambda simply exists with the error "Abort Trap: 6". I think a more descriptive error message could help understand the issue better.

@h-2 h-2 self-assigned this Mar 10, 2017
@h-2 h-2 added the bug label Mar 10, 2017
@h-2 h-2 added this to the 1.9.3 milestone Mar 10, 2017
@h-2
Copy link
Member

h-2 commented Mar 10, 2017

thank you for the report! I will try to reproduce it next week!

@EwersAquaGenomics
Copy link

Okay, so I ran into the same error message after I had made my own database. What causes this error? How can I fix it?

Thanks!

@h-2
Copy link
Member

h-2 commented Apr 7, 2017

Thank your for your reports on this. Please tell me first of all which lambda version you are using!
If you are using the stable version (1.0.*), can you also try the development version (1.9.2) and report whether it suffers from the same bug?
I have previously improved the argument checking so it might already be fixed. Please note that you need to recreate the index files when switching to the development version.

@AlexanderFillbrunn
Copy link
Author

Hi, I tried both lambda-1.9.2-Darwin-x86_64 and lambda-1.0.1-Darwin-x86_64 on macOS 10.12.3. Both had the same problem.

@AlexanderFillbrunn
Copy link
Author

@ewersSaucedo As I understand it, this problem only occurs if the parameters are not valid anyways. So if you find out which parameter is causing the issues, you should be able to get around this problem. Maybe check the allowed ranges for numeric parameters and the allowed values for others against the values you use.

@h-2
Copy link
Member

h-2 commented Apr 13, 2017

@AlexanderFillbrunn @ewersSaucedo It seems like it might be different issues leading to the same error. Can you post full command lines that you executed and a full log of the program so I can see when/where it crashes?
Thank you!

@h-2 h-2 changed the title Abort Trap: 6 error when parameters are wrong Introduce max-values for all numbered parameters (was: Abort Trap: 6 error when parameters are wrong) Apr 13, 2017
@h-2
Copy link
Member

h-2 commented Apr 13, 2017

@AlexanderFillbrunn I have just added upper bounds to all parameters: a7e2e71
This will be included in 1.9.3.

@ewersSaucedo If your issue was unrelated to wrong parameters, can you open a new issue with more details? Thank you!

@h-2 h-2 closed this as completed Apr 13, 2017
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

3 participants