Wulf/nodehun

Segfault on suggestion

Closed this issue · 1 comments

Hi,
I'm having segfault issues during suggestions (see stack below). It happens now and then every day for a service that run spelling-suggestions quite often.

/code/node_modules/segfault-handler/build/Release/segfault-handler.node(+0x2ca1) [0x7f829b5fcca1]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f82a2bdf0e0]
/code/node_modules/nodehun/build/Release/Nodehun.node(_ZN10SuggestMgr19leftcommonsubstringEPcPKc+0xf4) [0x7f829b3b5e04]
/code/node_modules/nodehun/build/Release/Nodehun.node(_ZN10SuggestMgr9ngsuggestEPPcS0_iPP7HashMgri+0x406) [0x7f829b3b76c6]
/code/node_modules/nodehun/build/Release/Nodehun.node(_ZN8Hunspell7suggestEPPPcPKc+0xcdd) [0x7f829b3b0a2d]
/code/node_modules/nodehun/build/Release/Nodehun.node(_ZN13SuggestWorker7ExecuteEv+0x4e) [0x7f829b3a617e]
node() [0x1308e0e]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x74a4) [0x7f82a2bd54a4]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f82a2917d0f]

I noticed that they have had similar problems in hunspell, maybe it is related?
hunspell/hunspell@ac938e2

The crash was due to emojis...