View Issue Details

IDProjectCategoryView StatusLast Update
0002324Spring engineGeneralpublic2011-02-04 16:28
ReporterLicho Assigned ToKloot  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.82.7.1 
Fixed in Version0.82.7+git 
Summary0002324: Synced freeze somewhere in CommandAI
DescriptionHappend to many people in game at same time

Rejoining causes same freeze to happen to all players
Additional Informationsee attached infolog.txt
TagsNo tags attached.
Attached Files
20110126_023215_unnamed_0.82.7.sdf (Attachment missing)
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

abma

2011-02-04 02:04

administrator   ~0006339

replay hangs as well:

(gdb) thread apply all bt full

Thread 5 (Thread 0x7fffe972a700 (LWP 16835)):
#0 0x00007ffff793711d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1 0x00007ffff7b9d194 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2 0x0000000000748c7a in CGameServer::UpdateLoop (this=0x7fffe402b520) at /home/abma/dev/spring/stable/rts/Game/GameServer.cpp:2039
        scoped_lock = {m = 0x7fffe402b6d0, is_locked = true}
0000003 0x0000000000777e89 in boost::_mfi::mf0<void, CGameServer>::operator() (this=0x7fffe40244f8, p=0x7fffe402b520) at /usr/include/boost/bind/mem_fn_template.hpp:49
No locals.
0000004 0x0000000000777de6 in boost::_bi::list1<boost::_bi::value<CGameServer*> >::operator()<boost::_mfi::mf0<void, CGameServer>, boost::_bi::list0> (this=0x7fffe4024508, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:246
No locals.
0000005 0x0000000000777d4b in boost::_bi::bind_t<void, boost::_mfi::mf0<void, CGameServer>, boost::_bi::list1<boost::_bi::value<CGameServer*> > >::operator() (this=0x7fffe40244f8)
    at /usr/include/boost/bind/bind_template.hpp:20
        a = {<No data fields>}
#6 0x0000000000776f20 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CGameServer>, boost::_bi::list1<boost::_bi::value<CGameServer*> > > >::run (this=0x7fffe40243f0)
    at /usr/include/boost/thread/detail/thread.hpp:56
No locals.
#7 0x00007ffff625db70 in thread_proxy () from /usr/lib/libboost_thread.so.1.40.0
No symbol table info available.
#8 0x00007ffff792e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffe972a700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737109993216, 2058286348915675389, 8388608, 140737109993920, 0, 0, -2058335922521927427, -2058303760391368451}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#9 0x00007ffff470970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
0000010 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 0x7fffe9f2b700 (LWP 16834)):
#0 0x00007ffff46fcf93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
        _a3 = -1
        _a1 = 30899296
        resultvar = <value optimized out>
        _a2 = 2
        oldtype = 0
        result = <value optimized out>
#1 0x00007ffff420a41f in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#2 0x00007ffff41f9d86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
0000003 0x00007ffff41fb809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
0000004 0x00007ffff41fb8c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
0000005 0x00007ffff420a21b in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#6 0x00007ffff05e40e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
No symbol table info available.
#7 0x00007ffff792e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffe9f2b700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737118385920, 2058286348915675389, 8388608, 140737118386624, 0, 0, -2058334823547170563, -2058303760391368451}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
---Type <return> to continue, or q <return> to quit---
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8 0x00007ffff470970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#9 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 0x7fffea7bd700 (LWP 16833)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
No locals.
#1 0x00007ffff625f49c in boost::this_thread::sleep(boost::posix_time::ptime const&) () from /usr/lib/libboost_thread.so.1.40.0
No symbol table info available.
#2 0x0000000000e8cb7a in boost::this_thread::sleep<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> > (rel_time=...) at /usr/include/boost/thread/pthread/thread_data.hpp:111
No locals.
0000003 0x0000000000e8989f in CSound::StartThread (this=0x1d77ca0, maxSounds=32) at /home/abma/dev/spring/stable/rts/System/Sound/Sound.cpp:371
        curcontext = 0x7ffff7de7722
        curdevice = 0xe0d19b82
