Hi, First, Matias, I need to apologize for not answering this sooner: I just missed it the the list (and Thanks Petri for the recall on the arch call). If you face shm problems, you can copy me in the future.
There are Many interresting things in your log: First, I think we are exceeding the (currentely 500Mb) limit of shmem allocated with singleVA flag set here. In the test 1/3 of the CPU allocates 64M, 1/3 allocate 8M and 1/3 8K. I don't have you settings, but if you don't mind running the following simple tests for me: Either Double the shm space for singleVA flag: File:platform/linux-generic/include/odp_config_internal.h: line 121: #define ODP_CONFIG_ISHM_VA_PREALLOC_SZ (536870912L) (Multiply by 2 or 4) Or reduce the memory allocated by the test: File: odp/test/common_plat/validation/drv/drvshmem/drvshmem.c line: 19: #define BIG_MEM 16777216 (devide it by 2 or 4, as can be fragmentation) I hope that this should solve "your" crash (which is more mine) :-) But please send the logs anyway. If you confirm that this is the problem, I send a patch to make the tests less greedy. But I am still interested by the logs because I do not explain the mmap failures when running as root: >From you boot parameter, I understand that you had 4GB of huge pages, right? This mmap failure tells it failed with the Huge pages, and back-off using normal pages. Not really sure what is happening there: It feels your machine should have enough HP for all.... Any other thing consuming Huges pages that you can thing about? Thanks for helping me with that: I don't have the beast you seem to have ;-). Feel free to call (HO) if you want explanations: I am happy to spread the knowledge about the shared mem block. Christophe On 14 October 2016 at 11:05, Elo, Matias (Nokia - FI/Espoo) <matias....@nokia-bell-labs.com> wrote: > The api-next make check is failing for me on drvshmem validation test. Anyone > else having the same problem? > > -Matias > > HW setup: > Intel Haswell EP - Xeon E5-2697v3 > Ubuntu 16.04 - 4.4.0-38-generic > GRUB_CMDLINE_LINUX_DEFAULT="text default_hugepagesz=2M hugepagesz=2M > hugepages=2048 isolcpus=2-27" > > > ../../test-driver: line 107: 12556 Segmentation fault "$@" > $log_file > 2>&1 > FAIL: ../../test/common_plat/validation/drv/drvshmem/drvshmem_main > > =============================================================================== > OpenDataPlane 1.10.1.0.git194.gcf6425f: test/linux-generic/test-suite.log > =============================================================================== > > # TOTAL: 31 > # PASS: 29 > # SKIP: 1 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > > .. contents:: :depth: 2 > > SKIP: validation/api/pktio/pktio_run_tap > ======================================== > > running with > ./validation/api/pktio/../../../../common_plat/validation/api/pktio/pktio_main > pktio: need to be root to setup TAP interfaces. > pktio: tap_setup() FAILED! > SKIP validation/api/pktio/pktio_run_tap.sh (exit status: 77) > > FAIL: ../../test/common_plat/validation/drv/drvshmem/drvshmem_main > ================================================================== > > PKTIO: initialized loop interface. > PKTIO: initialized pcap interface. > PKTIO: initialized socket mmap, use export ODP_PKTIO_DISABLE_SOCKET_MMAP=1 > to disable. > PKTIO: initialized socket mmsg,use export ODP_PKTIO_DISABLE_SOCKET_MMSG=1 to > disable. > ODP API version: 1.10.1 > ODP implementation name: odp-linux > ODP implementation version: odp-linux 1.10.1-0 (v1.10.1) > 'https://git.linaro.org/lng/odp.git' (1.10.1.0.git194.gcf6425f) > > > CUnit - A unit testing framework for C - Version 2.1-3 > http://cunit.sourceforge.net/ > > > Suite: Shared Memory > Test: drvshmem_test_basic > ..._ishm.c:944:_odp_ishm_free_by_address():Request to free an non existing > block... (double free?) > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 1 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 2 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 3 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 4 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 5 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 6 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 13 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 8 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 9 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 10 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 11 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 22 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 7 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 14 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 15 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 16 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 17 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 18 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 19 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 20 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 21 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 12 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 23 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 24 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 25 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 26 starts > passed > Test: drvshmem_test_reserve_after_fork > ...linux.c:273:odpthread_run_start_routine():helper: ODP worker thread > started as linux pthread. (pid=12556) > Thread 1 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 2 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 3 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 4 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000001: Permission denied. > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 5 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 6 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 7 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000002: Permission denied. > In thread: Block index: 1 mapped at 7ffff7fde000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 8 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 9 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 10 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 11 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 13 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 12 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 14 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 15 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 16 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000004: Permission denied. > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 17 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 18 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 19 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000010: Permission denied. > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 20 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 21 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 22 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000007: Permission denied. > In thread: Block index: 12 mapped at 7ffff7f3d000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 23 starts > In thread: Block index: 3 mapped at 7ffff7fd8000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 24 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 25 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000014: Permission denied. > In thread: Block index: 0 mapped at 7ffff7fdd000 > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000020: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000011: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000005: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000019: Permission denied. > In thread: Block index: 7 mapped at 7ffff7f39000 > In thread: Block index: 21 mapped at 7ffff7f37000 > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000022: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000016: Permission denied. > In thread: Block index: 4 mapped at 7ffff7fd9000 > In thread: Block index: 10 mapped at 7ffff7f3e000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 26 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000017: Permission denied. > In thread: Block index: 15 mapped at 7ffff7f38000 > In thread: Block index: 22 mapped at 7ffff7f2e000 > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000008: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000023: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000013: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000025: Permission denied. > In thread: Block index: 18 mapped at 7ffff7f36000 > In thread: Block index: 24 mapped at 7ffff7f29000 > In thread: Block index: 6 mapped at 7ffff7f28000 > In thread: Block index: 16 mapped at 7ffff7f2a000 > In thread: Block index: 9 mapped at 7ffff7fd7000 > In thread: Block index: 19 mapped at 7ffff7f32000 > In thread: Block index: 25 mapped at 7ffff7f20000 > In thread: Block index: 13 mapped at 7ffff7f24000 > In thread: Block index: 2 mapped at 7fffb8000000 > In thread: Block index: 11 mapped at 7fff5c000000 > In thread: Block index: 17 mapped at 7fff48000000 > In thread: Block index: 5 mapped at 7fff54000000 > In thread: Block index: 20 mapped at 7fff60000000 > In thread: Block index: 23 mapped at 7fff3c000000 > In thread: Block index: 14 mapped at 7fff64000000 > In thread: Block index: 8 mapped at 7fff44000000 > In main Block index: 0 mapped at 7ffff7fdd000 > In main Block index: 1 mapped at 7ffff7fde000 > In main Block index: 2 mapped at 7fffb8000000 > In main Block index: 3 mapped at 7ffff7fd8000 > In main Block index: 4 mapped at 7ffff7fd9000 > In main Block index: 5 mapped at 7fff54000000 > In main Block index: 6 mapped at 7ffff7f28000 > In main Block index: 7 mapped at 7ffff7f39000 > In main Block index: 8 mapped at 7fff44000000 > In main Block index: 9 mapped at 7ffff7fd7000 > In main Block index: 10 mapped at 7ffff7f3e000 > In main Block index: 11 mapped at 7fff5c000000 > In main Block index: 12 mapped at 7ffff7f3d000 > In main Block index: 13 mapped at 7ffff7f24000 > In main Block index: 14 mapped at 7fff64000000 > In main Block index: 15 mapped at 7ffff7f38000 > In main Block index: 16 mapped at 7ffff7f2a000 > In main Block index: 17 mapped at 7fff48000000 > In main Block index: 18 mapped at 7ffff7f36000 > In main Block index: 19 mapped at 7ffff7f32000 > In main Block index: 20 mapped at 7fff60000000 > In main Block index: 21 mapped at 7ffff7f37000 > In main Block index: 22 mapped at 7ffff7f2e000 > In main Block index: 23 mapped at 7fff3c000000 > In main Block index: 24 mapped at 7ffff7f29000 > In main Block index: 25 mapped at 7ffff7f20000 > passed > Test: drvshmem_test_singleva_after_fork > ...linux.c:273:odpthread_run_start_routine():helper: ODP worker thread > started as linux pthread. (pid=12556) > Thread 1 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 2 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 3 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 4 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 5 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000001: Permission denied. > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 7 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 6 starts > In thread: Block index: 0 mapped at 7fffd6a00000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 8 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 9 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 14 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 11 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 12 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 13 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 10 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 15 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000004: Permission denied. > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 16 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 17 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 18 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000005: Permission denied. > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 19 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 20 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 21 starts > In thread: Block index: 1 mapped at 7fffd6a01000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 22 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000002: Permission denied. > In thread: Block index: 3 mapped at 7fffd6a05000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 23 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 24 starts > In thread: Block index: 4 mapped at 7fffd6a06000 > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000016: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000013: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000014: Permission denied. > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12556) > Thread 25 starts > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000011: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000017: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000008: Permission denied. > In thread: Block index: 15 mapped at 7fffdea10000 > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000020: Permission denied. > In thread: Block index: 6 mapped at 7fffdaa0a000 > In thread: Block index: 16 mapped at 7fffdea0c000 > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000010: Permission denied. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000019: Permission denied. > In thread: Block index: 12 mapped at 7fffdea0b000 > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000023: Permission denied. > _ishm.c:255:alloc_fragment():unable to get virtual address for shmem block! > ._ishm.c:470:do_map():alloc_fragment failed. > _ishm.c:795:_odp_ishm_reserve():_ishm_reserve failed. > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000007: Permission denied. > _ishm.c:1094:_odp_ishm_address():Request for address on an invalid block > In thread: Block index: 10 mapped at 7ffff2a18000 > In thread: Block index: 13 mapped at 7fffdea11000 > _ishm.c:419:create_file():open failed for > /dev/hugepages/odp-12556-ishm-test_shmem-000000022: Permission denied. > In thread: Block index: 9 mapped at 7fffe2a15000 > _fdserver.c:447:handle_request():Invalid register fd or context > FAIL ../../test/common_plat/validation/drv/drvshmem/drvshmem_main (exit > status: 139) > > > Running the test with sudo rights: > > sudo ./test/common_plat/validation/drv/drvshmem/drvshmem_main > > PKTIO: initialized loop interface. > PKTIO: initialized pcap interface. > PKTIO: initialized socket mmap, use export ODP_PKTIO_DISABLE_SOCKET_MMAP=1 > to disable. > PKTIO: initialized socket mmsg,use export ODP_PKTIO_DISABLE_SOCKET_MMSG=1 to > disable. > ODP API version: 1.10.1 > ODP implementation name: odp-linux > ODP implementation version: odp-linux 1.10.1-0 (v1.10.1) > 'https://git.linaro.org/lng/odp.git' (1.10.1.0.git194.gcf6425f) > > > CUnit - A unit testing framework for C - Version 2.1-3 > http://cunit.sourceforge.net/ > > > Suite: Shared Memory > Test: drvshmem_test_basic > ..._ishm.c:944:_odp_ishm_free_by_address():Request to free an non existing > block... (double free?) > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 1 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 2 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 3 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 4 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 5 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 11 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 7 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 8 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 9 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 10 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 17 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 12 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 13 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 14 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 24 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 16 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 6 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 18 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 19 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 20 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 21 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 22 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 23 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 15 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 25 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 26 starts > passed > Test: drvshmem_test_reserve_after_fork > ...linux.c:273:odpthread_run_start_routine():helper: ODP worker thread > started as linux pthread. (pid=12834) > Thread 1 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 3 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 5 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 2 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 4 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 6 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 7 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 8 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 14 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 10 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 11 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 12 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 13 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 9 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 15 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 16 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 1 mapped at 7ffff7fde000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 17 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 18 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 19 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 20 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 0 mapped at 7ffff7fdd000 > In thread: Block index: 6 mapped at 7ffff7fdb000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 21 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 22 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 3 mapped at 7ffff7fdc000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 23 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 24 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 25 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 12 mapped at 7ffff7fda000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 10 mapped at 7ffff7f32000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 13 mapped at 7ffff7f36000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 4 mapped at 7ffff7f3a000 > In thread: Block index: 15 mapped at 7ffff7fd8000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 9 mapped at 7ffff7fd9000 > In thread: Block index: 22 mapped at 7ffff7f2a000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 7 mapped at 7ffff7f3e000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 26 starts > In thread: Block index: 16 mapped at 7ffff7f2e000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 18 mapped at 7ffff7fd7000 > In thread: Block index: 21 mapped at 7ffff7f25000 > In thread: Block index: 25 mapped at 7ffff7f20000 > In thread: Block index: 24 mapped at 7ffff7f24000 > In thread: Block index: 19 mapped at 7ffff7f26000 > In thread: Block index: 14 mapped at 7fff78000000 > In thread: Block index: 8 mapped at 7fff68000000 > In thread: Block index: 11 mapped at 7fff88000000 > In thread: Block index: 17 mapped at 7fff4c000000 > In thread: Block index: 20 mapped at 7fff50000000 > In thread: Block index: 23 mapped at 7fff48000000 > In thread: Block index: 2 mapped at 7fffb0000000 > In thread: Block index: 5 mapped at 7fff8c000000 > In main Block index: 0 mapped at 7ffff7fdd000 > In main Block index: 1 mapped at 7ffff7fde000 > In main Block index: 2 mapped at 7fffb0000000 > In main Block index: 3 mapped at 7ffff7fdc000 > In main Block index: 4 mapped at 7ffff7f3a000 > In main Block index: 5 mapped at 7fff8c000000 > In main Block index: 6 mapped at 7ffff7fdb000 > In main Block index: 7 mapped at 7ffff7f3e000 > In main Block index: 8 mapped at 7fff68000000 > In main Block index: 9 mapped at 7ffff7fd9000 > In main Block index: 10 mapped at 7ffff7f32000 > In main Block index: 11 mapped at 7fff88000000 > In main Block index: 12 mapped at 7ffff7fda000 > In main Block index: 13 mapped at 7ffff7f36000 > In main Block index: 14 mapped at 7fff78000000 > In main Block index: 15 mapped at 7ffff7fd8000 > In main Block index: 16 mapped at 7ffff7f2e000 > In main Block index: 17 mapped at 7fff4c000000 > In main Block index: 18 mapped at 7ffff7fd7000 > In main Block index: 19 mapped at 7ffff7f26000 > In main Block index: 20 mapped at 7fff50000000 > In main Block index: 21 mapped at 7ffff7f25000 > In main Block index: 22 mapped at 7ffff7f2a000 > In main Block index: 23 mapped at 7fff48000000 > In main Block index: 24 mapped at 7ffff7f24000 > In main Block index: 25 mapped at 7ffff7f20000 > passed > Test: drvshmem_test_singleva_after_fork > ...linux.c:273:odpthread_run_start_routine():helper: ODP worker thread > started as linux pthread. (pid=12834) > Thread 1 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 2 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 3 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 4 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 5 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 6 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 7 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 8 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 9 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 10 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 11 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 12 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 15 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 14 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 13 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 16 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 17 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 18 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 19 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 20 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 21 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 22 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 23 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 3 mapped at 7fffdaa05000 > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 24 starts > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 25 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > linux.c:273:odpthread_run_start_routine():helper: ODP worker thread started > as linux pthread. (pid=12834) > Thread 26 starts > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 1 mapped at 7fffd6a01000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 10 mapped at 7fffe2a0a000 > In thread: Block index: 6 mapped at 7fffe6a10000 > In thread: Block index: 0 mapped at 7fffd6a00000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 12 mapped at 7fffe6a0e000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 18 mapped at 7fffeaa11000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 7 mapped at 7fffdaa06000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 21 mapped at 7fffeaa1a000 > _ishm.c:255:alloc_fragment():unable to get virtual address for shmem block! > ._ishm.c:470:do_map():alloc_fragment failed. > _ishm.c:255:alloc_fragment():unable to get virtual address for shmem block! > ._ishm.c:470:do_map():alloc_fragment failed. > _ishm.c:795:_odp_ishm_reserve():_ishm_reserve failed. > In thread: Block index: 24 mapped at 7fffeea23000 > In thread: Block index: 4 mapped at 7fffeaa16000 > _ishmphy.c:128:_odp_ishmphy_map():mmap failed:Cannot allocate memory > In thread: Block index: 15 mapped at 7fffeea28000 > _ishm.c:1094:_odp_ishm_address():Request for address on an invalid block > In thread: Block index: 13 mapped at 7fffeea24000 > In thread: Block index: 16 mapped at 7fffeaa1f000 > In thread: Block index: 19 mapped at 7fffeaa12000 > In thread: Block index: 9 mapped at 7fffe6a0f000 > In thread: Block index: 22 mapped at 7fffeaa1b000 > Segmentation fault > > >