[fibers] Great amount of errors and warnings raising out of valgrind
Hello all,
I was just in the process of doing vagrind runs on a server process that
recently switched to an architecture using boost fibers. Specifically
buffered_channel as a number of worker fibers run in a thread.
The process was regularily checked with valgrind before but now I'm getting
overwhelmed by the amount of messages. Uninitialized values, invalid writes
and reads all across the board and all seem to come out of fibers. I see no
direct mention of my code.
A few samples:
==8024== Thread 1:
==8024== Conditional jump or move depends on uninitialised value(s)
==8024== at 0x454F98: unique (circular_list_algorithms.hpp:112)
==8024== by 0x454F98: empty (list.hpp:540)
==8024== by 0x454F98: boost::fibers::buffered_channel
fiber swapping stacks - take a look at the docu for valgrind + fibers: https://www.boost.org/doc/libs/1_69_0/libs/context/doc/html/context/stack/va... https://www.boost.org/doc/libs/1_69_0/libs/fiber/doc/html/fiber/stack/valgri...
Hi Oliver, On Tue, Mar 26, 2019 at 10:28 AM Oliver Kowalke via Boost < boost@lists.boost.org> wrote:
fiber swapping stacks - take a look at the docu for valgrind + fibers:
https://www.boost.org/doc/libs/1_69_0/libs/context/doc/html/context/stack/va...
https://www.boost.org/doc/libs/1_69_0/libs/fiber/doc/html/fiber/stack/valgri...
Oh, I see. Pleasantly surprised. I did not expect any docs in the world to have that fringe case covered. Thanks and sorry for the noise. Stephan
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Oliver Kowalke
-
Stephan Menzel