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

Pythran implementation can segfault #21

Open
molpopgen opened this issue Sep 10, 2021 · 3 comments
Open

Pythran implementation can segfault #21

molpopgen opened this issue Sep 10, 2021 · 3 comments

Comments

@molpopgen
Copy link
Member

In working on #20, the Pythran benchmark segfaulted on me for 1e7 trees (on a machine w/32GB RAM).

Copy/paste from my terminal:

running <function benchmark_c_sequential at 0x7f0cc28435e0>
{'implementation': 'c_lib', 'sample_size': 10000000, 'time_mean': 6.66725}
{'implementation': 'c_recursive', 'sample_size': 10000000, 'time_mean': 5.45337}
{'implementation': 'c_struct_contiguous', 'sample_size': 10000000, 'time_mean': 4.27157}
{'implementation': 'c_struct_fragmented', 'sample_size': 10000000, 'time_mean': 1.59098}
running <function benchmark_biopython at 0x7f0cc28430d0>
running <function benchmark_pythran at 0x7f0cc2843280>
py_pythran:n=10000000  [------------------------------------]    0%Segmentation fault (core dumped)

Odd thing is that it isn't happening consistently.

@jeromekelleher
Copy link
Member

Good to know, thanks. That is weird it doesn't happen predictably.

@jeromekelleher
Copy link
Member

This stuff is tricky at scale, eh?

@molpopgen
Copy link
Member Author

Yeah, messy. This crash happened once in 5 runs of the suite.

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

2 participants