Asterisk 18.1 error with tts integration

hello team, I just installed Asterisk 18.1 with Centos 8, working fine.
I just installed app-swift to run cepstral TTS voice. Module app-swift.so loaded success.

I am getting multiple error like following, kindly help.

[Dec 25 12:06:48] ERROR[9479][C-00000001]: app_swift.c:715 app_exec: FRACK!, Failed assertion bad magic number 0x0 for object 0x7fc764037290 (0)
[Dec 25 12:06:48] ERROR[9479][C-00000001]: Got 9 backtrace records

0: /usr/sbin/asterisk(__ao2_unlock+0x11b) [0x458b0b]

1: /usr/lib/asterisk/modules/app_swift.so(+0x3741) [0x7fc73e57e741]

2: /usr/sbin/asterisk(pbx_exec+0xca) [0x51c5ea]

3: /usr/sbin/asterisk() [0x51186b]

4: /usr/sbin/asterisk() [0x5132db]

5: /usr/sbin/asterisk() [0x5148ab]

6: /usr/sbin/asterisk() [0x58b629]

7: /lib64/libpthread.so.0(+0x814a) [0x7fc77d5a514a]

8: /lib64/libc.so.6(clone+0x43) [0x7fc77c770f23]

[Dec 25 12:06:48] ERROR[9479][C-00000001]: app_swift.c:180 swift_generator_running: FRACK!, Failed assertion bad magic number 0x0 for object 0x7fc764037290 (0)
[Dec 25 12:06:48] ERROR[9479][C-00000001]: Got 10 backtrace records

0: /usr/sbin/asterisk(__ao2_lock+0x19d) [0x45898d]

1: /usr/lib/asterisk/modules/app_swift.so(+0x1f8c) [0x7fc73e57cf8c]

2: /usr/lib/asterisk/modules/app_swift.so(+0x3750) [0x7fc73e57e750]

3: /usr/sbin/asterisk(pbx_exec+0xca) [0x51c5ea]

4: /usr/sbin/asterisk() [0x51186b]

5: /usr/sbin/asterisk() [0x5132db]

6: /usr/sbin/asterisk() [0x5148ab]

7: /usr/sbin/asterisk() [0x58b629]

8: /lib64/libpthread.so.0(+0x814a) [0x7fc77d5a514a]

9: /lib64/libc.so.6(clone+0x43) [0x7fc77c770f23]

There is no formal team; this is, officially, a peer support forum.

app_swift is not part of Asterisk, so this is not the place to obtain support for it.

The bad magic number errors is typically the result of memory corruption, which may have happened some time ago, or failure to use locks properly. Both can be difficult to diagnose.

Even if Asterisk didn’t crash and restart, I would advise restarting after this error, as the corruption may will be long lasting.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.