talkbot icon indicating copy to clipboard operation
talkbot copied to clipboard

segmentation fault

Open Odrowaz opened this issue 4 years ago • 1 comments

Describe the bug sometimes the bot just closes with an error in console 'zsh: segmentation fault node bot'

To Reproduce Steps to reproduce the behavior:

  1. Enter channel
  2. Run the command !follow
  3. write something like ' a? b? c? d? e? f? g? h? i? j? k? l? m? n? o? p? q? r? s? t? u? v? w? x? y? z? 9? 8? 7? 6? 5? 4? 3? 2? 1? 0? -1? -2? -3? -4? -5? -6? -7? -8? -9? -? '
  4. Bot closes

Expected behavior Bot should be useable

Additional context running bot on macOS without docker

Odrowaz avatar Dec 22 '21 13:12 Odrowaz

This appears to be an issue with the audio encoder used by one of the TTS pipelines (Amazon I think)

It's not an issue on linux for some reason - if you want a work around use the docker version or run it on linux

Other TTS providers have different pipelines and wont suffer from this bug.

Not sure of a fix here unfortunately - we'll have to investigate the 3rd party library here https://github.com/nullabork/node-libsamplerate OR https://www.npmjs.com/package/@suldashi/lame

wootosmash avatar Mar 13 '22 11:03 wootosmash