Re: [Boost-users] [interprocess] trouble porting from boost.shmem
Hello Ion,
Thanks for the code. I'll try to see what's happening, but it seems a bit strange. Which Interprocess version are you using? I'll recommend you to test your code agains latest cvs code. Apart from that, can you tell which system are you using, windows, or unix? And, can you which is the value of SEGMENT_SIZE, SEGMENT_NAME, MAP_NAME you are using (it shouldn't matter, but who knows...)?
Sorry, I always forget these things: - linux, gcc 3.4.5, amd64 - I was using the snapshot of Interprocess from 2006.08.04 - I fetched Interprocess from CVS and it still crashes - I fetched the new Interprocess snapshot from 2006.10.13 and it doesn't compile, although it's the same code, which compiled with Interprocess 2006.08.04 and Interprocess.cvs. I'll send you the compiler errors soon. - const int SHMEM_SIZE = 50000000; - const char* SEGMENT_NAME = "/segment"; - const char* MAP_NAME = "mapDB"; - still works with shmem. Very weird. Regards, Szilard
Hi Pataki, I've just uploaded a change to a file in CVS (boost/interprocess/detail/workaround.hpp). It passes all the tests in my machine, please, let me know if you have any problems. Regards, Ion
participants (2)
-
Ion Gaztañaga
-
Pataki Szilard