I cannot seem to reproduce the segmentation faults on the 4 machines I tested on. 4-core ARM A15 development board: All pass except for odp_pktio_run (no veth support) and odp_system(no huge pages support) 8-core X86_64 Avoton microserver: All pass 8c/16t X86_64 Xeon: All pass 4c/8t X86_64 Xeon: All pass
While testing I did find that the odp_schedule validation test will fail on a high core count machine because the thread id monotonically increases and will eventually hit the assert in odp_thread.c:76 during the test run. Not sure what the best way to fix this would be, just increasing ODP_CONFIG_MAX_THREADS is a hack. -Geoff From: Mike Holmes [mailto:mike.hol...@linaro.org] Sent: Wednesday, January 28, 2015 9:36 AM To: Geoffrey Blake Cc: Bill Fischofer; Anders Roxell; LNG ODP Mailman List Subject: Re: [lng-odp] [PATCH v7 3/3] linux-generic: Make buffer_pool allocators use _odp_atomic_tptr_t On 28 January 2015 at 10:33, Geoffrey Blake <geoffrey.bl...@arm.com> wrote: Hmmm, I cannot compile the validation tests as CUnit (using libcunit1 from apt-get) is trying to incorrectly cast a const char* string literal to a char* in its datastructures. This is usually a warning but ODP sets -Werror. Looking at the svn repo for CUnit, it appears this hasn't been addressed. Mike, how are you getting ODP to compile? Did you make your own version of CUnit? yes, make and install the latest and it will be on the same path I showed. We do need to fix autotools to specify the latest version of cunit. The odp_schedule test passed on my build machine, but I'll check on some other machines I have available and report back. -Geoff From: Mike Holmes [mailto:mike.hol...@linaro.org] Sent: Wednesday, January 28, 2015 8:00 AM To: Bill Fischofer Cc: Anders Roxell; Geoffrey Blake; LNG ODP Mailman List Subject: Re: [lng-odp] [PATCH v7 3/3] linux-generic: Make buffer_pool allocators use _odp_atomic_tptr_t My details * 3a868e0 :2015-01-27 - (HEAD, master) linux-generic: Make buffer_pool allocators use _odp_atomic_tptr_t <Geoffrey Blake> * ff57dbe :2015-01-27 - linux-generic: Implement 32bit version of _odp_atomic_tptr_t <Geoffrey Blake> * f0f2247 :2015-01-27 - linux-generic: Implement _odp_atomic_tptr_t opaque type <Geoffrey Blake> * 30b60c5 :2015-01-23 - (origin/master, origin/HEAD, abort) test: makefile: remove check_PROGRAMS <Mike Holmes> git clean -xdf ./bootstrap ./configure --with-cunit-path=/home/mike/CUnitHome --enable-test-vald make check .... make[4]: Entering directory '/home/mike/git/odp/test/validation' PASS: odp_init ../../test-driver: line 107: 15468 Segmentation fault (core dumped) "$@" > $log_file 2>&1 FAIL: odp_queue ../../test-driver: line 107: 15475 Segmentation fault (core dumped) "$@" > $log_file 2>&1 FAIL: odp_crypto PASS: odp_shm ../../test-driver: line 107: 15496 Segmentation fault (core dumped) "$@" > $log_file 2>&1 FAIL: odp_schedule FAIL: odp_pktio_run ../../test-driver: line 107: 15513 Segmentation fault (core dumped) "$@" > $log_file 2>&1 FAIL: odp_buffer PASS: odp_system ../../test-driver: line 107: 15526 Segmentation fault (core dumped) "$@" > $log_file 2>&1 FAIL: odp_timer PASS: odp_time PASS: odp_synchronizers ../../test-driver: line 107: 15655 Segmentation fault (core dumped) "$@" > $log_file 2>&1 FAIL: odp_classification make[5]: Entering directory '/home/mike/git/odp/test/validation' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/home/mike/git/odp/test/validation' ============================================================================ Testsuite summary for OpenDataPlane 0.9.0 ============================================================================ # TOTAL: 12 # PASS: 5 # SKIP: 0 # XFAIL: 0 # FAIL: 7 # XPASS: 0 # ERROR: 0 ============================================================================ See test/validation/test-suite.log Please report to lng-odp@lists.linaro.org ============================================================================ -- Mike Holmes Linaro Sr Technical Manager LNG - ODP -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp