gojieba icon indicating copy to clipboard operation
gojieba copied to clipboard

调用完jieba.Extract后defer jieba.Free() 过一会就会报错退出程序

Open Mlegbder opened this issue 1 year ago • 1 comments

___go_build_womata_service_sys(79285,0x173a4b000) malloc: *** error for object 0x60000a7dc900: pointer being freed was not allocated ___go_build_womata_service_sys(79285,0x173a4b000) malloc: *** set a breakpoint in malloc_error_break to debug

Mlegbder avatar Aug 16 '24 02:08 Mlegbder

https://github.com/yanyiwu/gojieba-demo/blob/main/demo.go 我自己测试是ok的。 你是重复Free了吗?

yanyiwu avatar Aug 16 '24 13:08 yanyiwu

This issue has not been updated for over 1 year and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.

github-actions[bot] avatar Oct 09 '25 01:10 github-actions[bot]