botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
82 stars 90 forks source link

munmap_chunk(): invalid pointer v11.4.0 #585

Closed demian-sl closed 5 years ago

demian-sl commented 5 years ago

I am running v11.4.0 in ubuntu docker image with NodeJS 10.11. After update from v11.3.0 to v11.4.0 after any incomming message Botpress Server crashes. Logs:

15:34:26.110 Launcher ======================================== Botpress Server
Version 11.4.0

15:34:27.170 Launcher Using 8 modules ⦿ MODULES_ROOT/analytics ⦿ MODULES_ROOT/basic-skills ⦿ MODULES_ROOT/builtin ⦿ MODULES_ROOT/channel-web ⦿ MODULES_ROOT/keywords ⦿ MODULES_ROOT/custom ⦿ MODULES_ROOT/nlu ⦿ MODULES_ROOT/qna 15:34:27.367 Server Loaded 8 modules 15:34:27.403 CMS Loaded 8 content types 15:34:27.894 Mod[nlu] Restoring models 'b652adfab0fea6bcf77b39c2e0d438ba' from storage 15:34:27.912 HookService Executed "builtin/00_create_shortlink.js" on "after_bot_mount" 15:34:27.915 Server Started in 743ms 15:34:27.915 Launcher Botpress is ready at http://local.local:3000/ 15:34:27.931 Mod[nlu] Done restoring models 'b652adfab0fea6bcf77b39c2e0d438ba' from storage 15:34:49.646 HookService Executed "builtin/00_dialog_engine.js" on "after_incoming_middleware" munmap_chunk(): invalid pointer

Thank you!

slvnperron commented 5 years ago

@demslob what is the ubuntu version?

demian-sl commented 5 years ago

@slvnperron FROM ubuntu:18.04

demian-sl commented 5 years ago

@slvnperron after disabling NLU module Botpress doesn't crash

slvnperron commented 5 years ago

@demslob thanks, we're on it. will update when we got a fix

demian-sl commented 5 years ago

thank you!

allardy commented 5 years ago

@demslob We just released v11_4_1 which fixes this issue. Please try it and tell us if it works for you ! Thanks

demian-sl commented 5 years ago

@slvnperron it works now, thank you for fast reply and help! Can you please explain what the problem was?

slvnperron commented 5 years ago

@demslob it was an issue with pointers in our c++ wrapper of fastText (see botpress/node-fastText)