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

20,000 records lead to segmentation fault #38

Open
ElDeveloper opened this issue Sep 28, 2016 · 4 comments
Open

20,000 records lead to segmentation fault #38

ElDeveloper opened this issue Sep 28, 2016 · 4 comments

Comments

@ElDeveloper
Copy link

I was trying to process a pair of files (attached) with the command below, and inevitably I will get a segmentation fault. When I shorten the size of the files, the program executes correctly.

Command:

SeqPrep -f r1.fastq -s seqprep_assembled.fastq.gz -r r2.fastq -y J -1 seqprep_unassembled_R1.fastq.gz -2 seqprep_unassembled_R2.fastq.gz 
Processing reads... |Segmentation fault: 11

Not sure what might be going on, the same command executes just fine in a colleague's computer, and in my linux system. I believe it may be a problem with some of the libraries installed in my machine, but I have no idea what the problem would be.

@LordGenome
Copy link

I’m also seeing this on a recent iMac whereas an old MacBook Air works fine. Both running El Capitain.
Graham

On 28 Sep 2016, at 5:27 PM, Yoshiki Vázquez Baeza [email protected] wrote:

I was trying to process a pair of files (attached) with the command below, and inevitably I will get a segmentation fault. When I shorten the size of the files, the program executes correctly.

Command:

SeqPrep -f r1.fastq -s seqprep_assembled.fastq.gz -r r2.fastq -y J -1 seqprep_unassembled_R1.fastq.gz -2 seqprep_unassembled_R2.fastq.gz
Processing reads... |Segmentation fault: 11
Not sure what might be going on, the same command executes just fine in a colleague's computer, and in my linux system. I believe it may be a problem with some of the libraries installed in my machine, but I have no idea what the problem would be.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #38, or mute the thread https://github.com/notifications/unsubscribe-auth/ABmgC_24qd-gasp_STThfPn0wjUcjeXpks5qupVygaJpZM4KJCFe.

@ElDeveloper
Copy link
Author

Oddly enough in our situation, the machine that works is a newer MacBook
Pro (mid 2014), the machine that doesn't is an old MacBook Pro (mid 2012).

On (Sep-28-16| 9:31), LordGenome wrote:

I’m also seeing this on a recent iMac whereas an old MacBook Air works fine. Both running El Capitain.
Graham

On 28 Sep 2016, at 5:27 PM, Yoshiki Vázquez Baeza [email protected] wrote:

I was trying to process a pair of files (attached) with the command below, and inevitably I will get a segmentation fault. When I shorten the size of the files, the program executes correctly.

Command:

SeqPrep -f r1.fastq -s seqprep_assembled.fastq.gz -r r2.fastq -y J -1 seqprep_unassembled_R1.fastq.gz -2 seqprep_unassembled_R2.fastq.gz
Processing reads... |Segmentation fault: 11
Not sure what might be going on, the same command executes just fine in a colleague's computer, and in my linux system. I believe it may be a problem with some of the libraries installed in my machine, but I have no idea what the problem would be.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #38, or mute the thread https://github.com/notifications/unsubscribe-auth/ABmgC_24qd-gasp_STThfPn0wjUcjeXpks5qupVygaJpZM4KJCFe.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#38 (comment)

@jstjohn
Copy link
Owner

jstjohn commented Oct 4, 2016

I wonder if has to do with differences in how compilers treated the inline keyword. I removed all of that in the most recent commit, maybe try again? Also if you still want the spinner, add -S to the arg list.

@ElDeveloper
Copy link
Author

Thanks for pushing in those changes, however I'm still seeing the same
problem.

yoshikivazquezbaeza:SeqPrep@master$ git rev-parse HEAD
575507b
yoshikivazquezbaeza:SeqPrep@master$ ./SeqPrep -f small/rMK0LS1080_L001_R1_prime_001.fastq -s seqprep_assembled.fastq.gz -r small/rMK0LS1080_L001_R2_prime_001.fastq -y J -1 seqprep_unassembled_R1.fastq.gz -2 seqprep_unassembled_R2.fastq.gz -S
Processing reads... |Segmentation fault: 11

PS - I like the false sense of hope, so I added -S, however removing
that flag did not change the outcome.

On (Oct-04-16|13:20), John St. John wrote:

I wonder if has to do with differences in how compilers treated the inline keyword. I removed all of that in the most recent commit, maybe try again? Also if you still want the spinner, add -S to the arg list.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#38 (comment)

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

No branches or pull requests

3 participants