Project

General

Profile

Bug #5349

Updated by keith over 2 years ago

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

 <pre> 
 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 

 </pre> 

 resulting in: 

 <pre> 
 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) 

 </pre> 

 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 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. call. 

 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.

Back

Add picture from clipboard (Maximum size: 48.8 MB)