0000004 0x0000000000e92d69 in boost::_mfi::mf1<void, CSound, int>::operator() (this=0x1d64198, p=0x1d77ca0, a1=32) at /usr/include/boost/bind/mem_fn_template.hpp:162
No locals.
0000005 0x0000000000e92cb1 in boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> >::operator()<boost::_mfi::mf1<void, CSound, int>, boost::_bi::list0> (this=0x1d641a8, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:306
No locals.
#6 0x0000000000e92c3f in boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > >::operator() (this=0x1d64198)
    at /usr/include/boost/bind/bind_template.hpp:20
        a = {<No data fields>}
#7 0x0000000000e92a38 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >::run (
    this=0x1d64090) at /usr/include/boost/thread/detail/thread.hpp:56
No locals.
#8 0x00007ffff625db70 in thread_proxy () from /usr/lib/libboost_thread.so.1.40.0
No symbol table info available.
#9 0x00007ffff792e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffea7bd700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737127372544, 2058286348915675389, 8388608, 140737127373248, 0, 0, -2058333660684775171, -2058303760391368451}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
0000010 0x00007ffff470970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#11 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 0x7fffed659700 (LWP 16832)):
#0 0x00007ffff793711d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1 0x00007ffff7b9d194 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2 0x00007ffff7b9d1d2 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
0000003 0x00007ffff7b55695 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
0000004 0x00007ffff7b9ae09 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
0000005 0x00007ffff792e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffed659700
---Type <return> to continue, or q <return> to quit---
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737176246016, 2058286348915675389, 8388608, 140737176246720, 0, 0, -2058327220381314819, -2058303760391368451}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6 0x00007ffff470970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#7 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7fffee813780 (LWP 16831)):
#0 0x00000000008491bb in std::deque<Command, std::allocator<Command> >::begin (this=0x7fffe793a3d0) at /usr/include/c++/4.4/bits/stl_deque.h:900
No locals.
#1 0x0000000000c696ec in CCommandQueue::begin (this=0x7fffe793a398) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/CommandQueue.h:90
No locals.
#2 0x0000000000cf39f0 in CFactoryCAI::RemoveBuildCommand (this=0x7fffe793a350, it=...) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/FactoryCAI.cpp:317
        cmd = @0x12a36470
        boi = {_M_node = 0x7fffe793a4c0}
0000003 0x0000000000ce8066 in CCommandAI::ExecuteRemove (this=0x7fffe793a350, c=...) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/CommandAI.cpp:990
        qc = @0x12a36470
        removeValue = 165
        ci = {_M_cur = 0x12a36470, _M_first = 0x12a36330, _M_last = 0x12a36510, _M_node = 0x7fffc0d68058}
        p = 0
        prevRepeat = true
        queue = 0x7fffe793a398
        facBuildQueue = true
        active = false
        facCAI = 0x7fffe793a350
0000004 0x0000000000ce6d81 in CCommandAI::GiveAllowedCommand (this=0x7fffe793a350, c=..., fromSynced=true) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/CommandAI.cpp:691
        first = false
0000005 0x0000000000cf3082 in CFactoryCAI::GiveCommandReal (this=0x7fffe793a350, c=..., fromSynced=false) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/FactoryCAI.cpp:176
        boi = {_M_node = 0x7fffe793a4c0}
        bo = @0x8d9966
        numItems = 1
#6 0x0000000000ce6562 in CCommandAI::GiveCommand (this=0x7fffe793a350, c=..., fromSynced=false) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/CommandAI.cpp:535
No locals.
#7 0x000000000077ead8 in CSelectedUnits::AiOrder (this=0x13dcde0, unitid=17758, c=..., playerID=12) at /home/abma/dev/spring/stable/rts/Game/SelectedUnits.cpp:487
        unit = 0x7fffe6268cd0
        player = 0x7fffe4004410
