Boost logo

Boost :

From: Sean Huang (huangsean_at_[hidden])
Date: 2007-10-24 18:50:58

> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-
> bounces_at_[hidden]] On Behalf Of Ion Gaztañaga
> While I manage to get access to a Win64 platform, can you give some
> hint
> on which assertions are failing?
Looks like this following code in mapped_region.hpp (line 237):
      //Update mapping size if the user does not specify it
      if(size == 0){
         __int64 total_size;
t_mapping_handle()), total_size)){
            error_info err(winapi::get_last_error());
            throw interprocess_exception(err);
         if(total_size > (__int64)((std::size_t)(-1))){
            error_info err(size_error);
            throw interprocess_exception(err);
         size = static_cast<std::size_t>(total_size - offset);

Causes an exception to be thrown. There is an access violation during stack
unwinding (unfortunately, I did not have time to track that down, you might
want to force an exception in the 32-bit version to see the problem).



Boost list run by bdawes at, gregod at, cpdaniel at, john at