osmo-bsc segfaults when logging is enabled
run osmo-bsc in terminal (to see the segfault)
telnet localhost 4242
logging filter all 1
logging level force-all debug
close connection via <ctrl-d>
usr/bin/osmo-bsc -c /etc/osmocom/osmo-bsc.cfg -s logging level cc (debug|info|notice|error|fatal) logging level mgcp (debug|info|notice|error|fatal) % dyn_ts_allow_tch_f is deprecated, rather use msc/codec-list to pick codecs <0013> ../../../git/src/vty/telnet_interface.c:104 Available via telnet 127.0.0.1 4242 <0015> ../../git/src/input/ipaccess.c:859 enabling ipaccess BSC mode on 0.0.0.0 with OML 3002 and RSL 3003 TCP ports <001a> ../../../git/src/ctrl/control_if.c:911 CTRL at 127.0.0.1 4249 <0023> ../../../git/src/libosmo-mgcp-client/mgcp_client.c:777 MGCP client: using endpoint domain '@mgw' <0007> ../../../git/src/osmo-bsc/osmo_bsc_sigtran.c:494 Initializing SCCP connection to MSC msc-0 ... BTS 0 reported connected PCU version 0.7.0 BTS 0 reported connected PCU version 0.7.0 BTS 0 reported connected PCU version 0.7.0 Segmentation fault (core dumped)
the same happens when 'set-all' is used (not only with 'force-all'
#3 Updated by neels about 2 months ago
already fixed by this? http://git.osmocom.org/libosmocore/commit/?id=f8fe48e7fb2f0fef722bcd0d4cf37f6697ae86b4
#6 Updated by pespin about 2 months ago
- Status changed from New to Feedback
- Assignee changed from pespin to roh
Can you try running following binary in the sysmobts and see if you can still reproduce the issue?
It contains all required deps, so simply uncompress it and set LD_LIBRARY_PATH to $untared_dir/lib.
#8 Updated by pespin about 2 months ago
You can use the libosmocore from here however (Current master), this way we may be lucky and don't see the crash, which means it's fixed in master (probably neel's link):