hmmm... no visible TM problem here either (x86, 64 bits gcc and clang) Christophe
On 30 May 2016 at 08:35, Maxim Uvarov <maxim.uva...@linaro.org> wrote: > On 05/27/16 23:58, Bill Fischofer wrote: > >> Which test? The TM validation tests continue to pass for me (both 64-bit >> and 32-bit) with the current master. >> >> ./bootstrap; ./configure --enable-test-vald --enable-test-perf > --enable-test-cpp --enable-debug CFLAGS="-O0 -g" --enable-debug > --enable-debug-print --enable-user-guides --enable-test-example > --enable-pktio_ipc-support --enable-test-helper CC=clang > > *** Error in `./../../../test/validation/traffic_mngr/traffic_mngr_main': > realloc(): invalid pointer: 0x00002ae6b655403c *** > ../../../test-driver: line 107: 11633 Aborted "$@" > > $log_file 2>&1 > > (gdb) bt > #0 0x00007ffff6af4cc9 in __GI_raise (sig=sig@entry=6) at > ../nptl/sysdeps/unix/sysv/linux/raise.c:56 > #1 0x00007ffff6af80d8 in __GI_abort () at abort.c:89 > #2 0x00007ffff6b31394 in __libc_message (do_abort=do_abort@entry=1, > fmt=fmt@entry=0x7ffff6c3fb28 "*** Error in `%s': %s: 0x%s ***\n") at > ../sysdeps/posix/libc_fatal.c:175 > #3 0x00007ffff6b3c0f7 in malloc_printerr (action=<optimized out>, > str=0x7ffff6c3bd5d "realloc(): invalid pointer", ptr=<optimized out>) at > malloc.c:4996 > #4 0x00007ffff6b41192 in __GI___libc_realloc (oldmem=0x7ffff7eb103c, > bytes=128) at malloc.c:2986 > #5 0x00007ffff6e938eb in __pthread_attr_setaffinity_new > (attr=0x7fffffffdf50, cpusetsize=128, cpuset=0x7fffffffded0) at > ../nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c:54 > #6 0x00000000004351aa in tm_thread_create (tm_system=0x6c07c0) at > odp_traffic_mngr.c:2557 > #7 0x00000000004354fc in odp_tm_create (name=0x7fffffffe1c0 > "TM_system_0", requirements=0x7fffffffe090, egress=0x7fffffffe050) at > odp_traffic_mngr.c:2655 > #8 0x00000000004066fe in create_tm_system () at traffic_mngr.c:1611 > #9 0x000000000040bd5a in traffic_mngr_test_tm_create () at > traffic_mngr.c:3749 > #10 0x00007ffff76c2482 in run_single_test () from > /usr/local/lib/libcunit.so.1 > #11 0x00007ffff76c20b2 in run_single_suite () from > /usr/local/lib/libcunit.so.1 > #12 0x00007ffff76bfd55 in CU_run_all_tests () from > /usr/local/lib/libcunit.so.1 > #13 0x00007ffff76c4245 in basic_run_all_tests () from > /usr/local/lib/libcunit.so.1 > #14 0x00007ffff76c3fe7 in CU_basic_run_tests () from > /usr/local/lib/libcunit.so.1 > #15 0x000000000040ce74 in odp_cunit_run () at odp_cunit_common.c:298 > #16 0x000000000040c6e3 in traffic_mngr_main (argc=1, argv=0x7fffffffe548) > at traffic_mngr.c:3948 > #17 0x00000000004035dd in main (argc=1, argv=0x7fffffffe548) at > traffic_mngr_main.c:11 > (gdb) > > > > > On Fri, May 27, 2016 at 2:34 PM, Maxim Uvarov <maxim.uva...@linaro.org >> <mailto:maxim.uva...@linaro.org>> wrote: >> >> Now I see some segfault with tm tests after patch bellow. >> On Monday we need fix tm or revert it. >> >> Maxim. >> >> commit 2fadf477f2fb029b025ff2d3fdd620ee0c951af1 >> Author: Yi He <yi...@linaro.org <mailto:yi...@linaro.org>> >> Date: Thu May 26 07:10:19 2016 +0000 >> >> helper: linux: odp thread cpu affinity APIs >> >> Provide helper APIs to set and get cpu affinity in ODP threads, >> and set cpu affinity to the 1st available control cpu for all odp >> test/validation programs in odp_cunit_common library. >> >> Signed-off-by: Yi He <yi...@linaro.org <mailto:yi...@linaro.org>> >> Reviewed-by: Christophe Milard <christophe.mil...@linaro.org >> <mailto:christophe.mil...@linaro.org>> >> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org >> <mailto:maxim.uva...@linaro.org>> >> >> _______________________________________________ >> lng-odp mailing list >> lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org> >> https://lists.linaro.org/mailman/listinfo/lng-odp >> >> >> > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp > _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp