Project

General

Profile

Actions

Bug #4300

closed

osmo-bsc segfaults when logging is enabled

Added by roh over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
12/03/2019
Due date:
% Done:

100%

Spec Reference:

Description

to reproduce:

run osmo-bsc in terminal (to see the segfault)

telnet localhost 4242
enable
logging enable
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'

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)