Tessil / hat-trie

C++ implementation of a fast and memory efficient HAT-trie
MIT License
795 stars 114 forks source link

hat-trie core #26

Closed sylarj closed 4 years ago

sylarj commented 4 years ago

Ho Tessil, I have a core problem when I use hat-trie. This is the core information: get (this=) at /usr/local/include/c++/6.3.0/bits/unique_ptr.h:308

It happened in the array_hash.h file at line 880.

Looking forward to your reply.

Thanks

sylarj commented 4 years ago

more core infomation:

0 get (this=) at /usr/local/include/c++/6.3.0/bits/unique_ptr.h:308

1 operator bool (this=) at /usr/local/include/c++/6.3.0/bits/unique_ptr.h:322

2 operator!=<tsl::detail_htrie_hash::htrie_hash<char, long unsigned int, str_hash, short unsigned int>::anode, std::default_delete<tsl::detail_htrie_hash::htrie_hash<char, long unsigned int, str_hash, short unsigned int>::anode> > (__x=...) at /usr/local/include/c++/6.3.0/bits/unique_ptr.h:674

3 first_child (this=0x0) at ./comsearch-search/websearch/svr/suggest_server/com-sugdirect/suggest/hat-trie/htrie_hash.h:339

4 tsl::detail_htrie_hash::htrie_hash<char, unsigned long, str_hash, unsigned short>::htrie_hash_iterator<true, true>::operator++ (this=0x7f75df7fc480,

this@entry=<error reading variable: Cannot access memory at address 0x7f75df7fc338>)
at ./comsearch-search/websearch/svr/suggest_server/com-sugdirect/suggest/hat-trie/htrie_hash.h:669