Jump to content

Event game.core problem


Recommended Posts

  • Bronze

Hi. 

Someone know ho to fix it ?

bt

Spoiler

#0  intrusive_ptr_add_ref (p=0xffffffff) at event.cpp:218
218     event.cpp: No such file or directory.
[Current thread is 1 (LWP 100139)]
(gdb) bt
#0  intrusive_ptr_add_ref (p=0xffffffff) at event.cpp:218
#1  0x08170b55 in boost::intrusive_ptr<event>::intrusive_ptr (rhs=..., this=<optimized out>)
    at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:96
#2  boost::intrusive_ptr<event>::operator= (rhs=..., this=<optimized out>)
    at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:133
#3  event_cancel (ppevent=0x3706d3ac) at event.cpp:58
#4  0x080f77c8 in CNewPetSystem::Destroy (this=0x3706d380) at New_PetSystem.cpp:2549
#5  0x08093558 in CHARACTER::Destroy (this=0x41c1b000) at char.cpp:549
#6  0x08093b09 in CHARACTER::~CHARACTER (this=0x41c1b000, __in_chrg=<optimized out>)
    at char.cpp:180
#7  0x080cf02e in CHARACTER_MANAGER::DestroyCharacter (this=0xffffbf7c, ch=0x41c1b000)
    at char_manager.cpp:166
#8  0x080981eb in CHARACTER::Disconnect (this=0x41c1b000

bt full

Spoiler

#0  intrusive_ptr_add_ref (p=0xffffffff) at event.cpp:218
No locals.
#1  0x08170b55 in boost::intrusive_ptr<event>::intrusive_ptr (rhs=..., this=<optimized out>)
    at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:96
No locals.
#2  boost::intrusive_ptr<event>::operator= (rhs=..., this=<optimized out>)
    at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:133
No locals.
#3  event_cancel (ppevent=0x313dc3ac) at event.cpp:58
        __FUNCTION__ = "event_cancel"
#4  0x080f77c8 in CNewPetSystem::Destroy (this=0x313dc380) at New_PetSystem.cpp:2549
No locals.
#5  0x08093558 in CHARACTER::Destroy (this=0x3f07c000) at char.cpp:549
        party = <optimized out>
#6  0x08093b09 in CHARACTER::~CHARACTER (this=0x3f07c000, __in_chrg=<optimized out>)
    at char.cpp:180
No locals.
#7  0x080cf02e in CHARACTER_MANAGER::DestroyCharacter (this=0xffffbf7c, ch=0x3f07c000)
    at char_manager.cpp:166
        it = {<std::tr1::__detail::_Hashtable_iterator_base<std::pair<unsigned int const, CHARACTER*>, false>> = {_M_cur_node = 0x2ddb6ba0, _M_cur_bucket = 0xffffbfd0}, <No data fields>}
        __FUNCTION__ = "DestroyCharacter"
#8  0x080981eb in CHARACTER::Disconnect (this=0x3f07c000,
    c_pszReason=0x848ece6 "DESC::~DESC") at char.cpp:1841
        p = {bHeader = 2 '\002',
          szName = "NICK\000:;\337`\001\000\361)\210(\016\000\\\000\021\370\207"}
#9  0x08150406 in DESC::Destroy (this=0x2b57c300) at desc.cpp:131
 

 

CNewPetSystem::Destroy (this=0x313dc380) at New_PetSystem.cpp:2549

2549:        event_cancel(&m_pkNewPetSystemUpdateEvent);
 

in 


 


void CNewPetSystem::Destroy()
{
	for (TNewPetActorMap::iterator iter = m_petActorMap.begin(); iter != m_petActorMap.end(); ++iter)
	{
		CNewPetActor* petActor = iter->second;
		if (0 != petActor)
		{
			delete petActor;
		}
	}
	if (m_pkNewPetSystemUpdateEvent)
		event_cancel(&m_pkNewPetSystemUpdateEvent);

	if (m_pkNewPetSystemExpireEvent)
		event_cancel(&m_pkNewPetSystemExpireEvent);

	m_petActorMap.clear();
}

 

event.cpp 218: ++(p->ref_count);


void intrusive_ptr_add_ref(EVENT* p) {
	if (p)
		++(p->ref_count);
}

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.