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 string#pair_distance_similar ruby 1.9.3-p194 amatch 0.2.11 #10

Closed
johncant opened this issue Sep 26, 2013 · 7 comments
Closed

Comments

@johncant
Copy link

Random segfault. Happened to both my production servers at the same time, but I can't reproduce the segfault in the console.

http://pastebin.com/ERWyzMRF

@sainejob
Copy link

I see the same thing on ruby-2.0.0-p451

@flori is there any issue with running many identical calls to the C extenstion at the same time?

We have async (AJAX) call to 'fuzzy' API endpoint using :amatch for hundreds of records on the page. This typically can causes many segfaults. Most browsers can send 4 parallel requests at the same time.

Thoughts?

@iRonin
Copy link

iRonin commented Nov 27, 2014

We have some random segfaults as well with Ruby 2.1.2.

@dschn
Copy link

dschn commented Feb 12, 2015

Seeing a similar issue on 2.1.5

@martnst
Copy link

martnst commented Sep 13, 2015

same here also on 2.1.5

1 similar comment
@rdsoze
Copy link

rdsoze commented Sep 23, 2015

same here also on 2.1.5

@flori
Copy link
Owner

flori commented May 23, 2017

This issue might be fixed in version 0.3.1.

@flori flori closed this as completed Jul 4, 2017
@ggggbbybby
Copy link

for anyone else reading this in 2022 (or in the future! hello! 👋 ) my team was running into this segfault pretty frequently, even on version 0.4.0. When we upgraded to ruby 3.0 (from ruby 2.7) it stopped happening.

@ flori thank you for maintaning this gem! it's very helpful!

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

8 participants