Re: [Boost-bugs] [Boost C++ Libraries] #7235: mapped_region not accepting size = 0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7235: mapped_region not accepting size = 0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-15 21:18:01


#7235: mapped_region not accepting size = 0
---------------------------------------+------------------------------------
  Reporter: matthieu.dorier@… | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords: mmap
---------------------------------------+------------------------------------

Comment (by matthieu.dorier@…):

 Indeed you're right: fstat is the call that fails. When I pass the file
 descriptor of a shared memory object opened with shm_open, I get the error
 "Value too large for defined data type" (even though the size of the
 segment is only about 2500 bytes).

 If I understand the documentation of BlueGene/P, the filesystems functions
 (such as fstat) are all redirected to the parallel filesystem on remote
 nodes, without checking if the file descriptor corresponds to something
 local (such as a file in /dev/shm), which may explain why the call fails.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7235#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC