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
Download (untitled) / with headers
text/plain 316b
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. :)
Download (untitled) / with headers
text/plain 281b
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.
Download (untitled) / with headers
text/plain 284b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.