$ docker compose exec ubuntu-flexisip bash
# gdb --args ./bin/flexisip --server regevent
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 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 ./bin/flexisip...
(No debugging symbols found in ./bin/flexisip)
(gdb) run
Starting program: /opt/belledonne-communications/bin/flexisip --server regevent
warning: Error disabling address space randomization: Operation not permitted
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Writing logs in : /var/opt/belledonne-communications/log/flexisip/flexisip-regevent.log
Starting flexisip regevent-server version 2.3.3
[New Thread 0x775b44e00640 (LWP 90)]
2024-05-31 04:46:09:420 liblinphone-error-Could not find a suitable soundcard with capabilities : 2
2024-05-31 04:46:09:420 liblinphone-error-Could not find a suitable soundcard with capabilities : 2
2024-05-31 04:46:09:420 liblinphone-error-Could not find a suitable soundcard with capabilities : 1
2024-05-31 04:46:09:420 liblinphone-error-Could not find a suitable soundcard with capabilities : 2
Thread 1 "flexisip" received signal SIGSEGV, Segmentation fault.
0x0000775b4849614d in soci::session::begin() () from /opt/belledonne-communications/lib/libsoci_core.so.4.0
(gdb) bt
#0 0x0000775b4849614d in soci::session::begin() () from /opt/belledonne-communications/lib/libsoci_core.so.4.0
#1 0x0000775b492f2bed in LinphonePrivate::MainDbPrivate::importLegacyHistory(LinphonePrivate::DbSession&) () from /opt/belledonne-communications/lib/liblinphone.so.10
#2 0x0000775b492f33ab in LinphonePrivate::MainDb::import(LinphonePrivate::AbstractDb::Backend, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
from /opt/belledonne-communications/lib/liblinphone.so.10
#3 0x0000775b490c77a2 in linphone_core_set_call_logs_database_path () from /opt/belledonne-communications/lib/liblinphone.so.10
#4 0x0000775b492bd807 in LinphonePrivate::CorePrivate::init() () from /opt/belledonne-communications/lib/liblinphone.so.10
#5 0x0000775b490d59db in linphone_core_start () from /opt/belledonne-communications/lib/liblinphone.so.10
#6 0x0000775b4ac660b6 in flexisip::RegistrationEvent::Server::_init() () from /opt/belledonne-communications/lib/libflexisip.so
#7 0x000058ad77d9fd1c in ?? ()
#8 0x0000775b4a07dd90 in __libc_start_call_main (main=main@entry=0x58ad77d9cb00, argc=argc@entry=3, argv=argv@entry=0x7ffd0e52bac8) at ../sysdeps/nptl/libc_start_call_main.h:58
#9 0x0000775b4a07de40 in __libc_start_main_impl (main=0x58ad77d9cb00, argc=3, argv=0x7ffd0e52bac8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7ffd0e52bab8) at ../csu/libc-start.c:392
#10 0x000058ad77da0ea5 in ?? ()
(gdb) bt full
#0 0x000077913e83514d in soci::session::begin() () from /opt/belledonne-communications/lib/libsoci_core.so.4.0
No symbol table info available.
#1 0x000077913f691bed in LinphonePrivate::MainDbPrivate::importLegacyHistory(LinphonePrivate::DbSession&) ()
from /opt/belledonne-communications/lib/liblinphone.so.10
No symbol table info available.
#2 0x000077913f6923ab in LinphonePrivate::MainDb::import(LinphonePrivate::AbstractDb::Backend, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
from /opt/belledonne-communications/lib/liblinphone.so.10
No symbol table info available.
#3 0x000077913f4667a2 in linphone_core_set_call_logs_database_path ()
from /opt/belledonne-communications/lib/liblinphone.so.10
No symbol table info available.
#4 0x000077913f65c807 in LinphonePrivate::CorePrivate::init() ()
from /opt/belledonne-communications/lib/liblinphone.so.10
No symbol table info available.
#5 0x000077913f4749db in linphone_core_start () from /opt/belledonne-communications/lib/liblinphone.so.10
No symbol table info available.
#6 0x00007791410050b6 in flexisip::RegistrationEvent::Server::_init() ()
from /opt/belledonne-communications/lib/libflexisip.so
No symbol table info available.
#7 0x0000606f105fad1c in ?? ()
No symbol table info available.
#8 0x000077914041cd90 in __libc_start_call_main (main=main@entry=0x606f105f7b00, argc=argc@entry=3,