-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
When I try to use Trie with larger alphabet I start to experience different memory related issue. Details differ from Python version to Python version, and environment, but in general following:
import datrie
xs = [chr(i) for i in range(500)]
datrie.Trie(xs[:250]) # Works fine
datrie.Trie(xs[250:]) # Works fine
datrie.Trie(xs) # Fails miserably
fails when executed as script with:
malloc(): invalid size (unsorted)
[1] 19260 abort python foo.py
In IPython I got:
corrupted double-linked list
[1] 19270 abort ipython
or
malloc(): invalid size (unsorted)
[1] 19364 abort ipython
and some other, less common failures.
This specific outcomes tested with
- datrie==0.8
- Python 3.7.3
- IPython 7.10.1
Is this something expected?
Metadata
Metadata
Assignees
Labels
No labels