#8 0x00000000007d5e0b in CGame::ClientReadNet (this=0x7fffe4239080) at /home/abma/dev/spring/stable/rts/Game/Game.cpp:4078
        pckt = {pckt = {px = 0x7fffe7409a50, pn = {pi_ = 0x7fffe6cc7ea0}}, pos = 15}
        psize = 15
        c = {static binder = {class_ = 0x1942100, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1419e40, name = 0xf56f7f "Command", size = 40,
            constructor = 0xcf816e <Command::_ConstructInstance(void*)>, destructor = 0xcf81d6 <Command::_DestructInstance(void*)>, nextBinder = 0x1419f40}, static memberRegistrator = 0x1419f08, id = 2,
          options = 64 '@', params = {<std::_Vector_base<float, std::allocator<float> >> = {_M_impl = {<std::allocator<float>> = {<__gnu_cxx::new_allocator<float>> = {<No data fields>}, <No data fields>},
                _M_start = 0x7fffc000d230, _M_finish = 0x7fffc000d234, _M_end_of_storage = 0x7fffc000d234}}, <No data fields>}, tag = 0, timeOut = 2147483647}
        player = 12 '\f'
        unitid = 17758
        inbuf = 0x7fffe6a83010 "\016\017"
        dataLength = 15
        packetCode = 14 '\016'
        packet = {px = 0x7fffe7409a50, pn = {pi_ = 0x7fffe6cc7ea0}}
        procstarttime = 237700
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
#9 0x00000000007cf602 in CGame::Update (this=0x7fffe4239080) at /home/abma/dev/spring/stable/rts/Game/Game.cpp:2832
        timeNow = 237700
        difTime = 564
        dif = 0.56400001
0000010 0x0000000000d7aa8f in SpringApp::Update (this=0x7fffffffe630) at /home/abma/dev/spring/stable/rts/System/SpringApp.cpp:1051
---Type <return> to continue, or q <return> to quit---
        ret = 1
#11 0x0000000000d7ae4d in SpringApp::Run (this=0x7fffffffe630, argc=2, argv=0x7fffffffe7a8) at /home/abma/dev/spring/stable/rts/System/SpringApp.cpp:1182
No locals.
0000012 0x0000000000d7f723 in Run (argc=2, argv=0x7fffffffe7a8) at /home/abma/dev/spring/stable/rts/System/Main.cpp:55
        app = {cmdline = 0x193e320, screenWidth = 1680, screenHeight = 1000, windowPosX = 0, windowPosY = 49, windowState = 6, FSAA = false, depthBufferBits = true, lastRequiredDraw = 21796}
0000013 0x0000000000d7f87b in main (argc=2, argv=0x7fffffffe7a8) at /home/abma/dev/spring/stable/rts/System/Main.cpp:90
No locals.

abma

2011-02-04 02:05

administrator   ~0006340

a second stacktrace:

(gdb) thread apply all bt full

Thread 5 (Thread 0x7fffe972a700 (LWP 16835)):
#0 0x00000000007571db in std::_Rb_tree<int, std::pair<int const, unsigned int>, std::_Select1st<std::pair<int const, unsigned int> >, std::less<int>, std::allocator<std::pair<int const, unsigned int> > >::find (this=0x7fffe4027310, __k=@0x7fffc13124a8) at /usr/include/c++/4.4/bits/stl_tree.h:1424
        __j = {_M_node = 0x7fffe4027318}
#1 0x0000000000752001 in std::map<int, unsigned int, std::less<int>, std::allocator<std::pair<int const, unsigned int> > >::find (this=0x7fffe4027310, __x=@0x7fffc13124a8)
    at /usr/include/c++/4.4/bits/stl_map.h:659
