You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ /usr/local/bin/baresip -v -f .
baresip v0.6.1 Copyright (C) 2010 - 2019 Alfred E. Heggestad et al.
Local network address: IPv4=eth0:10.42.34.101
module: loading app ctrl_tcp.so
Segmentation fault (core dumped)
GDB:
$ gdb baresip core
GNU gdb (Raspbian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 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 "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 baresip...done.
[New LWP 6522]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
bCore was generated by `/usr/local/bin/baresip -v -f .'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x76ec5910 in net_inet_ntop (sa=0x5c110002, buf=0x7edfac4c "", size=64) at src/sa/ntop.c:205
205 switch (sa->u.sa.sa_family) {
(gdb) bt
#0 0x76ec5910 in net_inet_ntop (sa=0x5c110002, buf=0x7edfac4c "", size=64) at src/sa/ntop.c:205
#1 0x76ec6244 in sa_ntop (sa=0x5c110002, buf=0x7edfac4c "", size=64) at src/sa/sa.c:322
#2 0x76ed3fdc in re_vhprintf (fmt=0x769ed8a8 "ctrl_tcp: TCP socket listening on %J\n", ap=..., vph=0x76ed4348 <print_handler>, arg=0x7edfad6c)
at src/fmt/print.c:449
#3 0x76ed46ac in re_vsnprintf (str=0x7edfad94 "ctrl_tcp: TCP socket listening on ", size=4096, fmt=0x769ed8a8 "ctrl_tcp: TCP socket listening on %J\n",
ap=...) at src/fmt/print.c:636
#4 0x0002c370 in vlog (level=LEVEL_INFO, fmt=0x769ed8a8 "ctrl_tcp: TCP socket listening on %J\n", ap=...) at src/log.c:97
#5 0x0002c640 in info (fmt=0x769ed8a8 "ctrl_tcp: TCP socket listening on %J\n") at src/log.c:182
#6 0x769ec98c in ctrl_alloc (stp=0x769fe0e4 <ctrl>, laddr=0x7edfbe24) at modules/ctrl_tcp/ctrl_tcp.c:338
#7 0x769eca38 in ctrl_init () at modules/ctrl_tcp/ctrl_tcp.c:359
#8 0x76edc040 in mod_load (mp=0x7edfbe80, name=0x7edfbf84 "/usr/local/lib/baresip/modules/ctrl_tcp.so") at src/mod/mod.c:137
#9 0x0002d744 in load_module (modp=0x7edfc198, modpath=0x7edfc3f4, name=0x7edfc1cc) at src/module.c:88
#10 0x0002d86c in module_app_handler (val=0x7edfc1cc, arg=0x7edfc3f4) at src/module.c:126
#11 0x76edcb44 in conf_apply (conf=0x1c88d90, name=0x429b4 "module_app", ch=0x2d828 <module_app_handler>, arg=0x7edfc3f4) at src/conf/conf.c:285
#12 0x0002d9dc in module_init (conf=0x1c88d90) at src/module.c:159
#13 0x00028690 in conf_modules () at src/conf.c:385
#14 0x0003e2b4 in main (argc=4, argv=0x7edfc634) at src/main.c:242
(gdb)
LSB:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.8 (stretch)
Release: 9.8
Codename: stretch
Uname:
Linux sippy 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
The text was updated successfully, but these errors were encountered:
When ctrl_tcp.so module is enabled on Raspberry Pi 3 running Debian Stretch, baresip segfaults on startup:
Config:
Startup:
GDB:
LSB:
Uname:
The text was updated successfully, but these errors were encountered: