[ 
https://issues.apache.org/jira/browse/HDFS-9452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15024662#comment-15024662
 ] 

James Clampffer commented on HDFS-9452:
---------------------------------------

Good point Bob, I'll get another patch up soon that does this.

> 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
>
>
> 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