No locals.
#2 0x000000000073c676 in CGameServer::CheckSync (this=0x7fffe402b520) at /home/abma/dev/spring/stable/rts/Game/GameServer.cpp:524
        it = {_M_node = 0x7fffe4027318}
        a = 16
        correctChecksum = 0
        bGotCorrectChecksum = false
        desyncGroups = {_M_t = {
            _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<unsigned int const, std::vector<int, std::allocator<int> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, std::vector<int, std::allocator<int> > > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<unsigned int, unsigned int, bool>> = {<No data fields>}, <No data fields>},
              _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffe9729648, _M_right = 0x7fffe9729648}, _M_node_count = 0}}}
        bComplete = true
        noSyncResponse = {<std::_Vector_base<int, std::allocator<int> >> = {_M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
              _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}
        desyncSpecs = {_M_t = {
            _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<int const, unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, unsigned int> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<int, int, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffe9729618,
                _M_right = 0x7fffe9729618}, _M_node_count = 0}}}
        f = {_M_cur = 0x7fffc13124a8, _M_first = 0x7fffc1312390, _M_last = 0x7fffc1312590, _M_node = 0x7fffe402add0}
0000003 0x00000000007485ad in CGameServer::CreateNewFrame (this=0x7fffe402b520, fromServerThread=true, fixedFrameTime=false) at /home/abma/dev/spring/stable/rts/Game/GameServer.cpp:1954
        videoFrame = false
        singleStep = false
        newFrames = 61972
        rec = false
        normalFrame = false
        __PRETTY_FUNCTION__ = "void CGameServer::CreateNewFrame(bool, bool)"
0000004 0x000000000073dd1d in CGameServer::Update (this=0x7fffe402b520) at /home/abma/dev/spring/stable/rts/Game/GameServer.cpp:703
        tdif = 0.0100000007
0000005 0x0000000000748ce3 in CGameServer::UpdateLoop (this=0x7fffe402b520) at /home/abma/dev/spring/stable/rts/Game/GameServer.cpp:2046
        scoped_lock = {m = 0x7fffe402b6d0, is_locked = true}
#6 0x0000000000777e89 in boost::_mfi::mf0<void, CGameServer>::operator() (this=0x7fffe40244f8, p=0x7fffe402b520) at /usr/include/boost/bind/mem_fn_template.hpp:49
No locals.
#7 0x0000000000777de6 in boost::_bi::list1<boost::_bi::value<CGameServer*> >::operator()<boost::_mfi::mf0<void, CGameServer>, boost::_bi::list0> (this=0x7fffe4024508, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:246
No locals.
#8 0x0000000000777d4b in boost::_bi::bind_t<void, boost::_mfi::mf0<void, CGameServer>, boost::_bi::list1<boost::_bi::value<CGameServer*> > >::operator() (this=0x7fffe40244f8)
    at /usr/include/boost/bind/bind_template.hpp:20
        a = {<No data fields>}
#9 0x0000000000776f20 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CGameServer>, boost::_bi::list1<boost::_bi::value<CGameServer*> > > >::run (this=0x7fffe40243f0)
    at /usr/include/boost/thread/detail/thread.hpp:56
No locals.
0000010 0x00007ffff625db70 in thread_proxy () from /usr/lib/libboost_thread.so.1.40.0
No symbol table info available.
#11 0x00007ffff792e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffe972a700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737109993216, 2058286348915675389, 8388608, 140737109993920, 0, 0, -2058335922521927427, -2058303760391368451}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
0000012 0x00007ffff470970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
---Type <return> to continue, or q <return> to quit---
0000013 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 0x7fffe9f2b700 (LWP 16834)):
#0 0x00007ffff46fcf93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
        _a3 = -1
        _a1 = 30899296
        resultvar = <value optimized out>
        _a2 = 2
        oldtype = 0
        result = <value optimized out>
