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

Segfault in tests #94

Open
fbacall opened this issue Oct 30, 2019 · 2 comments
Open

Segfault in tests #94

fbacall opened this issue Oct 30, 2019 · 2 comments

Comments

@fbacall
Copy link
Contributor

@fbacall fbacall commented Oct 30, 2019

Always seem to be to do with mailers.

https://travis-ci.org/seek4science/seek/jobs/604865639
https://travis-ci.org/seek4science/seek/jobs/595084416
https://travis-ci.org/seek4science/seek/jobs/591896619
https://travis-ci.org/seek4science/seek/jobs/591982667

From me on slack:

https://github.com/mikel/mail/blob/master/lib/mail/parsers.rb#L3 this line triggers it
and the backtrace in the segfault mentions /home/travis/.rvm/rubies/ruby-2.4.9/bin/../lib/libruby.so.2.4(compile_array_+0x120) [0x7fcfc32b9310]
and if you look at the code for https://raw.githubusercontent.com/mikel/mail/master/lib/mail/parsers/address_lists_parser.rb it is full of huge arrays

@alaninmcr

This comment has been minimized.

Copy link
Contributor

@alaninmcr alaninmcr commented Oct 30, 2019

@stuzart

This comment has been minimized.

Copy link
Member

@stuzart stuzart commented Oct 30, 2019

Would be good if we can narrow this down to a few lines of code, and then submit as a bug to the mail library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.