https://bugs.linaro.org/show_bug.cgi?id=2228

            Bug ID: 2228
           Summary: ringtest:  Conditional jump or move depends on
                    uninitialised value
           Product: OpenDataPlane - linux- generic reference
           Version: v1.10
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Packet IO
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

cd check-odp
E_VALGRIND=1 CLEANUP=0 ./build.sh

root@odp-ubuntu-1504:~/check-odp/build/odp/platform/linux-generic/test/ring#
cat ringtest.log 
==17640== Memcheck, a memory error detector
==17640== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==17640== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==17640== Command: ./ring/ringtest
==17640== 
==17640== Conditional jump or move depends on uninitialised value(s)
==17640==    at 0x58CF7E0: vfprintf (vfprintf.c:1641)
==17640==    by 0x5998705: __printf_chk (printf_chk.c:35)
==17640==    by 0x402AB1: printf (stdio2.h:104)
==17640==    by 0x402AB1: main (ringtest.c:453)
==17640== 
==17640== Use of uninitialised value of size 8
==17640==    at 0x58CB7BB: _itoa_word (_itoa.c:179)
==17640==    by 0x58CFAC8: vfprintf (vfprintf.c:1641)
==17640==    by 0x5998705: __printf_chk (printf_chk.c:35)
==17640==    by 0x402AB1: printf (stdio2.h:104)
==17640==    by 0x402AB1: main (ringtest.c:453)
==17640== 
==17640== Conditional jump or move depends on uninitialised value(s)
==17640==    at 0x58CB7C5: _itoa_word (_itoa.c:179)
==17640==    by 0x58CFAC8: vfprintf (vfprintf.c:1641)
==17640==    by 0x5998705: __printf_chk (printf_chk.c:35)
==17640==    by 0x402AB1: printf (stdio2.h:104)
==17640==    by 0x402AB1: main (ringtest.c:453)
==17640== 
==17640== Conditional jump or move depends on uninitialised value(s)
==17640==    at 0x58CFB39: vfprintf (vfprintf.c:1641)
==17640==    by 0x5998705: __printf_chk (printf_chk.c:35)
==17640==    by 0x402AB1: printf (stdio2.h:104)
==17640==    by 0x402AB1: main (ringtest.c:453)
==17640== 
==17640== Conditional jump or move depends on uninitialised value(s)
==17640==    at 0x58CF8BA: vfprintf (vfprintf.c:1641)
==17640==    by 0x5998705: __printf_chk (printf_chk.c:35)
==17640==    by 0x402AB1: printf (stdio2.h:104)
==17640==    by 0x402AB1: main (ringtest.c:453)
==17640== 
==17640== Conditional jump or move depends on uninitialised value(s)
==17640==    at 0x58CF94A: vfprintf (vfprintf.c:1641)
==17640==    by 0x5998705: __printf_chk (printf_chk.c:35)
==17640==    by 0x402AB1: printf (stdio2.h:104)
==17640==    by 0x402AB1: main (ringtest.c:453)
==17640== 
ringtest.c:409:test_ring():result = 0
starting stess test type : 8416..
Thread 1 starts
Test SP & SC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
Test MP & MC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
test watermark and default bulk enqueue / dequeue
basic enqueu, dequeue test for ring <test_ring_1>@0x4123000 passed
test_ring Result:pass
pktio/ring.c:205:_ring_create():Cannot reserve memory
ringtest.c:374:test_ring():ring create failed
ringtest.c:409:test_ring():result = 0
ringtest.c:409:test_ring():result = 0
Thread 1 starts
Thread 2 starts
Thread 3 starts
Thread 4 starts
Test SP & SC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
Test MP & MC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
test watermark and default bulk enqueue / dequeue
basic enqueu, dequeue test for ring <test_ring_3>@0x412c000 passed
Thread 5 starts
Test SP & SC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
Test MP & MC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
test watermark and default bulk enqueue / dequeue
basic enqueu, dequeue test for ring <test_ring_5>@0x4135000 passed
Test SP & SC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
Test MP & MC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
test watermark and default bulk enqueue / dequeue
basic enqueu, dequeue test for ring <test_ring_2>@0x413e000 passed
Test SP & SC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
Test MP & MC basic functions
enqueue 1 obj
enqueue 2 objs
enqueue MAX_BULK objs
dequeue 1 obj
dequeue 2 objs
dequeue MAX_BULK objs
test watermark and default bulk enqueue / dequeue
basic enqueu, dequeue test for ring <test_ring_4>@0x4147000 passed
test_ring Result:pass
ringtest.c:409:test_ring():result = -1
test_ring Result:pass
ringtest.c:409:test_ring():result = 0
ringtest.c:409:test_ring():result = 0
test_ring Result:fail
test_ring Result:pass
test_ring Result:pass
ringtest.c:409:test_ring():result = 0
ringtest.c:409:test_ring():result = 0
starting stess test type : 0..
Thread 1 starts
Thread 2 starts

 Test OK !
Thread 3 starts
test_ring Result:pass
ringtest.c:409:test_ring():result = 0
Thread 3 starts
Thread 4 starts
test_ring Result:pass
ringtest.c:409:test_ring():result = 0
Thread 5 starts
test_ring Result:pass
test_ring Result:pass
ringtest.c:409:test_ring():result = 0
ringtest.c:409:test_ring():result = 0
test_ring Result:pass
test_ring Result:pass
==17640== 
==17640== HEAP SUMMARY:
==17640==     in use at exit: 0 bytes in 0 blocks
==17640==   total heap usage: 37 allocs, 37 frees, 794,928 bytes allocated
==17640== 
==17640== All heap blocks were freed -- no leaks are possible
==17640== 
==17640== For counts of detected and suppressed errors, rerun with: -v
==17640== Use --track-origins=yes to see where uninitialised values come from
==17640== ERROR SUMMARY: 12 errors from 6 contexts (suppressed: 0 from 0)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to