unable to reproduce the problem from the above given steps:

Attaching the logs.

when the creation of long dn object is rejected the immnd traces is showing 
junk for the below line:

Aug  1 17:47:55.174829 osafimmnd [6981:ImmModel.cc:5546] T2 Childcount for 
(grand)parent 
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLtEstAttr=0
 of aborted create 
obj3,LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL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^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@à9^Uæ<^@^@^@<80>F(2T^?^@^@P^_^@^@^@^@^@^@^@^@^@^@^A^@^@^@^O^A^B^@[^A^@^@`^_^@^@^@^@^@^@^@<80>Ý^@^@<80>©-À}i^@^@^@^@^@ðRèÔÿ^?^@^@^@^@^@^@^@^@



I modified IMMND and tried to print the dn in the below line the trace is 
showing output correctly:

Added the following trace in IMMmodel.cc :

   TRACE_2("Childcount for (grand)parent %s of aborted create %s "
                               "decremented to %u", gpDn.c_str(), dn.c_str(),
                                grandParent->mChildCount);
   TRACE_2("Aborting Create for object %s ", dn.c_str());


Aug  1 17:47:55.174840 osafimmnd [6981:ImmModel.cc:5547] T2 Aborting Create for 
object 
obj3,LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLtEstAttr=0
 


There is some problem with handling of trace.




Attachment: logs.tgz (473.1 kB; application/x-compressed-tar) 


---

** [tickets:#970] IMM: immnd crashed while committing ccbDelete operation**

**Status:** unassigned
**Milestone:** 4.5.FC
**Created:** Fri Jul 25, 2014 01:38 PM UTC by surender khetavath
**Last Updated:** Wed Jul 30, 2014 11:56 AM UTC
**Owner:** nobody

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 fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to