diff options
Diffstat (limited to 'results/classifier/118/graphic/1395958')
| -rw-r--r-- | results/classifier/118/graphic/1395958 | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/results/classifier/118/graphic/1395958 b/results/classifier/118/graphic/1395958 new file mode 100644 index 00000000..cdd05fa5 --- /dev/null +++ b/results/classifier/118/graphic/1395958 @@ -0,0 +1,80 @@ +arm: 0.958 +graphic: 0.923 +ppc: 0.850 +device: 0.825 +performance: 0.774 +debug: 0.773 +PID: 0.734 +semantic: 0.633 +architecture: 0.577 +network: 0.523 +register: 0.517 +risc-v: 0.481 +mistranslation: 0.466 +kernel: 0.465 +TCG: 0.461 +peripherals: 0.452 +vnc: 0.449 +VMM: 0.448 +socket: 0.436 +boot: 0.435 +user-level: 0.384 +files: 0.378 +hypervisor: 0.362 +permissions: 0.334 +i386: 0.239 +x86: 0.236 +assembly: 0.208 +virtual: 0.201 +KVM: 0.092 + +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? + + uname -a +Linux ratin-dev 2.6.32 #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 armv7l armv7l armv7l GNU/Linux + + + +remote GDB (via local host ) +QEMU: Terminated via GDBstub +root@ratin-dev:/usr/local/bin# qemu-arm-static -g 1234 /usr/local/bin/test +terminate called after throwing an instance of 'boost::interprocess::interprocess_exception' + what(): Function not implemented + + +(gdb) +14 bi::managed_shared_memory segment(bi::create_only, name, 10 * 1024); +(gdb) + +Program received signal SIGABRT, Aborted. +0xf661d706 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6 +(gdb) quit + + +This test case works OK for me with current QEMU head-of-git, so I think we've fixed this bug (it was probably a missing-syscall, guessing from the "function not implemented" text in the exception.) + + |