Jump to content

Alex

Members
  • Posts

    61
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Everything posted by Alex

  1. More crashes/freeze in ACE (in form loglines - coredump): 1. http://paste2.org/p/98957 - http://paste2.org/p/98958 2. http://paste2.org/p/98959 - http://paste2.org/p/98960 3. http://paste2.org/p/98961 - http://paste2.org/p/98964 4. http://paste2.org/p/98965 - http://paste2.org/p/98966 Looks like something in ACE is bugged after all, the crashes get increasing when the load increases. Especially if sockets are being opened/closed frequently (most often if the queue exists).
  2. Core was generated by `/usr/local/MaNGOS/bin/mangos-worldd -c /usr/local/MaNGOS/etc/mangosd.conf.my -m'. Program terminated with signal 11, Segmentation fault. [New process 6271] [New process 6278] [New process 6277] [New process 6276] [New process 6275] [New process 6274] [New process 6273] [New process 6272] [New process 6230] [New process 6234] [New process 6233] [New process 6232] #0 0x0000003d4fc088aa in pthread_mutex_lock () from /lib64/libpthread.so.0 #0 0x0000003d4fc088aa in pthread_mutex_lock () from /lib64/libpthread.so.0 No symbol table info available. #1 0x00007f0c3005f046 in ACE_OS::mutex_lock (m=0x439fe5c7000001e9) at ../../../../MaNGOS-compilable/dep/ACE_wrappers/ace/OS_NS_Thread.cpp:2022 result = <value optimized out> #2 0x00000000006b6ecc in WorldSocket::SendPacket (this=0x439fe5c700000001, pct=@0x43800d00) at ../../../MaNGOS-compilable/dep/ACE_wrappers/ace/OS_NS_Thread.inl:3400 Guard = {lock_ = 0x439fe5c7000001e9, owner_ = 0} #3 0x00000000006b29be in WorldSession::SendPacket (this=0x7f0c23c4d710, packet=0x43800d00) at ../../../MaNGOS-compilable/src/game/WorldSession.cpp:134 cur_time = 1225796821 sendPacketCount = 7654733 sendPacketBytes = 288718542 firstTime = 1225794862 lastTime = 1225796782 sendLastPacketCount = 141932 sendLastPacketBytes = 5420853 #4 0x00000000006b4eaf in WorldSession::SendAuthWaitQue (this=0x7f0c23c4d710, position=7) at ../../../MaNGOS-compilable/src/game/WorldSession.cpp:508 packet = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 5, _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 = 0x7f0c12b50020 "\\033\\a", _M_finish = 0x7f0c12b50025 "", _M_end_of_storage = 0x7f0c12b50025 ""}}, <No data fields>}}, m_opcode = 494} #5 0x00000000006a2917 in World::RemoveQueuedPlayer (this=0x7f0c28006d60, sess=<value optimized out>) at ../../../MaNGOS-compilable/src/game/World.cpp:338 sessions = 137 position = 8 #6 0x00000000006aa6d4 in World::UpdateSessions (this=0x7f0c28006d60, diff=130) at ../../../MaNGOS-compilable/src/game/World.cpp:2481 No locals. #7 0x00000000006adf1f in World::Update (this=0x7f0c28006d60, diff=130) at ../../../MaNGOS-compilable/src/game/World.cpp:1373 No locals. #8 0x00000000004bf3d7 in WorldRunnable::run (this=<value optimized out>) at ../../../MaNGOS-compilable/src/mangosd/WorldRunnable.cpp:59 diff = 1132465408 realCurrTime = 1731141972 realPrevTime = <value optimized out> prevSleepTime = 99 #9 0x0000000000139850 in ZThread::ThreadImpl::Dispatch ( parent=<value optimized out>, impl=0x314b580, task= {<ZThread::CountedPtr<ZThread::Runnable, ZThread::AtomicCount>> = {_count = 0x43801020, _instance = 0x0}, <No data fields>}) at ../../../../MaNGOS-compilable/dep/src/zthread/ThreadImpl.cxx:407 No locals. #10 0x0000000000139d36 in run (this=0x7fff382f9c30) at ../../../../MaNGOS-compilable/dep/src/zthread/ThreadImpl.cxx:49 No locals. #11 0x000000000013ef4e in _dispatch (arg=0x439fe5c7000001e9) at ../../../../MaNGOS-compilable/dep/src/zthread/posix/ThreadOps.cxx:137 __PRETTY_FUNCTION__ = "void* ZThread::_dispatch(void*)" #12 0x0000003d4fc0729a in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #13 0x0000003d4e8e439d in clone () from /lib64/libc.so.6 No symbol table info available. 12 process 6232 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 11 process 6233 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 10 process 6234 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 9 process 6230 0x0000003d4fc07b75 in pthread_join () from /lib64/libpthread.so.0 8 process 6272 0x0000003d4e8a63c1 in nanosleep () from /lib64/libc.so.6 7 process 6273 0x0000003d4e8dcc02 in select () from /lib64/libc.so.6 6 process 6274 0x0000003d4fc0df51 in recv () from /lib64/libpthread.so.0 5 process 6275 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 4 process 6276 0x0000003d4e8e4968 in epoll_wait () from /lib64/libc.so.6 3 process 6277 0x0000003d4e8e4968 in epoll_wait () from /lib64/libc.so.6 2 process 6278 0x0000003d4e8e4968 in epoll_wait () from /lib64/libc.so.6 * 1 process 6271 0x0000003d4fc088aa in pthread_mutex_lock () from /lib64/libpthread.so.0 No symbol table info available. Stack level 0, frame at 0x43800c50: rip = 0x3d4fc088aa in pthread_mutex_lock; saved rip 0x7f0c3005f046 called by frame at 0x43800c60 Arglist at 0x43800c08, args: Locals at 0x43800c08, Previous frame's sp is 0x43800c50 Saved registers: rbx at 0x43800c18, rbp at 0x43800c20, r12 at 0x43800c28, r13 at 0x43800c30, r14 at 0x43800c38, r15 at 0x43800c40, rip at 0x43800c48 No symbol table info available. /me not familiar with ACE internals so can't even suggest what happened nor debug this PS. Forum message limit of 10K chars is bad along with 30 second limit of posting.
  3. Core was generated by `/usr/local/MaNGOS/bin/mangos-worldd -c /usr/local/MaNGOS/etc/mangosd.conf.my -m'. Program terminated with signal 11, Segmentation fault. [New process 4283] [New process 4290] [New process 4289] [New process 4288] [New process 4287] [New process 4286] [New process 4285] [New process 4284] [New process 4240] [New process 4248] [New process 4247] [New process 4246] #0 WorldSocket::iSendPacket (this=0x7f9840923291, pct=@0x43ea5d00) at ../../../MaNGOS-compilable/dep/ACE_wrappers/ace/Message_Block.inl:11 11 return this->data_block_; #0 WorldSocket::iSendPacket (this=0x7f9840923291, pct=@0x43ea5d00) at ../../../MaNGOS-compilable/dep/ACE_wrappers/ace/Message_Block.inl:11 header = {size = 12832, cmd = 16530} #1 0x00000000006b7082 in WorldSocket::SendPacket (this=0x7f9840923291, pct=@0x43ea5d00) at ../../../MaNGOS-compilable/src/game/WorldSocket.cpp:162 Guard = {lock_ = 0x7f9840923479, owner_ = 0} #2 0x00000000006b29be in WorldSession::SendPacket (this=0x7f9840923220, packet=0x43ea5d00) at ../../../MaNGOS-compilable/src/game/WorldSession.cpp:134 cur_time = 1225794787 sendPacketCount = 6281766 sendPacketBytes = 230233018 firstTime = 1225792968 lastTime = 1225794768 sendLastPacketCount = 93391 sendLastPacketBytes = 3358246 #3 0x00000000006b4eaf in WorldSession::SendAuthWaitQue (this=0x7f9840923220, position=5) at ../../../MaNGOS-compilable/src/game/WorldSession.cpp:508 packet = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 5, _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 = 0x7f983faf2f10 "\\033\\005", _M_finish = 0x7f983faf2f15 "", _M_end_of_storage = 0x7f983faf2f15 ""}}, <No data fields>}}, m_opcode = 494} #4 0x00000000006a2917 in World::RemoveQueuedPlayer (this=0xb340d0, sess=<value optimized out>) at ../../../MaNGOS-compilable/src/game/World.cpp:338 sessions = 185 position = 6 #5 0x00000000006aa6d4 in World::UpdateSessions (this=0xb340d0, diff=81) at ../../../MaNGOS-compilable/src/game/World.cpp:2481 No locals. #6 0x00000000006adf1f in World::Update (this=0xb340d0, diff=81) at ../../../MaNGOS-compilable/src/game/World.cpp:1373 No locals. #7 0x00000000004bf3d7 in WorldRunnable::run (this=<value optimized out>) at ../../../MaNGOS-compilable/src/mangosd/WorldRunnable.cpp:59 diff = 5 realCurrTime = 1729108334 realPrevTime = <value optimized out> prevSleepTime = 50 #8 0x0000000000139850 in ZThread::ThreadImpl::Dispatch ( parent=<value optimized out>, impl=0x7f984f5fe1b0, task= {<ZThread::CountedPtr<ZThread::Runnable, ZThread::AtomicCount>> = {_count = 0x43ea6020, _instance = 0x0}, <No data fields>}) at ../../../../MaNGOS-compilable/dep/src/zthread/ThreadImpl.cxx:407 No locals. #9 0x0000000000139d36 in run (this=0x7fff5eec9800) at ../../../../MaNGOS-compilable/dep/src/zthread/ThreadImpl.cxx:49 No locals. #10 0x000000000013ef4e in _dispatch (arg=0x7f9840923291) at ../../../../MaNGOS-compilable/dep/src/zthread/posix/ThreadOps.cxx:137 __PRETTY_FUNCTION__ = "void* ZThread::_dispatch(void*)" #11 0x0000003d4fc0729a in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #12 0x0000003d4e8e439d in clone () from /lib64/libc.so.6 No symbol table info available. 12 process 4246 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 11 process 4247 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 10 process 4248 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 9 process 4240 0x0000003d4fc07b75 in pthread_join () from /lib64/libpthread.so.0 8 process 4284 0x0000003d4e8a63c1 in nanosleep () from /lib64/libc.so.6 7 process 4285 0x0000003d4e8dcc02 in select () from /lib64/libc.so.6 6 process 4286 0x0000003d4fc0df51 in recv () from /lib64/libpthread.so.0 5 process 4287 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 4 process 4288 0x0000003d4e8e4968 in epoll_wait () from /lib64/libc.so.6 3 process 4289 0x0000003d4e8e4968 in epoll_wait () from /lib64/libc.so.6 2 process 4290 0x0000003d4fc0e161 in send () from /lib64/libpthread.so.0 * 1 process 4283 WorldSocket::iSendPacket (this=0x7f9840923291, pct=@0x43ea5d00) at ../../../MaNGOS-compilable/dep/ACE_wrappers/ace/Message_Block.inl:11 header = {size = 12832, cmd = 16530} Stack level 0, frame at 0x43ea5c60: rip = 0x6b63ed in WorldSocket::iSendPacket(WorldPacket const&) (../../../MaNGOS-compilable/dep/ACE_wrappers/ace/Message_Block.inl:11); saved rip 0x6b7082 called by frame at 0x43ea5cb0 source language c++. Arglist at 0x43ea5c28, args: this=0x7f9840923291, pct=@0x43ea5d00 Locals at 0x43ea5c28, Previous frame's sp is 0x43ea5c60 Saved registers: rbx at 0x43ea5c40, rbp at 0x43ea5c48, r12 at 0x43ea5c50, rip at 0x43ea5c58 this = (WorldSocket * const) 0x7f9840923291 pct = (const WorldPacket &) @0x43ea5d00: {<ByteBuffer> = { static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 5, _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 = 0x7f983faf2f10 "\\033\\005", _M_finish = 0x7f983faf2f15 "", _M_end_of_storage = 0x7f983faf2f15 ""}}, <No data fields>}}, m_opcode = 494}
  4. Got plenty of strange crashes in ACE [GIT.20081103-155349]: Core was generated by `/usr/local/MaNGOS/bin/mangos-worldd -c /usr/local/MaNGOS/etc/mangosd.conf.my -m'. Program terminated with signal 11, Segmentation fault. [New process 2259] [New process 2266] [New process 2265] [New process 2264] [New process 2263] [New process 2262] [New process 2261] [New process 2260] [New process 2241] [New process 2245] [New process 2244] [New process 2243] #0 0x0000003d4fc088aa in pthread_mutex_lock () from /lib64/libpthread.so.0 #0 0x0000003d4fc088aa in pthread_mutex_lock () from /lib64/libpthread.so.0 No symbol table info available. #1 0x00007fd03d872046 in ACE_OS::mutex_lock (m=0x6968776574696a3f) at ../../../../MaNGOS-compilable/dep/ACE_wrappers/ace/OS_NS_Thread.cpp:2022 result = <value optimized out> #2 0x00000000006b6ecc in WorldSocket::SendPacket (this=0x6968776574696857, pct=@0x4385dd00) at ../../../MaNGOS-compilable/dep/ACE_wrappers/ace/OS_NS_Thread.inl:3400 Guard = {lock_ = 0x6968776574696a3f, owner_ = 0} #3 0x00000000006b29be in WorldSession::SendPacket (this=0x7fd022dec5a0, packet=0x4385dd00) at ../../../MaNGOS-compilable/src/game/WorldSession.cpp:134 cur_time = 1225791788 sendPacketCount = 3920799 sendPacketBytes = 144056949 firstTime = 1225790794 lastTime = 1225791754 sendLastPacketCount = 178973 sendLastPacketBytes = 6030621 #4 0x00000000006b4eaf in WorldSession::SendAuthWaitQue (this=0x7fd022dec5a0, position=2) at ../../../MaNGOS-compilable/src/game/WorldSession.cpp:508 packet = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 5, _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 = 0x7fd029affdc0 "\\033\\002", _M_finish = 0x7fd029affdc5 "\\177", _M_end_of_storage = 0x7fd029affdc5 "\\177"}}, <No data fields>}}, m_opcode = 494} #5 0x00000000006a2917 in World::RemoveQueuedPlayer (this=0xb340b0, sess=<value optimized out>) at ../../../MaNGOS-compilable/src/game/World.cpp:338 sessions = 159 position = 3 #6 0x00000000006aa6d4 in World::UpdateSessions (this=0xb340b0, diff=87) at ../../../MaNGOS-compilable/src/game/World.cpp:2481 No locals. #7 0x00000000006adf1f in World::Update (this=0xb340b0, diff=87) at ../../../MaNGOS-compilable/src/game/World.cpp:1373 No locals. #8 0x00000000004bf3d7 in WorldRunnable::run (this=<value optimized out>) at ../../../MaNGOS-compilable/src/mangosd/WorldRunnable.cpp:59 diff = 1132846336 realCurrTime = 1726109556 realPrevTime = <value optimized out> prevSleepTime = 44 #9 0x0000000000139850 in ZThread::ThreadImpl::Dispatch ( parent=<value optimized out>, impl=0x7fd0365f0370, task= {<ZThread::CountedPtr<ZThread::Runnable, ZThread::AtomicCount>> = {_count = 0x4385e020, _instance = 0x0}, <No data fields>}) at ../../../../MaNGOS-compilable/dep/src/zthread/ThreadImpl.cxx:407 No locals. #10 0x0000000000139d36 in run (this=0x7fff45b0f440) at ../../../../MaNGOS-compilable/dep/src/zthread/ThreadImpl.cxx:49 No locals. #11 0x000000000013ef4e in _dispatch (arg=0x6968776574696a3f) at ../../../../MaNGOS-compilable/dep/src/zthread/posix/ThreadOps.cxx:137 __PRETTY_FUNCTION__ = "void* ZThread::_dispatch(void*)" #12 0x0000003d4fc0729a in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #13 0x0000003d4e8e439d in clone () from /lib64/libc.so.6 No symbol table info available. 12 process 2243 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 11 process 2244 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 10 process 2245 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 9 process 2241 0x0000003d4fc07b75 in pthread_join () from /lib64/libpthread.so.0 8 process 2260 0x0000003d4e8a63c1 in nanosleep () from /lib64/libc.so.6 7 process 2261 0x0000003d4e8dcc02 in select () from /lib64/libc.so.6 6 process 2262 0x0000003d4fc0df51 in recv () from /lib64/libpthread.so.0 5 process 2263 0x0000003d4fc0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 4 process 2264 0x0000003d4e8e4968 in epoll_wait () from /lib64/libc.so.6 3 process 2265 0x0000003d4e8e4968 in epoll_wait () from /lib64/libc.so.6 2 process 2266 0x0000003d4e8e4968 in epoll_wait () from /lib64/libc.so.6 * 1 process 2259 0x0000003d4fc088aa in pthread_mutex_lock () from /lib64/libpthread.so.0 No symbol table info available. Stack level 0, frame at 0x4385dc50: rip = 0x3d4fc088aa in pthread_mutex_lock; saved rip 0x7fd03d872046 called by frame at 0x4385dc60 Arglist at 0x4385dc08, args: Locals at 0x4385dc08, Previous frame's sp is 0x4385dc50 Saved registers: rbx at 0x4385dc18, rbp at 0x4385dc20, r12 at 0x4385dc28, r13 at 0x4385dc30, r14 at 0x4385dc38, r15 at 0x4385dc40, rip at 0x4385dc48 No symbol table info available.
  5. In the end I have resorted to using simple datetime in automated build system/rev matching (hash is not linear and can not be used to match revisions by < or > qualifiers). It does not give much accuracy but it's suitable until two commits with SQL files included arrive in one second. That has extremely low probability but still not zero.
  6. Nope, env is reapplied at each window opened. Old windows retain old env while new get new.
  7. The only solution is manually incrementing counters by now. Or creating some GIT script (do not know if it possible though) that does the same for each master commit. Thanks for the SVN import It will help temporarily, until a viable replacement for revnumber is found.
  8. Thanks a lot. floop: it's not a matter of 'learning something new'. It's more a matter of losing linear trackability of revisions. SVN offers linear revision numbers, while GIT does not. That's all.
  9. Sure! And that is the thing that makes urgent need for linear revision tracking. Look. I am updating code not by using SVN or GIT 'suggestions'. I took "svn diff -r xxxx:yyyy" and got all diffs I need in incremental order in that way (then analyze these diffs and make the changes accordingly). Now I have to cope with plenty of semi-random hexadecimal revision numbers I simply can't remember. More time needed to get consecutive diffs, more work, more windows on screen (one with the complete revlog is for sure now). Scripted compile system is very unhappy, too. It can't even match SD2 with MaNGOS rev and retrieve needed updates. When developing, patch revisions now need to be renamed from "no_queue_avoid_6748" to "no_queue_avoid_*nonlinear_untrackable_crap_there*" and be messed while tracked. More hand work again. Crap. Sorry for a bit of offense here. I'm using an automated build system for developing/debugging/testing and am horrored white by the mess introduced in revision tracking. I see that GIT is better from branching view, but there is something that must be done POLITICALLY (including updated "core_revision.h" with each core devs commit still seems to be the best way) instead of technically and everyone will be happy again.
  10. Speed is not all that matters Having no revision numbers is a complete mess of things. I don't even imagine how to track inter-project (UDB/SD2) changes internally, have to redo working-for-months build/update system from scratch now.
  11. I'm still here (registered a new profile, old Alex/AT profile is dead because old forum had old e-mail specified), but in the meanwhile will stick to debugging TCore until situation around GIT resolves. No easy possibility of revision number tracking in GIT is a very bad thing. Maybe will work it around using local GIT->SVN translation, but that takes time.
×
×
  • 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