We are noting unimrcpserver exiting with SIGSEGV frequently (using customised plugin for dgmrcp speechrecog - forked from https://github.com/deepgram/dgmrcp)
The underlying cause is not clear at this stage, but it appears to be memory related - potentially as a result of failed allocation by apr_palloc
Core was generated by `/usr/local/unimrcp/bin/unimrcpserver -r /usr/local/unimrcp -o 2 -w -l 6'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 mrcp_start_line_init (start_line=start_line@entry=0x0) at message/src/mrcp_start_line.c:321
[Current thread is 1 (Thread 0x7fbfbebcf700 (LWP 9))]
(gdb) bt
#0 mrcp_start_line_init (start_line=start_line@entry=0x0)
at message/src/mrcp_start_line.c:321
#1 0x00007fbfc0dd4bde in mrcp_message_create (pool=0x7fbfa406e008)
at message/src/mrcp_message.c:102
#2 0x00007fbfc0dd4d32 in mrcp_event_create (request_message=0x7fbfb09e6248, event_id=1, pool=<optimized out>)
at message/src/mrcp_message.c:143
#3 0x00007fbfbeff8d51 in dgmrcp::ffi::Message::create_event (self=0x7fbfbebc3690, event_id=1)
at src/ffi.rs:636
#4 0x00007fbfbeff8df4 in dgmrcp::ffi::Message::send_failure (self=..., channel=..., reason=...)
at src/ffi.rs:652
#5 0x00007fbfbef8f239 in <dgmrcp::channel_machine::OpenedState as dgmrcp::channel_machine::State>::next::{{closure}}::{{closure}}::{{closure}} ()
at src/channel_machine.rs:531
#6 0x00007fbfbefe5515 in <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll (self=..., cx=0x7fbfbebcd930)
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-0.1.37/src/instrument.rs:272
#7 0x00007fbfbef8e417 in <dgmrcp::channel_machine::OpenedState as dgmrcp::channel_machine::State>::next::{{closure}}::{{closure}} ()
at src/channel_machine.rs:534
We are noting unimrcpserver exiting with SIGSEGV frequently (using customised plugin for dgmrcp speechrecog - forked from https://github.com/deepgram/dgmrcp)
The underlying cause is not clear at this stage, but it appears to be memory related - potentially as a result of failed allocation by
apr_palloc
Log file: segfault.log
Core dump: core.7.2805T1120 Download here
ISSUE SUMMARY
Logs:
Backtrace:
Frame 0 (unimrcpserver):
Frame 1 (unimrcpserver):
Frame 3 (libdgmrcp):
Frame 4 (libdgmrcp):
Frame 5 (libdgmrcp):
What’s happening?
mrcp_event_create
mrcp_start_line_init
),apr_palloc
to create a pointermessage
start_line->message_type
exits with a Segmentation fault