aho_corasick
aho_corasick copied to clipboard
Segmentation fault found when using gdb debug
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdadb1700 (LWP 14062)]
0x0000000000834cc4 in aho_corasick::state
#0 0x0000000000834cc4 in aho_corasick::state
crash occured in concurrent context, such as such as 100qps of reading threads and a crontab writing thread.
Shared read lock is used when searching while exclusive write lock is used when updating