Deepgram SR plugin segmentation fault

15 views
Skip to first unread message

Milagros González

unread,
Jun 23, 2025, 6:34:04 AMJun 23
to UniMRCP
Hello,

I'm working whith Deepgram SR plugin to connect our IVR platform with Deepgram streaming transcription service.
Both UniMRCP server and Deepgram SR plugin was installed using deb packages with apt-get.  
After some testing I noticed that unimrcp process was restarted frecuently due to segmentation fault.
I enabled core dump generation in the server we are using for this PoC and this is what I got from gdb bt:

root@unimrcpdev01:~# gdb /opt/unimrcp/bin/unimrcpserver /var/coredumps/core-unimrcp.35301.1750661115
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/unimrcp/bin/unimrcpserver...
(No debugging symbols found in /opt/unimrcp/bin/unimrcpserver)
[New LWP 35304]
[New LWP 35301]
[New LWP 35302]
[New LWP 35303]
[New LWP 35305]
[New LWP 35306]
[New LWP 35307]
[New LWP 35309]
[New LWP 35310]
[New LWP 35308]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/opt/unimrcp/bin/unimrcpserver -r /opt/unimrcp -o 2 -w'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fb1540004a0 in ?? ()
[Current thread is 1 (Thread 0x7fb158979640 (LWP 35304))]
(gdb) bt
#0  0x00007fb1540004a0 in ?? ()
#1  0x00007fb159cb9469 in UniEdpf::TimerQueue::Advance() () from /opt/unimrcp/plugin/umsdeepgram.so
#2  0x00007fb159cb87b2 in UniEdpf::SoftEventProcessor::RunEventLoop() () from /opt/unimrcp/plugin/umsdeepgram.so
#3  0x00007fb159cb88f0 in ?? () from /opt/unimrcp/plugin/umsdeepgram.so
#4  0x00007fb15a571ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5  0x00007fb15a603850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb)

The issue reproduces easily, almost for each request with transcript result.
List of installed packages below:
root@unimrcpdev01:~# dpkg --list | grep unimrcp
ii  unimrcp-client                         1:1.7.0-jammy                           amd64        UniMRCP client shared libraries and sample applications
ii  unimrcp-client-dev                     1:1.7.0-jammy                           amd64        UniMRCP client development kit
ii  unimrcp-common                         1:1.7.0-jammy                           amd64        UniMRCP common data
ii  unimrcp-common-dev                     1:1.7.0-jammy                           amd64        UniMRCP common development kit
ii  unimrcp-deepgram-sr                    1:1.7.5-jammy                           amd64        Deepgram Speech Recognition plugin to UniMRCP server
ii  unimrcp-demo-plugins                   1:1.7.0-jammy                           amd64        UniMRCP server demo plugins
ii  unimrcp-server                         1:1.7.0-jammy                           amd64        UniMRCP server shared library and application

Please, let me what extra information can be usefull to investigate this issue.
Thanks,
Mila

Reply all
Reply to author
Forward
0 new messages