Jump to content

rusfighter

Members
  • Posts

    38
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by rusfighter

  1. Thx for your reply , i still dont understand it exactly because i dont get the first code that you have i just get this

    [New Thread 18977]
    [New Thread 18976]
    [New Thread 18975]
    [New Thread 18974]
    [New Thread 18973]
    [New Thread 18972]
    [New Thread 18971]
    [New Thread 18964]
    [New Thread 18968]
    [New Thread 18967]
    [New Thread 18966]
    Core was generated by `/home/Luwow/server/bin/funserver -c ../etc/mangosd.conf'.
    Program terminated with signal 11, Segmentation fault.
    #0  std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_M_find_node (
       this=0xa9fed58, pl=0xa0567390, update_players=...)
       at /usr/include/c++/4.3/tr1_impl/hashtable:896
    896        if (this->_M_compare(__k, __code, __p))
    #0  std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_M_find_node (
       this=0xa9fed58, pl=0xa0567390, update_players=...)
       at /usr/include/c++/4.3/tr1_impl/hashtable:896
    No locals.
    #1  std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::find (this=0xa9fed58, 
       pl=0xa0567390, update_players=...)
       at /usr/include/c++/4.3/tr1_impl/hashtable:764
    No locals.
    #2  Object::BuildUpdateDataForPlayer (this=0xa9fed58, pl=0xa0567390, 
       update_players=...) at ../../../src/game/Object.cpp:1059
           __PRETTY_FUNCTION__ = "void Object::BuildUpdateDataForPlayer(Player*, UpdateDataMapType&)"
    #3  0x0825a6ab in void Map::Visit<WorldObjectChangeAccumulator, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > >(Cell const&, TypeContainerVisitor<WorldObjectChangeAccumulator, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > >&) ()
    No symbol table info available.
    #4  0x08257842 in Visit<WorldObjectChangeAccumulator, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > > (this=0xa9fed58, 
       update_players=...) at ../../../src/game/CellImpl.h:210
    No locals.
    #5  WorldObject::BuildUpdateData (this=0xa9fed58, update_players=...)
       at ../../../src/game/Object.cpp:1957
           cell = {data = {Part = {grid_x = 6, grid_y = 32, cell_x = 7, 
                 cell_y = 1, nocreate = 1, reserved = 31}, All = 1057257478}}
           notifier = {i_updateDatas = @0xa7bff120, i_object = @0xa9fed58}
           player_notifier = {i_visitor = @0xa7bff0a8}
           aMap = 0xad900018
    #6  0x08229912 in Map::SendObjectUpdates (this=0xad900018)
       at ../../../src/game/Map.cpp:3568
           update_players = {<std::tr1::__unordered_map<Player*, UpdateData, std::tr1::hash<Player*>, std::equal_to<Player*>, std::allocator<std::Pair<Player* const, UpdateData> >, false>> = {<std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>> = {<std::tr1::__detail::_Rehash_base<std::tr1::__detail::_Prime_rehash_policy, std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >> = {<No data fields>}, <std::tr1::__detail::_Hash_code_base<Player*, std::Pair<Player* const, UpdateData>, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, false>> = {
                   _M_extract = {<std::unary_function<std::Pair<Player* const, UpdateData>, Player* const>> = {<No data fields>}, <No data fields>}, 
                   _M_eq = {<std::binary_function<Player*, Player*, bool>> = {<No data fields>}, <No data fields>}, 
                   _M_h1 = {<std::unary_function<Player*, unsigned int>> = {<No data fields>}, <No data fields>}, 
                   _M_h2 = {<No data fields>}}, <std::tr1::__detail::_Map_base<Player*, std::Pair<Player* const, UpdateData>, std::_Select1st<std::Pair<Player* const, UpdateData> >, true, std::tr1::_Hashtable<Player*, std::Pair<Player* const, UpdateData>, std::allocator<std::Pair<Player* const, UpdateData> >, std::_Select1st<std::Pair<Player* const, UpdateData> >, std::equal_to<Player*>, std::tr1::hash<Player*>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >> = {<No data fields>}, 
                 _M_node_allocator = {<__gnu_cxx::new_allocator<std::tr1::__detail::_Hash_node<std::Pair<Player* const, UpdateData>, false> >> = {<No data fields>}, <No data fields>}, _M_buckets = 0xa0598e68, _M_bucket_count = 11, 
                 _M_element_count = 1, _M_rehash_policy = {
                   _M_max_load_factor = 1, _M_growth_factor = 2, 
                   _M_next_resize = 11}}, <No data fields>}, <No data fields>}
           packet = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 2, 
               _wpos = 1065353216, 
               _storage = {<std::_Vector_base<unsigned char, std::allocator<unsigned char> >> = {
                   _M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>}, 
                     _M_start = 0x2 <Address 0x2 out of bounds>, 
                     _M_finish = 0x37f0c7f <Address 0x37f0c7f out of bounds>, 
                     _M_end_of_storage = 0xad900018 "\\b\\206K\\b¸o\\215\\n"}}, <No data fields>}}, m_opcode = 7}
    #7  0x08235703 in Map::Update (this=0xad900018, t_diff=@0xa0ebbbd0)
       at ../../../src/game/Map.cpp:698
           updater = {i_timeDiff = 101}
           grid_object_update = {i_visitor = @0xa7bff2bc}
           world_object_update = {i_visitor = @0xa7bff2bc}
           __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
    #8  0x0824352c in MapUpdateRequest::call (this=0xa0ebbbc0)
       at ../../../src/game/MapUpdater.cpp:47
    No locals.
    #9  0x084514b8 in DelayExecutor::svc (this=0xadc01108)
       at ../../../src/shared/DelayExecutor.cpp:60
           rq = 0xa0ebbbc0
    #10 0xb7eb0952 in ACE_Task_Base::svc_run (args=0xadc01108)
       at ../../ace/Task.cpp:275
           svc_status = <value optimized out>
    #11 0xb7eb1e1d in ACE_Thread_Adapter::invoke_i (this=0xae17c608)
       at ../../ace/Thread_Adapter.cpp:149
           hook = 0x4548a1c3
           func = 0xb7eb0900 <ACE_Task_Base::svc_run(void*)>
           arg = 0xadc01108
           status = 0xe937ede
    #12 0xb7eb1e96 in ACE_Thread_Adapter::invoke (this=0xae17c608)
       at ../../ace/Thread_Adapter.cpp:98
           exit_hook_instance = 0x8f93070
           exit_hook_maybe = {instance_ = 0x0}
           exit_hook_ptr = <value optimized out>
    #13 0xb7e0f0d1 in ace_thread_adapter (args=0xae17c608)
       at ../../ace/Base_Thread_Adapter.cpp:124
           status = 0xe937ede
    #14 0xb78504c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
    No symbol table info available.
    #15 0xb76ad6de in clone () from /lib/i686/cmov/libc.so.6
    No symbol table info available.
    

  2. Im testing now it. Btw i have a question about CPU usage , if i use command "top" then the usage is about 50% for the PID of the core , but the average is 7% , so it means that i use 7% of the CPU and take alot of more and i can cross 100% for the PID?

    I have quad core

    BTW . homuch do i need to set ACEmap thread? i have set it at 1

  3. I have crash

    [New Thread 2485]

    [New Thread 2484]

    [New Thread 2483]

    [New Thread 2482]

    [New Thread 2480]

    [New Thread 2469]

    [New Thread 2478]

    [New Thread 2477]

    [New Thread 2476]

    [New Thread 2475]

    [New Thread 2473]

    [New Thread 2472]

    [New Thread 2471]

    Core was generated by `/home/Luwow/server/bin/funserver -c ../etc/mangosd.conf'.

    Program terminated with signal 11, Segmentation fault.

    #0 0xb76890df in ?? () from /lib/i686/cmov/libc.so.6

    #0 0xb76890df in ?? () from /lib/i686/cmov/libc.so.6

    No symbol table info available.

    #1 0x00000020 in ?? ()

    No symbol table info available.

    #2 0xb768a655 in malloc () from /lib/i686/cmov/libc.so.6

    No symbol table info available.

    #3 0xb7861087 in operator new(unsigned int, std::nothrow_t const&) ()

    from /usr/lib/libstdc++.so.6

    No symbol table info available.

    #4 0xb7861164 in operator new[](unsigned int, std::nothrow_t const&) ()

    from /usr/lib/libstdc++.so.6

    No symbol table info available.

    #5 0xb7e9491a in ACE_New_Allocator::malloc (this=0xb7f5bb20,

    nbytes=2858418288) at ../../ace/Malloc_Allocator.cpp:118

    No locals.

    #6 0xb7e9682e in ACE_Message_Block::init_i (this=0xa7b119e8, size=8,

    msg_type=1, msg_cont=0x0, msg_data=0x9e6de920 "h\\224K\\b",

    allocator_strategy=0x0, locking_strategy=0x0, flags=1, priority=0,

    execution_time=..., deadline_time=..., db=0x0,

    data_block_allocator=0xb7f5bb20, message_block_allocator=0xb7f5bb20)

    at ../../ace/Message_Block.cpp:727

    No locals.

    #7 0xb7e96ea8 in ACE_Message_Block (this=0xa7b119e8, size=8, msg_type=1,

    msg_cont=0x0, msg_data=0x9e6de920 "h\\224K\\b", allocator_strategy=0x0,

    locking_strategy=0x0, priority=0, execution_time=..., deadline_time=...,

    data_block_allocator=0x0, message_block_allocator=0xb7f5bb20)

    at ../../ace/Message_Block.cpp:453

    No locals.

    #8 0xb7e4851c in ACE_Activation_Queue::enqueue (this=0xe592e14,

    mr=0x9e6de920, tv=0x856cc20) at ../../ace/Activation_Queue.cpp:113

    mb = <value optimized out>

    result = <value optimized out>

    #9 0x08451412 in DelayExecutor::execute (this=0xe592dc8, new_req=0x9e6de920)

    at ../../../src/shared/DelayExecutor.cpp:108

    No locals.

    #10 0x08243210 in MapUpdater::schedule_update (this=0xe592dc4, map=...,

    diff=151) at ../../../src/game/MapUpdater.cpp:101

    guard = {lock_ = 0xe592e6c, owner_ = 0}

    #11 0x08241e36 in MapManager::Update (this=0xe592d50, diff=52)

    at ../../../src/game/MapManager.cpp:271

    No locals.

    #12 0x083b192a in World::Update (this=0xb6c0a930, diff=52)

    at ../../../src/game/World.cpp:1409

    No locals.

    #13 0x081235e8 in WorldRunnable::run (this=0xb4af75b0)

    at ../../../src/mangosd/WorldRunnable.cpp:60

    diff = 52

    realCurrTime = 4267529657

    realPrevTime = <value optimized out>

    prevSleepTime = 50

    #14 0x084545da in ACE_Based::Thread::ThreadTask (param=0xb4af75b0)

    at ../../../src/shared/Threading.cpp:183

    No locals.

    #15 0xb7eb071e in ACE_OS_Thread_Adapter::invoke (this=0xb4af75e0)

    at ../../ace/OS_Thread_Adapter.cpp:90

    hook = 0xaa600070

    func = 0x84545c0 <ACE_Based::Thread::ThreadTask(void*)>

    arg = 0xb4af75b0

    status = 0x4fe

    #16 0xb7e5a0d1 in ace_thread_adapter (args=0xb4af75e0)

    at ../../ace/Base_Thread_Adapter.cpp:124

    status = 0x4fe

    #17 0xb789b4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0

    No symbol table info available.

    #18 0xb76f86de in clone () from /lib/i686/cmov/libc.so.6

    No symbol table info available.

    BTW how to read exactly those crashfiles?

  4. I always get this error, i follow the How-to use custom ACE and TBB libs guid and it still dont work :(

    ../shared/libmangosshared.a(DelayExecutor.o): In function `ACE_Object_Manager::remove_at_exit(void*)':

    /home/Luwow/opt/include/ace/Object_Manager.inl:38: undefined reference to `ACE_Object_Manager::remove_at_exit_i(void*)'

    ../shared/libmangosshared.a(DelayExecutor.o): In function `ACE_Object_Manager::at_exit(ACE_Cleanup*, void*, char const*)':

    /home/Luwow/opt/include/ace/Object_Manager.inl:17: undefined reference to `ACE_Object_Manager::at_exit_i(void*, void (*)(void*, void*), void*, char const*)

    Really need help :(

    I use ACE 5.7.6

  5. Heey , i have a problem , when i compile the newest core i get a error .

    It is about my custom script .

    This is error : invalid conversion from 'int' to 'SpellEffectIndex' at line 938

    I have on line 938 this script:

    if(!pPlayer->HasAura(SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,0))

    Never failed before , i think something is changed in mangos definitions?

  6. Hey i get error

    g++ -g -DMANGOS_DEBUG -DDO_MYSQL -g -O2 -o mangos-realmd AuthSocket.o Main.o RealmList.o -L/root/mangos/objdir/dep/src/sockets -L/root/shadow-wow/lib -L/usr/local//lib /usr/local//lib/libACE.so -lrt -ldl -L/usr/lib/mysql /usr/lib/libmysqlclient_r.so -lz -lssl -lcrypto -ltbb ../shared/Database/libmangosdatabase.a ../shared/Config/libmangosconfig.a ../shared/Auth/libmangosauth.a ../shared/libmangosshared.a ../framework/libmangosframework.a ../../dep/src/sockets/libmangossockets.a -lpthread -Wl,--rpath -Wl,/usr/local//lib -Wl,--rpath -Wl,/usr/local//lib

    /usr/bin/ld: cannot find -ltbb

    How to fix , i have installed tbb correclty i think :S

  7. Hey i get error while compiling :

    Entering directory `/home/Luwow/mangossrc/objdir/src/shared'
    g++ -DHAVE_CONFIG_H -I. -I../../../src/shared -I../..  -I/usr/include/mysql    -I../../src/shared -I../../../src/shared -I../../../src/shared/../../dep/include -I../../../src/shared/../framework -I../../../src/shared/../shared -I../../../src/shared/../../dep/include/g3dlite  -DSYSCONFDIR=\\"/home/Luwow/server/etc/\\"   -g -DMANGOS_DEBUG -DDO_MYSQL -g -O2 -MT Common.o -MD -MP -MF .deps/Common.Tpo -c -o Common.o ../../../src/shared/Common.cpp
    mv -f .deps/Common.Tpo .deps/Common.Po
    make[5]: *** No rule to make target `DelayExecutor.o', needed by `libmangosshared.a'.  Stop.
    

    How to fix?

×
×
  • 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