[ https://issues.apache.org/jira/browse/HDFS-9452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027329#comment-15027329 ]
Bob Hansen commented on HDFS-9452: ---------------------------------- +1 If we want to extract all the elements at once, std::tie is a nice little affordance. > 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 > Components: hdfs-client > Reporter: James Clampffer > Assignee: James Clampffer > Attachments: HDFS-9452.HDFS-8707.000.patch, > HDFS-9452.HDFS-8707.001.patch > > > 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)