Skip Menu |

This queue is for tickets about the Text-Levenshtein-Damerau-XS CPAN distribution.

Report information
The Basics
Id: 82272
Status: open
Priority: 0/
Queue: Text-Levenshtein-Damerau-XS

People
Owner: Nobody in particular
Requestors: MITHALDU [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: long strings crash the perl interpreter
The problem seems to occur when the strings pass a certain length. On my system the crash happens when either one of the strings is 2**20 chars long, or both of them are at least 2**11 chars long. I've created a pull request with a failing test here: https://github.com/ugexe/Text--Levenshtein--Damerau--XS/pull/1
I changed the branch and instead of only a crashing test, there's also a fix now. :)
On Wed Dec 26 23:39:44 2012, MITHALDU wrote: Show quoted text
> I changed the branch and instead of only a crashing test, there's also a > fix now. :)
Awesome. I discovered this recently and thought I was going to be stuck using another linked list. I'll merge when I get home from the holidays.
On Wed Dec 26 23:39:44 2012, MITHALDU wrote: Show quoted text
> I changed the branch and instead of only a crashing test, there's also a > fix now. :)
Long matching strings are now ok, but large non-matching strings still cause a crash. Working on code re-factoring to help alleviate this problem.