$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [interprocess] managed_shm->find call causes assertion
From: Moritz (mokoman_at_[hidden])
Date: 2010-04-08 12:33:26
Hi,
I have a managed_shared_memory segment which contains a unique_instance
of an object. When I try to call
managed_shm->find<ObjectType>( ipc::unique_instance );
I get the following assertion:
/usr/include/boost/interprocess/sync/posix/interprocess_recursive_mutex.hpp:110:
void boost::interprocess::interprocess_recursive_mutex::unlock():
Assertion `res == 0' failed.
Aborted
This only happens in Release-Mode (with gcc -s -O2). I am not able to
build a minimum example but I also can not track the problem. Any suggests?
Kind regards