#1 0x00007ffff420a41f in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#2 0x00007ffff41f9d86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
0000003 0x00007ffff41fb809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
0000004 0x00007ffff41fb8c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
0000005 0x00007ffff420a21b in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#6 0x00007ffff05e40e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
No symbol table info available.
#7 0x00007ffff792e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffe9f2b700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737118385920, 2058286348915675389, 8388608, 140737118386624, 0, 0, -2058334823547170563, -2058303760391368451}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8 0x00007ffff470970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#9 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 0x7fffea7bd700 (LWP 16833)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
No locals.
#1 0x00007ffff625f49c in boost::this_thread::sleep(boost::posix_time::ptime const&) () from /usr/lib/libboost_thread.so.1.40.0
No symbol table info available.
#2 0x0000000000e8cb7a in boost::this_thread::sleep<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> > (rel_time=...) at /usr/include/boost/thread/pthread/thread_data.hpp:111
No locals.
0000003 0x0000000000e8989f in CSound::StartThread (this=0x1d77ca0, maxSounds=32) at /home/abma/dev/spring/stable/rts/System/Sound/Sound.cpp:371
        curcontext = 0x7ffff7de7722
        curdevice = 0xe0d19b82
0000004 0x0000000000e92d69 in boost::_mfi::mf1<void, CSound, int>::operator() (this=0x1d64198, p=0x1d77ca0, a1=32) at /usr/include/boost/bind/mem_fn_template.hpp:162
No locals.
0000005 0x0000000000e92cb1 in boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> >::operator()<boost::_mfi::mf1<void, CSound, int>, boost::_bi::list0> (this=0x1d641a8, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:306
No locals.
#6 0x0000000000e92c3f in boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > >::operator() (this=0x1d64198)
    at /usr/include/boost/bind/bind_template.hpp:20
        a = {<No data fields>}
#7 0x0000000000e92a38 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >::run (
    this=0x1d64090) at /usr/include/boost/thread/detail/thread.hpp:56
No locals.
#8 0x00007ffff625db70 in thread_proxy () from /usr/lib/libboost_thread.so.1.40.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#9 0x00007ffff792e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffea7bd700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737127372544, 2058286348915675389, 8388608, 140737127373248, 0, 0, -2058333660684775171, -2058303760391368451}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
0000010 0x00007ffff470970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#11 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 0x7fffed659700 (LWP 16832)):
#0 0x00007ffff793711d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1 0x00007ffff7b9d194 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2 0x00007ffff7b9d1d2 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
0000003 0x00007ffff7b55695 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
0000004 0x00007ffff7b9ae09 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
0000005 0x00007ffff792e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
        __res = <value optimized out>
        pd = 0x7fffed659700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737176246016, 2058286348915675389, 8388608, 140737176246720, 0, 0, -2058327220381314819, -2058303760391368451}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6 0x00007ffff470970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#7 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7fffee813780 (LWP 16831)):
#0 0x0000000000cf39f0 in CFactoryCAI::RemoveBuildCommand (this=0x7fffe793a350, it=...) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/FactoryCAI.cpp:317
        cmd = @0x12a36470
        boi = {_M_node = 0x7fffe793a4c0}
#1 0x0000000000ce8066 in CCommandAI::ExecuteRemove (this=0x7fffe793a350, c=...) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/CommandAI.cpp:990
        qc = @0x12a36470
        removeValue = 165
        ci = {_M_cur = 0x12a36470, _M_first = 0x12a36330, _M_last = 0x12a36510, _M_node = 0x7fffc0d68058}
        p = 0
        prevRepeat = true
        queue = 0x7fffe793a398
        facBuildQueue = true
        active = false
        facCAI = 0x7fffe793a350
#2 0x0000000000ce6d81 in CCommandAI::GiveAllowedCommand (this=0x7fffe793a350, c=..., fromSynced=true) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/CommandAI.cpp:691
        first = false
0000003 0x0000000000cf3082 in CFactoryCAI::GiveCommandReal (this=0x7fffe793a350, c=..., fromSynced=false) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/FactoryCAI.cpp:176
        boi = {_M_node = 0x7fffe793a4c0}
        bo = @0x8d9966
        numItems = 1
0000004 0x0000000000ce6562 in CCommandAI::GiveCommand (this=0x7fffe793a350, c=..., fromSynced=false) at /home/abma/dev/spring/stable/rts/Sim/Units/CommandAI/CommandAI.cpp:535
---Type <return> to continue, or q <return> to quit---
No locals.
0000005 0x000000000077ead8 in CSelectedUnits::AiOrder (this=0x13dcde0, unitid=17758, c=..., playerID=12) at /home/abma/dev/spring/stable/rts/Game/SelectedUnits.cpp:487
        unit = 0x7fffe6268cd0
        player = 0x7fffe4004410
