- **status**: review --> fixed
- **Comment**:
[staging:b00af2]
[staging:b3eddc]
[staging:f54d45]
[staging:f5bbcc]
changeset: 5798:f5bbccf3d32e
tag: tip
parent: 5794:c01bcaff9ca7
user: Mathivanan N.P.<[email protected]>
date: Mon Sep 15 15:37:43 2014 -0400
summary: base: check and truncate(with character T) logtrace messages >=
1023 bytes [#970]
changeset: 5797:f54d45630e66
branch: opensaf-4.5.x
parent: 5790:43f758230e5f
user: Mathivanan N.P.<[email protected]>
date: Mon Sep 15 15:37:43 2014 -0400
summary: base: check and truncate(with character T) logtrace messages >=
1023 bytes [#970]
changeset: 5796:b3eddcdcf961
branch: opensaf-4.4.x
parent: 5784:10d475cc2d08
user: Mathivanan N.P.<[email protected]>
date: Mon Sep 15 15:37:43 2014 -0400
summary: base: check and truncate(with character T) logtrace messages >=
1023 bytes [#970]
changeset: 5795:b00af2767ed1
branch: opensaf-4.3.x
parent: 5770:cea9b42d369f
user: Mathivanan N.P.<[email protected]>
date: Mon Sep 15 15:37:43 2014 -0400
summary: base: check and truncate(with character T) logtrace messages >=
1023 bytes [#970]
---
** [tickets:#970] logtrace: messages longer than 1024 bytes causes processes to
crash.**
**Status:** fixed
**Milestone:** 4.5.0
**Created:** Fri Jul 25, 2014 01:38 PM UTC by surender khetavath
**Last Updated:** Fri Sep 12, 2014 01:11 PM UTC
**Owner:** Mathi Naickan
gcc 4.9
setup : 1 controller
changeset : 5454 and included patches for longDns
Test:
1) Create a object A with longDN value
2) Create a object B(not longDn) with parent A ie [B,A]
3) Delete the object created in step 2 ie [B,A]
Logs attached.full bt attached with the logs tar.
IMMND log time stamp
Jul 25 18:53:59.392355 osafimmnd [2285:ImmModel.cc:5069]
GDB output:
(gdb) bt
#0 std::_Rb_tree_increment(std::_Rb_tree_node_base*) ()
at ../../../../../gcc-4.9.0/libstdc++-v3/src/c++98/tree.cc:84
#1 0x000000000046a58f in std::_Rb_tree_iterator<std::pair<std::string const,
ObjectMutation*> >::operator++()
() at /usr/include/c++/4.9.0/bits/stl_tree.h:203
#2 0x000000000043c10d in ImmModel::ccbCommit(unsigned int,
std::vector<unsigned int, std::allocator<unsigned int> >&) () at
ImmModel.cc:5154
#3 0x000000000042d95e in immModel_ccbCommit () at ImmModel.cc:1254
#4 0x0000000000418da9 in immnd_evt_proc_ccb_apply ()
#5 0x0000000000419974 in immnd_evt_proc_fevs_dispatch ()
#6 0x000000000041c2a8 in immnd_evt_proc_fevs_rcv ()
#7 0x00000000004065f9 in immnd_process_evt ()
#8 0x000000000041fbba in main ()
(gdb) fr 2
#2 0x000000000043c10d in ImmModel::ccbCommit(unsigned int,
std::vector<unsigned int, std::allocator<unsigned int> >&) () at
ImmModel.cc:5154
warning: Source file is more recent than executable.
5154 for(omit=ccb->mMutations.begin(); omit!=ccb->mMutations.end();
++omit){
(gdb) l
5149 }
5150 ccb->mWaitStartTime = 0;
5151
5152 //Do the actual commit!
5153 ObjectMutationMap::iterator omit;
5154 for(omit=ccb->mMutations.begin(); omit!=ccb->mMutations.end();
++omit){
5155 ccbNotEmpty=true;
5156 ObjectMutation* omut = omit->second;
5157 osafassert(!omut->mWaitForImplAck);
5158 switch(omut->mOpType){
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets