Project

General

Profile

Actions

Bug #5349

open

Message for non-existing SNDCP Entity

Added by keith over 2 years ago. Updated 10 months ago.

Status:
In Progress
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
12/09/2021
Due date:
% Done:

0%

Spec Reference:

Description

It seems pretty easy to get into a state where the TLLI in the MM context is not matching that in the SNDCP.

MM Context for IMSI 262423203000396, IMEI 013895003719350, P-TMSI ecc8a829
  MSISDN: 57057157010, TLLI: ecc8a829 HLR: 
  GMM State: Registered.NORMAL, Routeing Area: 334-07-1101-21, Cell ID: 0
  MM State: Standby, RAN Type: GPRS/EDGE via Gb
  SGSN MM Context Statistics:
   Signalling Messages ( In):       45 (0/s 0/m 45/h 0/d)
   Signalling Messages (Out):       21 (0/s 0/m 21/h 0/d)
   User Data  Messages ( In):      369 (0/s 0/m 369/h 0/d)
   User Data  Messages (Out):      288 (0/s 0/m 288/h 0/d)
   User Data  Bytes    ( In):    37388 (0/s 0/m 37388/h 0/d)
   User Data  Bytes    (Out):    56465 (0/s 0/m 56465/h 0/d)
   PDP Context Activations  :        1 (0/s 0/m 1/h 0/d)
   SUSPEND Count            :        0 (0/s 0/m 0/h 0/d)
   Paging Packet Switched   :        2 (0/s 0/m 2/h 0/d)
   Paging Circuit Switched  :        0 (0/s 0/m 0/h 0/d)
   Routing Area Update      :       14 (0/s 0/m 14/h 0/d)
OsmoSGSN# show snd
OsmoSGSN# show sndcp 
State of SNDCP Entities
 TLLI c6ada2d6 SAPI=3 NSAPI=5:
  Defrag: npdu=289 highest_seg=2 seg_have=0x00000007 tot_len=1233
 TLLI e9d026da SAPI=3 NSAPI=5:
  Defrag: npdu=339 highest_seg=1 seg_have=0x00000003 tot_len=793

resulting in:

20211209214900128 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900148 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900149 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900170 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900170 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900188 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900210 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900210 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900230 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900231 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900248 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900248 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900267 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)
20211209214900267 DSNDCP ERROR Message for non-existing SNDCP Entity (lle=0x55672ad42848, TLLI=ecc8a829, SAPI=3, NSAPI=5) (gprs_sndcp.c:812)

My apologies - Over the last year or so I've suffered a memory leak for all the GRPS workings, I'll need to read up again to further debug this myself, but in the meantime, it should be reproducible if anyone wishes to take a look.

One way to trigger it seems to be cause a GPRS suspend by making a call . In fact I can't reproduce this so easily. Something else is in the mix.

See the notes I erroneously posted on related issue #4824 , especially #4824-13

Marking high priority as I am observing this as a show stopper in production.
Thanks.


Files

osmo-msc.cfg osmo-msc.cfg 2.35 KB keith, 10/09/2022 02:11 AM
osmo-bsc.cfg osmo-bsc.cfg 16.8 KB keith, 10/09/2022 02:11 AM
osmo-sgsn.cfg osmo-sgsn.cfg 728 Bytes keith, 10/09/2022 02:13 AM
sgsn.log.gz sgsn.log.gz 57.3 KB keith, 10/11/2022 01:10 AM
gprs_bssgp.pcap.gz gprs_bssgp.pcap.gz 291 KB keith, 10/11/2022 01:10 AM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)