Opened 9 years ago

#9849 new Bugs

shared_memory_object incompatible between x86 to x64 on Windows.

Reported by: rich@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

The problem is very similar to Ticket #6054 for OSX and a different sub-folder of

C:\\ProgramData/boost_interprocess/

is created for each x86 or x64. It happens in get_bootstamp (tmp_dir_helpers.hpp:45) which generates a different file.

The code is directly defined for OSX in get_bootstamp, but for windows, it goes to windows_semaphore_based_map() constructor (windows_intermodule_singleton.hpp:57) where it behaves differently depending on the size of void*.

If this behavior is an exception, it should be written in the docs, since mixing x64 and x32 seems to work on OSX and Unix and does work with the native windows functions and the windows_shared_memory.

Change History (0)

Note: See TracTickets for help on using tickets.