You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jojy Varghese (JIRA)" <ji...@apache.org> on 2015/10/23 21:44:27 UTC

[jira] [Created] (MESOS-3798) io::write(fd, const string&) api writes junk sometimes

Jojy Varghese created MESOS-3798:
------------------------------------

             Summary: io::write(fd, const string&) api writes junk sometimes
                 Key: MESOS-3798
                 URL: https://issues.apache.org/jira/browse/MESOS-3798
             Project: Mesos
          Issue Type: Bug
          Components: libprocess
         Environment: osx
            Reporter: Jojy Varghese
            Assignee: Jojy Varghese


This was noticed during registry client test( please see  MESOS-3773).A brief summary :

1. open a file with flags "  O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC" and mode    "S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)", 

2. Call write(fd, string).

This causes junk to be written every once in a while to the beginning of the file.





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