title: boost::interprocess_exception - library_error exception when creating shared_memory_object
body: <p>In some rare cases (in fact on a single client's computer) code below throws an exception "<strong>library_error</strong>":</p>
  
  <pre><code>namespace ipc = boost::interprocess;
  ipc::shared_memory_object m_shm;
  ...
  bool initAsServer(size_t sharedMemSize)
  {
      ipc::permissions perm;
      perm.set_unrestricted();
  
      try
      {
          m_shm = ipc::shared_memory_object(
              ipc::create_only,
              CNameGenHelper::genUniqueNameUtf8().c_str(), // static std::string genUniqueNameUtf8()
              ipc::read_write, perm);
      }
      catch(const ipc::interprocess_exception&amp; ex)
      {
          logError("failed with exception \"%s\"", ex.what());
          return false;
      }
      ...
  }
  </code></pre>
  
  <p>In log file:
  <strong>[ERR]     failed with exception "boost::interprocess_exception::library_error"</strong></p>
  
  <p>Boost v1.58, platform win32, vs13.</p>
  
  <hr>
  
  <p>I'll be very grateful if you help me in solving this problem. Thank you in advance!</p>