Attached Files | data_race_yoututn.txt [^] (2,991 bytes) 2016-09-14 22:22 [Show Content] [Hide Content]
Entering virtual void VCAI::yourTurn().
==13292== ----------------------------------------------------------------
==13292==
==13292== Lock at 0x1C4138D0 was first observed
==13292== at 0x4C360BA: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==13292== by 0x9B5B1C: boost::recursive_mutex::recursive_mutex() (recursive_mutex.hpp:79)
==13292== by 0x56BBE9: __cxx_global_var_init.10 (CPlayerInterface.cpp:81)
==13292== by 0x56BCA0: _GLOBAL__sub_I_CPlayerInterface.cpp (in /home/i/VCMI/mine/vcmi-build-relwithdbg-nolauncher/client/vcmiclient)
==13292== by 0xAB37AC: __libc_csu_init (in /home/i/VCMI/mine/vcmi-build-relwithdbg-nolauncher/client/vcmiclient)
==13292== by 0xAE0F7BE: (below main) (libc-start.c:247)
==13292== Address 0x1c4138d0 is 0 bytes inside a block of size 40 alloc'd
==13292== at 0x4C2F50F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==13292== by 0x56BBD3: __cxx_global_var_init.10 (CPlayerInterface.cpp:81)
==13292== by 0x56BCA0: _GLOBAL__sub_I_CPlayerInterface.cpp (in /home/i/VCMI/mine/vcmi-build-relwithdbg-nolauncher/client/vcmiclient)
==13292== by 0xAB37AC: __libc_csu_init (in /home/i/VCMI/mine/vcmi-build-relwithdbg-nolauncher/client/vcmiclient)
==13292== by 0xAE0F7BE: (below main) (libc-start.c:247)
==13292== Block was alloc'd by thread #1
==13292==
==13292== Possible data race during write of size 1 at 0x345C166F by thread #9
==13292== Locks held: 1, at address 0x1C4138D0
==13292== at 0x4C3A3CC: mempcpy (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==13292== by 0x401357F: _dl_allocate_tls_init (dl-tls.c:515)
==13292== by 0x7451D2D: get_cached_stack (allocatestack.c:254)
==13292== by 0x7451D2D: allocate_stack (allocatestack.c:501)
==13292== by 0x7451D2D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:539)
==13292== by 0x4C34BB7: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==13292== by 0x6E2A2E8: boost::thread::start_thread_noexcept() (in /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0)
==13292== by 0x5D29E4: boost::thread::start_thread() (thread.hpp:179)
==13292== by 0x3D06BD1E: boost::thread::thread<void (VCAI::*)(), VCAI*>(void (VCAI::*)(), VCAI*, boost::disable_if<boost::thread_detail::is_convertible<void (VCAI::*&)(), boost::thread_attributes>, boost::thread::dummy*>::type) (thread.hpp:392)
==13292== by 0x3D039AA3: std::unique_ptr<boost::thread, std::default_delete<boost::thread> > vstd::make_unique<boost::thread, void (VCAI::*)(), VCAI*>(void (VCAI::*&&)(), VCAI*&&) (Global.h:475)
==13292== by 0x3D0125E2: VCAI::yourTurn() (VCAI.cpp:589)
==13292== by 0xAA9FA2: YourTurn::applyCl(CClient*) (NetPacksClient.cpp:802)
==13292== by 0x7EB318: CApplyOnCL<YourTurn>::applyOnClAfter(CClient*, void*) const (Client.cpp:77)
==13292== by 0x7C3A67: CClient::handlePack(CPack*) (Client.cpp:664)
==13292== Address 0x345c166f is in a rw- anonymous segment
==13292==
|