Jump to content

SmDevil

Members
  • Posts

    6
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by SmDevil

  1. I think so, Vladimir said that it's problem can't be in ST. But DrKLO said that SD2 starting in other thread in current realization of core, but it's need check. And patch help him...
  2. DrKLO, I think you need add thread id in Log... It's very helpful debug MT... And it's will arguments for your words... (sorry for English) @@ -20,10 +20,11 @@ #include "Log.h" #include "Policies/SingletonImp.h" #include "Config/ConfigEnv.h" #include "Util.h" #include "ByteBuffer.h" +#include "ace/Thread_Manager.h" #include <stdarg.h> INSTANTIATE_SINGLETON_1( Log ); @@ -287,11 +288,11 @@ void Log::outTimestamp(FILE* file) // MM month (2 digits 01-12) // DD day (2 digits 01-31) // HH hour (2 digits 00-23) // MM minutes (2 digits 00-59) // SS seconds (2 digits 00-59) - fprintf(file,"%-4d-%02d-%02d %02d:%02d:%02d ",aTm->tm_year+1900,aTm->tm_mon+1,aTm->tm_mday,aTm->tm_hour,aTm->tm_min,aTm->tm_sec); + fprintf(file,"%-4d-%02d-%02d %02d:%02d:%02d %d ",aTm->tm_year+1900,aTm->tm_mon+1,aTm->tm_mday,aTm->tm_hour,aTm->tm_min,aTm->tm_sec, ACE_Thread::self()); } void Log::outTime() { time_t t = time(NULL); @@ -300,11 +301,11 @@ void Log::outTime() // MM month (2 digits 01-12) // DD day (2 digits 01-31) // HH hour (2 digits 00-23) // MM minutes (2 digits 00-59) // SS seconds (2 digits 00-59) - printf("%02d:%02d:%02d ",aTm->tm_hour,aTm->tm_min,aTm->tm_sec); + printf("%02d:%02d:%02d %d ",aTm->tm_hour,aTm->tm_min,aTm->tm_sec, ACE_Thread::self()); } std::string Log::GetTimestampStr() { time_t t = time(NULL); PS: And we all understood that current realization of core (single thread) is "die". Have you a plans about it?
  3. Crash in "class TypeUnorderedMapContainer" with description "Object with certain key already in but objects are different!" No symbol table info available. #1 0x000000080253c74b in abort () from /lib/libc.so.7 No symbol table info available. #2 0x00000008025248e5 in __assert () from /lib/libc.so.7 No symbol table info available. #3 0x000000000084c56e in TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, unsigned long>::insert<GameObject> (elements=@0x815ee0190, handle=17370386786827674845, obj=0x86e1c5c00) at TypeContainer.h:78 __func__ = "insert" i = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<const long unsigned int, GameObject*>, false>> = {_M_cur_node = 0x83e31ab60, _M_cur_bucket = 0x8658577d8}, <No data fields>} #4 0x000000000084c2b6 in TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, unsigned long>::insert<GameObject, GameObject, TypeList<DynamicObject, TypeNull> > (elements=@0x815ee0190, handle=17370386786827674845, obj=0x86e1c5c00) at TypeContainer.h:92 ret = false #5 0x000000000084c008 in TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, unsigned long>::insert<GameObject, Vehicle, TypeList<GameObject, TypeList---Type <return> to continue, or q <return> to quit--- <DynamicObject, TypeNull> > > (elements=@0x815ee0160,
  4. rev 9401 #0 WaypointMovementGenerator<Creature>::Update (this=0x83af9d800, creature=@0x83b28f000, diff=Variable "diff" is not available. ) at ../../../src/game/WaypointMovementGenerator.cpp:372 behavior = (WaypointBehavior *) 0x3 idx = 1 traveller = {i_traveller = @0x83b28f000} #1 0xc59de42b00000000 in ?? () No symbol table info available. #2 0x0000000816b02000 in ?? () No symbol table info available. #3 0x00000000c59600cd in ?? () No symbol table info available. #4 0x0000000000000021 in ?? () No symbol table info available. #5 0x00000000006b3a0f in DestinationHolder<Traveller<Creature> >::GetLocationNow (this=0x7cfb19, map=Variable "map" is not available. ) at DestinationHolderImp.h:189 percent_passed = Variable "percent_passed" is not available. Ok, i try to 9400...
  5. rev 9401 Frequency: 2-5 times in 1 hour
  6. who can help me with this crash? #0 std::_List_base<Aura*, std::allocator<Aura*> >::_M_clear (this=0x8e7c04860) at list.tcc:77 #1 0x00000000007f7f63 in ~Unit (this=0x8e7c04000) at stl_list.h:348 #2 0x00000000006e61f8 in ~Pet (this=0x8e7c04000) at ../../../src/game/Pet.cpp:61 #3 0x0000000000678eb0 in Map::Remove<Creature> (this=0x81443b000, obj=0x8e7c04000, remove=Variable "remove" is not available. ) at ../../../src/game/Map.cpp:850 #4 0x0000000000662005 in Map::RemoveAllObjectsInRemoveList (this=0x81443b000) at ../../../src/game/Map.cpp:2200 #5 0x0000000000679c79 in MapManager::DoDelayedMovesAndRemoves (this=Variable "this" is not available. ) at ../../../src/game/MapManager.cpp:287 #6 0x000000000083dbb4 in World::Update (this=0x802449000, diff=33) at ../../../src/game/World.cpp:1716 #7 0x00000000004fafd2 in WorldRunnable::run (this=Variable "this" is not available. ) at ../../../src/mangosd/WorldRunnable.cpp:60 #8 0x0000000000924adb in ACE_Based::Thread::ThreadTask (param=0x806e12220) at ../../../src/shared/Threading.cpp:184 #9 0x0000000801b9e4d1 in pthread_getprio () from /lib/libthr.so.3 #10 0x0000000000000000 in ?? ()
×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use