#6 0x00000000007d5e0b in CGame::ClientReadNet (this=0x7fffe4239080) at /home/abma/dev/spring/stable/rts/Game/Game.cpp:4078
        pckt = {pckt = {px = 0x7fffe7409a50, pn = {pi_ = 0x7fffe6cc7ea0}}, pos = 15}
        psize = 15
        c = {static binder = {class_ = 0x1942100, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1419e40, name = 0xf56f7f "Command", size = 40,
            constructor = 0xcf816e <Command::_ConstructInstance(void*)>, destructor = 0xcf81d6 <Command::_DestructInstance(void*)>, nextBinder = 0x1419f40}, static memberRegistrator = 0x1419f08, id = 2,
          options = 64 '@', params = {<std::_Vector_base<float, std::allocator<float> >> = {_M_impl = {<std::allocator<float>> = {<__gnu_cxx::new_allocator<float>> = {<No data fields>}, <No data fields>},
                _M_start = 0x7fffc000d230, _M_finish = 0x7fffc000d234, _M_end_of_storage = 0x7fffc000d234}}, <No data fields>}, tag = 0, timeOut = 2147483647}
        player = 12 '\f'
        unitid = 17758
        inbuf = 0x7fffe6a83010 "\016\017"
        dataLength = 15
        packetCode = 14 '\016'
        packet = {px = 0x7fffe7409a50, pn = {pi_ = 0x7fffe6cc7ea0}}
        procstarttime = 237700
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
#7 0x00000000007cf602 in CGame::Update (this=0x7fffe4239080) at /home/abma/dev/spring/stable/rts/Game/Game.cpp:2832
        timeNow = 237700
        difTime = 564
        dif = 0.56400001
#8 0x0000000000d7aa8f in SpringApp::Update (this=0x7fffffffe630) at /home/abma/dev/spring/stable/rts/System/SpringApp.cpp:1051
        ret = 1
#9 0x0000000000d7ae4d in SpringApp::Run (this=0x7fffffffe630, argc=2, argv=0x7fffffffe7a8) at /home/abma/dev/spring/stable/rts/System/SpringApp.cpp:1182
No locals.
0000010 0x0000000000d7f723 in Run (argc=2, argv=0x7fffffffe7a8) at /home/abma/dev/spring/stable/rts/System/Main.cpp:55
        app = {cmdline = 0x193e320, screenWidth = 1680, screenHeight = 1000, windowPosX = 0, windowPosY = 49, windowState = 6, FSAA = false, depthBufferBits = true, lastRequiredDraw = 21796}
#11 0x0000000000d7f87b in main (argc=2, argv=0x7fffffffe7a8) at /home/abma/dev/spring/stable/rts/System/Main.cpp:90

Kloot

2011-02-04 16:28

developer   ~0006343

At 0K everything is supposed to freeze, this was a feature.

298c3975

Issue History

Date Modified Username Field Change
2011-01-26 02:55 Licho New Issue
2011-01-26 02:55 Licho File Added: 20110126_023215_unnamed_0.82.7.sdf
2011-01-26 21:52 abma File Added: infolog.txt
2011-01-26 21:53 abma Additional Information Updated
2011-02-04 02:04 abma Note Added: 0006339
2011-02-04 02:05 abma Note Added: 0006340
2011-02-04 12:50 abma Summary Synced freeze => Synced freeze somewhere in CommandAI
2011-02-04 16:03 Kloot Status new => assigned
2011-02-04 16:03 Kloot Assigned To => Kloot
2011-02-04 16:28 Kloot Note Added: 0006343
2011-02-04 16:28 Kloot Status assigned => resolved
2011-02-04 16:28 Kloot Fixed in Version => 0.82.7+git
2011-02-04 16:28 Kloot Resolution open => fixed