James Clampffer created HDFS-9452:
-------------------------------------

             Summary: libhdfs++ Fix memory stomp in OpenFileForRead.
                 Key: HDFS-9452
                 URL: https://issues.apache.org/jira/browse/HDFS-9452
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: James Clampffer
            Assignee: James Clampffer


Running a simple test that opens and closes a file in many threads will fail 
under valgrind with an invalid write of size 8.

It looks like the stack is unwinding in the calling thread before the callback 
invoked by asio in OpenFileForRead can set the input_stream pointer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to