COSMgr = new COSManager(); // This memory will be deallocated in desturctor
// Initialize the COS Manager with the context - "RealTime"
COSMgr->initialize(COS_CONTEXT);
item = new COSManagerListItem(COSMgr,auditGroupId); // This memory will be deallocated in desturctor
_COSManagerList.insert((RWCollectable *)item);
return COSMgr;
}
I thnk there is problem with new operator while allocating memory to COSManager,so the process dropped core .
I have pasted here the dbx ( where -h version ) of the core.
[3] SIGHandler::criticalHandler(sig = 6)
[4] suspend_fork(0x6, 0x0, 0xffbd3c80, 0x64c340, 0x0, 0x0), at 0xf4548a94
[5] usleep(0x6, 0x0, 0x12, 0x0, 0xfe3c2a00, 0xffbd3c80), at 0xf453d140
[6] fcntl(0x6, 0x0, 0xffbd3c80, 0xf453a570, 0xfe3c2a00, 0x0), at 0xf453d314
[7] __init_suid_priv(0x6, 0x6, 0x5, 0x6, 0x72ff8, 0x0), at 0xf44e5a74
[8] __dtoll(0xffbd3ff8, 0x0, 0xfb7d553c, 0xeeb60, 0x0, 0xfb7eaf34), at 0xf44c190c
[9] __Crun::static_type_info::dotdotdot_flag(0xfb7eaf34, 0xf45b5800, 0xfb7ef178, 0x153bc, 0x142f8, 0xfb7d507c), at 0xfb7d5080
[10] check_throw_from_unexpected(0xfb7eb140, 0x0, 0x0, 0xfb7eb140, 0xfb7ea810, 0x1), at 0xfb7d4eac
[11] _ex_rethrow_body(0xfb7eb140, 0x0, 0x0, 0x14d08, 0xfb7ea810, 0xfb7eaef4), at 0xfb7d5b90 [12] __Crun::ex_chk_unexpected(0xfb7eaef4, 0xfb7d70d0, 0xfb7eaef8, 0x14e48, 0x14964, 0x0), at 0xfb7d5f50
[13] operator new(0x4e20, 0xfb7eb028, 0xfb7eb190, 0x137d4, 0xfb7ea810, 0x0), at 0xfb7d70d0
[14] 0xfc623c90(0x1388, 0x1388, 0x6b753a90, 0x7d0a3680, 0x7f7777f0, 0x40), at 0xfc623c8f
[15] 0xfc624560(0x6b753a8c, 0x1388, 0x6b753a90, 0x7d0a3588, 0xffbd42e0, 0x1388), at 0xfc62455f
[16] 0xff2a950c(0x6b753a5c, 0x1, 0xda058, 0xf92dd8f8, 0xf45b03a8, 0xf45ba518), at 0xff2a950b
[17] 0xff2ee218(0x6b753a48, 0x80d96440, 0xf, 0x137d4, 0xfb7ea810, 0x6b753a48), at 0xff2ee217
[18] GenericEventBucket::getNewCOSManager(this = 0x80dec8b8, auditGroupId = 0xffbd4b28 "1LN8TKKD0CNMG18"), line 401 in "GenericEventBucket.cc"
can anyone suggest me how to get rid of this problem?