CAP3GPRS Crashes when Decoding the ChargingID Field

(Doc ID 2013955.1)

Last updated on JULY 18, 2017

Applies to:

Oracle Communications Network Charging and Control - Version 4.3.0 to 5.0.3 [Release 4.3 to 5.0]
Information in this document applies to any platform.

Symptoms

On Oracle Communications Network Charging and Control (OCNCC or NCC), the Customized Applications for Mobile networks Enhanced Logic (CAMEL) Application Part version 3 General Packet Radio Service (CAP3GPRS) gateway randomly crashes when decoding the ChargingID parameter upon receiving the Initial Detection Point (IDP) message using Extended UnitData (XUDT) as the Message Type.

Details from cap3GprsControlAgent.log file:

##NOK Scenario

2015/05/20 16:24:11              StateIdle.cc   153 [3134] cap3GprsControlAgent CapInitialDPGPRS
2015/05/20 16:24:11              StateIdle.cc   153 [3134] cap3GprsControlAgent   serviceKey=253
2015/05/20 16:24:11              StateIdle.cc   153 [3134] cap3GprsControlAgent   gPRSEventType=12
2015/05/20 16:24:11              StateIdle.cc   153 [3134] cap3GprsControlAgent   mSISDN=Extension:1    NoA:1    Plan: 1    Digits:123456789
2015/05/20 16:24:11              StateIdle.cc   153 [3134] cap3GprsControlAgent   iMSI=123456789
2015/05/20 16:24:11              StateIdle.cc   153 [3134] cap3GprsControlAgent   longRequestedQOS=pl=0x0,does=0x0,do=0x0,tc=0x0,mss=0x0,mbru=0x0,mbrdl=0x0,ser=0x0,rb=0x0,thp=0x0,td=0x0,gbru=0x0,gbrd=0x0
2015/05/20 16:24:11              StateIdle.cc   153 [3134] cap3GprsControlAgent   longSubscribedQOS=pl=0x2,does=0x3,do=0x2,tc=0x4,mss=0x96,mbru=0xfe,mbrdl=0xfe,ser=0x4,rb=0x7,thp=0x0,td=0x0,gbru=0x0,gbrd=0x0
2015/05/20 16:24:11              StateIdle.cc   153 [3134] cap3GprsControlAgent   longNegotiatedQOS=pl=0x2,does=0x3,do=0x2,tc=0x4,mss=0x96,mbru=0x40,mbrdl=0x58,ser=0x4,rb=0x7,thp=0x1,td=0x18,gbru=0x10,gbrd=0x40
2015/05/20 16:24:11              StateIdle.cc   153 [3134] cap3GprsControlAgent   accessPointName=test.gprs

##And crashing. Note that we have no record with chargingID.

2015/05/20 16:24:19             cmnTimeout.cc   164 [7742]           cmnTimeout ExtendedTimeout::ExtendedTimeout()
2015/05/20 16:24:19             cmnLatency.cc    37 [7742]           cmnLatency cmnLatency::cmnLatency()
2015/05/20 16:24:19             cmnTimeout.cc   164 [7742]           cmnTimeout ExtendedTimeout::ExtendedTimeout()
2015/05/20 16:24:19             cmnLatency.cc    37 [7742]           cmnLatency cmnLatency::cmnLatency()
2015/05/20 16:24:19           ControlAgent.cc    41 [7742] cap3GprsControlAgent ControlAgent::ControlAgent()
2015/05/20 16:24:19             cmnLatency.cc   329 [7742]           cmnLatency void cmnLatency::setReportTitle(const std::string&) report title set to 'IDP Latency'
2015/05/20 16:24:19             cmnLatency.cc   329 [7742]           cmnLatency void cmnLatency::setReportTitle(const std::string&) report title set to 'ACR Latency'
2015/05/20 16:24:19          cap3gprsUtils.cc    45 [7742] cap3gprsObjectCounts Object of class ControlAgent constructed. There are now 1 instances.
2015/05/20 16:24:19           ControlAgent.cc   206 [7742] cap3GprsControlAgent ControlAgent::mainLoop()
2015/05/20 16:24:19           ControlAgent.cc   207 [7742] cap3GprsControlAgent creating slee api instance

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

##OK Scenario

2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent CapInitialDPGPRS
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   serviceKey=253
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   gPRSEventType=12
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   mSISDN=Extension:1    NoA:1    Plan: 1    Digits:123456789
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   iMSI=123456789
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   longRequestedQOS=pl=0x0,does=0x0,do=0x0,tc=0x0,mss=0x0,mbru=0x0,mbrdl=0x0,ser=0x0,rb=0x0,thp=0x0,td=0x0,gbru=0x0,gbrd=0x0
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   longSubscribedQOS=pl=0x2,does=0x3,do=0x2,tc=0x4,mss=0x96,mbru=0xfe,mbrdl=0xfe,ser=0x4,rb=0x7,thp=0x0,td=0x0,gbru=0x0,gbrd=0x0
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   longNegotiatedQOS=pl=0x2,does=0x3,do=0x2,tc=0x4,mss=0x96,mbru=0x40,mbrdl=0x58,ser=0x4,rb=0x7,thp=0x1,td=0x18,gbru=0x10,gbrd=0x40
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   accessPointName=test.gprs

##And we have a chargingID correctly decoded

2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   chargingID=0x9a15e076
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   sGSNCapabilities=0x0
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   cellGlobalIdOrServiceAreaIdOrLAI=MCC:xxx MNC:xx LAC:0xLAC CellId:0xCellID
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   sgsnAddress=Extension:1    NoA:1    Plan: 1    Digits:123456789
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   pDPInitiationType=0
2015/05/20 16:27:24              StateIdle.cc   153 [11373] cap3GprsControlAgent   gGSNAddress=xxx.xxx.xxx.xxx.

References:

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms