< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] rutil SharedPtr use


Title: Mail
resiprocate-devel,你好
 
when i used SharedPtr:
 
#0  0x00abe7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00afe955 in raise () from /lib/tls/libc.so.6
#2  0x00b00319 in abort () from /lib/tls/libc.so.6
#3  0x005ca76e in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#4  0x005c83fd in __cxa_call_unexpected () from /usr/lib/libstdc++.so.6
#5  0x005c8432 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0x005c8ae5 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#7  0xf6c91fbe in resip::Lock::Lock () from ../../../resip/lib.nodebug.Linux.i686/librutil.so
#8  0xf6b9f966 in astroims::RequestContext::process (this=0xe622a1c8, sip=0xe3b54dd8) at SharedCount.hxx:116

 
   void release() // nothrow
   {
      {
         Lock lock(mMutex); (void)lock;
         long new_use_count = --use_count_;
         //GenericLog(Subsystem::SIP, resip::Log::Info, << "********* SharedCount::release: " << use_count_);
         if(new_use_count != 0) return;
      }
      dispose();
      weak_release();
   }
 
in release() , pur virtual funcition called , i don't known  why cause this erro!