Project

General

Profile

Actions

Bug #4965

closed

osmo-gbproxy segfaults in ttcn3-gbproxy-test

Added by laforge over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Target version:
-
Start date:
01/21/2021
Due date:
% Done:

100%

Spec Reference:

Description

See https://jenkins.osmocom.org/jenkins/view/TTCN3/job/ttcn3-gbproxy-test/107/console

It happens really soon after start-up:

20210121111035629 DLGLOBAL <0013> telnet_interface.c:104 Available via telnet 0.0.0.0 4246
20210121111035630 DLCTRL <001a> control_if.c:915 CTRL at 127.0.0.1 4263
20210121111038666 DGPRS <0004> gb_proxy.c:1382 NS: Unknown NS-STATUS.ind cause=NSVC failure from NS
20210121111038667 DLNS <0026> gprs_ns2_sns.c:1359 GPRS-NS2-SNS-BSS(NSE00101-SNS)[0x55f9c0834300]{SIZE}: NSE 101: no remaining NSVC, resetting SNS FSM
20210121111038667 DGPRS <0004> gb_proxy.c:1382 NS: Unknown NS-STATUS.ind cause=NSVC failure from NS
20210121111038667 DLNS <0026> gprs_ns2_sns.c:1359 GPRS-NS2-SNS-BSS(NSE00102-SNS)[0x55f9c0835380]{SIZE}: NSE 102: no remaining NSVC, resetting SNS FSM
20210121111041692 DGPRS <0004> gb_proxy.c:1382 NS: Unknown NS-STATUS.ind cause=NSVC recovery from NS
20210121111041698 DLNS <0026> gprs_ns2_vc_fsm.c:823 GPRS-NS2-VC(UDP-NSE00102-remote-172_18_24_103:24000)[0x55f9c0834e70]{UNBLOCKED}: NSEI=102 Rx unknown NS PDU type NS-STATUS
20210121111041700 DGPRS <0004> gb_proxy.c:1382 NS: Unknown NS-STATUS.ind cause=NSVC recovery from NS
20210121111041707 DLNS <0026> gprs_ns2_vc_fsm.c:823 GPRS-NS2-VC(UDP-NSE00101-remote-172_18_24_103:23000)[0x55f9c0837790]{UNBLOCKED}: NSEI=101 Rx unknown NS PDU type NS-STATUS
20210121111042928 DGPRS <0004> gb_proxy.c:1344 NS-NSE 2001 became available
20210121111042928 DGPRS <0004> gb_proxy.c:1382 NS: Unknown NS-STATUS.ind cause=NSVC recovery from NS
Segmentation fault (core dumped)

a decoded core dump (no sources in the container):

#0  gprs_ns2_vc_rx (nsvc=nsvc@entry=0x55f9c0837070, msg=msg@entry=0x55f9c083d6d0, tp=tp@entry=0x0)
    at gprs_ns2_vc_fsm.c:766
766     gprs_ns2_vc_fsm.c: No such file or directory.
(gdb) bt
#0  gprs_ns2_vc_rx (nsvc=nsvc@entry=0x55f9c0837070, msg=msg@entry=0x55f9c083d6d0, tp=tp@entry=0x0)
    at gprs_ns2_vc_fsm.c:766
#1  0x00007f800f099d65 in ns2_recv_vc (nsvc=0x55f9c0837070, msg=msg@entry=0x55f9c083d6d0)
    at gprs_ns2.c:1102
#2  0x00007f800f09b456 in handle_nsip_read (bfd=0x55f9c0834120) at gprs_ns2_udp.c:251
#3  nsip_fd_cb (bfd=0x55f9c0834120, what=1) at gprs_ns2_udp.c:269
#4  0x00007f800ec2ca18 in poll_disp_fds (n_fd=<optimized out>) at select.c:350
#5  _osmo_select_main (polling=<optimized out>) at select.c:378
#6  0x00007f800ec2ca96 in osmo_select_main (polling=<optimized out>) at select.c:417
#7  0x000055f9c02a8491 in main (argc=3, argv=0x7ffc86df1308) at gb_proxy_main.c:332

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)