Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SGIO.h :
- ----------------------------------------------------------------
- ==8703==
- ==8703== Possible data race during write of size 4 at 0xB6DC210 by thread #17
- ==8703== Locks held: none
- ==8703== at 0x54F1AFB: shogun::Parameter::Parameter() (SGIO.h:510)
- ==8703== by 0x54E345C: shogun::CSGObject::init() (SGObject.cpp:1070)
- ==8703== by 0x54E358A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
- ==8703== by 0x5A454B6: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (DynamicArray.h:49)
- ==8703== by 0x5BF87D4: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
- ==8703== by 0x4C2F8BD: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==8703== by 0x8CB2F8D: start_thread (pthread_create.c:311)
- ==8703== by 0x6DC1E1C: clone (clone.S:113)
- ==8703==
- ==8703== This conflicts with a previous write of size 4 by thread #16
- ==8703== Locks held: none
- ==8703== at 0x54E2D8C: shogun::CSGObject::unset_global_objects() (SGIO.h:530)
- ==8703== by 0x54E2DEB: shogun::CSGObject::~CSGObject() (SGObject.cpp:139)
- ==8703== by 0x52892A7: shogun::CDynamicArray<int>::~CDynamicArray() (DynamicArray.h:131)
- ==8703== by 0x54E2BC3: shogun::CSGObject::unref() (SGObject.cpp:173)
- ==8703== by 0x5A45F70: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:166)
- ==8703== by 0x5BF87D4: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
- ==8703== by 0x4C2F8BD: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==8703== by 0x8CB2F8D: start_thread (pthread_create.c:311)
- ==8703==
- ==8703== Address 0xB6DC210 is 48 bytes inside a block of size 56 alloc'd
- ==8703== at 0x4C2CE2B: malloc (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==8703== by 0x58AF2A3: operator new(unsigned long) (memory.cpp:92)
- ==8703== by 0x54E8769: shogun::init_shogun(void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(bool&, bool&)) (init.cpp:50)
- ==8703== by 0x40300E: main (in /home/user/ld)
- Parallel :
- ==8703== Possible data race during read of size 4 at 0xB6DC268 by thread #25
- ==8703== Locks held: none
- ==8703== at 0x54F5E60: shogun::Parallel::ref() (Parallel.cpp:65)
- ==8703== by 0x54E2CC2: shogun::CSGObject::set_global_objects() (SGObject.cpp:195)
- ==8703== by 0x54E3592: shogun::CSGObject::CSGObject() (SGObject.cpp:123)
- ==8703== by 0x5A454B6: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (DynamicArray.h:49)
- ==8703== by 0x5BF87D4: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
- ==8703== by 0x4C2F8BD: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==8703== by 0x8CB2F8D: start_thread (pthread_create.c:311)
- ==8703== by 0x6DC1E1C: clone (clone.S:113)
- ==8703==
- ==8703== This conflicts with a previous write of size 4 by thread #24
- ==8703== Locks held: none
- ==8703== at 0x54F5EAF: shogun::Parallel::unref() (Parallel.cpp:76)
- ==8703== by 0x54E2D63: shogun::CSGObject::unset_global_objects() (SGObject.cpp:206)
- ==8703== by 0x54E2DEB: shogun::CSGObject::~CSGObject() (SGObject.cpp:139)
- ==8703== by 0x52892A7: shogun::CDynamicArray<int>::~CDynamicArray() (DynamicArray.h:131)
- ==8703== by 0x54E2BC3: shogun::CSGObject::unref() (SGObject.cpp:173)
- ==8703== by 0x5A45F70: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:166)
- ==8703== by 0x5BF87D4: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
- ==8703== by 0x4C2F8BD: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==8703==
- ==8703== Address 0xB6DC268 is 8 bytes inside a block of size 16 alloc'd
- ==8703== at 0x4C2CE2B: malloc (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==8703== by 0x58AF2A3: operator new(unsigned long) (memory.cpp:92)
- ==8703== by 0x54E8789: shogun::init_shogun(void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(bool&, bool&)) (init.cpp:52)
- ==8703== by 0x40300E: main (in /home/user/ld)
- Version:
- Possible data race during write of size 4 at 0xB6DC2B8 by thread #3
- ==8703== Locks held: none
- ==8703== at 0x54E8FAF: shogun::Version::unref() (Version.cpp:116)
- ==8703== by 0x54E2D51: shogun::CSGObject::unset_global_objects() (SGObject.cpp:205)
- ==8703== by 0x54E2DEB: shogun::CSGObject::~CSGObject() (SGObject.cpp:139)
- ==8703== by 0x52892A7: shogun::CDynamicArray<int>::~CDynamicArray() (DynamicArray.h:131)
- ==8703== by 0x54E2BC3: shogun::CSGObject::unref() (SGObject.cpp:173)
- ==8703== by 0x5A45F70: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:166)
- ==8703== by 0x5BF87D4: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
- ==8703== by 0x4C2F8BD: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==8703== by 0x8CB2F8D: start_thread (pthread_create.c:311)
- ==8703== by 0x6DC1E1C: clone (clone.S:113)
- ==8703==
- ==8703== This conflicts with a previous write of size 4 by thread #2
- ==8703== Locks held: none
- ==8703== at 0x54E8FAF: shogun::Version::unref() (Version.cpp:116)
- ==8703== by 0x54E2D51: shogun::CSGObject::unset_global_objects() (SGObject.cpp:205)
- ==8703== by 0x54E2DEB: shogun::CSGObject::~CSGObject() (SGObject.cpp:139)
- ==8703== by 0x52892A7: shogun::CDynamicArray<int>::~CDynamicArray() (DynamicArray.h:131)
- ==8703== by 0x54E2BC3: shogun::CSGObject::unref() (SGObject.cpp:173)
- ==8703== by 0x5A45F70: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:166)
- ==8703== by 0x5BF87D4: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
- ==8703== by 0x4C2F8BD: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==8703==
- ==8703== Address 0xB6DC2B8 is 8 bytes inside a block of size 16 alloc'd
- ==8703== at 0x4C2CE2B: malloc (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==8703== by 0x58AF2A3: operator new(unsigned long) (memory.cpp:92)
- ==8703== by 0x54E87B1: shogun::init_shogun(void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(bool&, bool&)) (init.cpp:54)
- ==8703== by 0x40300E: main (in /home/user/ld)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement