summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/other/1395958
blob: 0d10e6afb3cd002a4c90e0e66033472f44efb424 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
boost managed_shared_memory segment on arm emulator crashes

The following code segment crashes when run:

#include <boost/interprocess/managed_shared_memory.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#include <boost/interprocess/containers/map.hpp>
#include <boost/interprocess/containers/vector.hpp>
#include <boost/interprocess/containers/string.hpp>

using namespace boost::interprocess;

int main(int argc, char** argv)
{
    namespace bi = boost::interprocess;
    const char* name = "foobar";
    bi::shared_memory_object::remove(name);
    bi::managed_shared_memory segment(bi::create_only, name, 10 * 1024);
}

using qemu-arm-static
qemu-arm version 1.5.0 (Debian 1.5.0-2013.06+git74+20130802+ef1b0ae-3linaroprecise1), Copyright (c) 2003-2008 Fabrice Bellard


Any idea?