CM Segmentation Faults Reauthorizing An Existing AAA Session (Doc ID 1413904.1)

Last updated on SEPTEMBER 24, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.3.0.0.1 to 7.3.0.0.1 - Release: 7.3.0 to 7.3.0
Information in this document applies to any platform.

Symptoms

When the following steps are run, SIGSEGV error is encountered.

Replication Steps
  1. Create a session with authorization ID "xxxxxxx" and msisdn number xxxxxxxxxxx (postpaid)
  2. Call reauthorize opcode (4026) with authorization ID "xxxxxxxx" and msisdn number xxxxxxxxxx (postpaid)
As you can see the case is about reauthorizing an existing session with a different user. In the event of BRM receiving such request from external systems (mediation/network elements) SIGSEGV should not happen - BRM should throw an error in such cases.

Authorisation ID is being reused in exceptional situations. This is one of the scenarios where by testing CM process experiences SIGSEGV.

This case, even if unexpected/erroneus for BRM, should be handled properly by catching proper error and not by Operating System signaling a segmentation fault to CM process, which then ends up spinning CPU and hanging database transaction started by that child CM process.

Error (stack trace):

Received Signal 11
(0) 0x60000000e095a590 printExceptionReport + 0x240 at unix_exception.c:112 [/opt/portal/pin/lib/libcm_main.so]
(1) 0x60000000e094b9c0 sigsegv_handler + 0x40 at ../cm_main.c:132 [/opt/portal/pin/lib/libcm_main.so]
(2) 0xe0000001500028e0 ---- Signal 11 (SIGSEGV) delivered ----
(3) 0x60000000e312a4f0 fm_reserve_create + 0x20 at fm_reserve_create.c:391 [/opt/portal/pin/lib/fm_reserve.so]
(4) 0x60000000e312ed40 fm_reserve_extend_pre_rate + 0x10e0 at fm_reserve_extend.c:1072 [/opt/portal/pin/lib/fm_reserve.so]
(5) 0x60000000e312d310 op_reserve_extend + 0xd10 at fm_reserve_extend.c:321 [/opt/portal/pin/lib/fm_reserve.so]
(6) 0x60000000e062e6d0 cm_pre_pcm_op + 0xbf0 at ../cm_utils.c:1520 [/opt/portal/pin/lib/libcmpin.so]
(7) 0x60000000e065fcc0 pcm_op_ex + 0x430 at ../pcm/pcm.c:492 [/opt/portal/pin/lib/libcmpin.so]
(8) 0x60000000e065f7a0 pcm_op + 0x40 at ../pcm/pcm.c:322 [/opt/portal/pin/lib/libcmpin.so]
(9) 0x60000000e144fd40 fm_act_reauth_call_extend_reservation + 0x1050 at fm_act_reauthorize.c:996 [/opt/portal/pin/lib/fm_act.so]
(10) 0x60000000e144c510 fm_act_reauthorize + 0x910 at fm_act_reauthorize.c:429 [/opt/portal/pin/lib/fm_act.so]
(11) 0x60000000e144b5d0 op_act_reauthorize + 0x130 at fm_act_reauthorize.c:151 [/opt/portal/pin/lib/fm_act.so]
(12) 0x60000000e062e6d0 cm_pre_pcm_op + 0xbf0 at ../cm_utils.c:1520 [/opt/portal/pin/lib/libcmpin.so]
(13) 0x60000000e065fcc0 pcm_op_ex + 0x430 at ../pcm/pcm.c:492 [/opt/portal/pin/lib/libcmpin.so]
(14) 0x60000000e065f7a0 pcm_op + 0x40 at ../pcm/pcm.c:322 [/opt/portal/pin/lib/libcmpin.so]
(15) 0x60000000e34a72e0 fm_tcf_aaa_update_and_reauthorize + 0x1620 at fm_tcf_aaa_update_and_reauthorize.c:351 [/opt/portal/pin/lib/fm_tcf_aaa.so]
(16) 0x60000000e34a5bc0 op_tcf_aaa_update_and_reauthorize + 0x240 at fm_tcf_aaa_update_and_reauthorize.c:99 [/opt/portal/pin/lib/fm_tcf_aaa.so]
(17) 0x60000000e0942c00 cm_custom_ex + 0x600 at ../cm_child.c:4506 [/opt/portal/pin/lib/libcm_main.so]
(18) 0x60000000e093fb40 cm_custom + 0x70 at ../cm_child.c:4120 [/opt/portal/pin/lib/libcm_main.so]
(19) 0x60000000e093dfb0 cm_child + 0x1a50 at ../cm_child.c:2913 [/opt/portal/pin/lib/libcm_main.so]
(20) 0x60000000e0953ae0 mainThread + 0x46e0 at ../cm_main.c:4246 [/opt/portal/pin/lib/libcm_main.so]
(21) 0x0000000004000bd0 main + 0x30 [/opt/portal/pin/bin/cm_dia]
(22) 0x60000000c002cc90 main_opd_entry + 0x50 [/usr/lib/hpux32/dld.so]

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