Created
September 19, 2016 18:25
-
-
Save zhangwei1984/ee8ddf6868d6be9b6bc6f35c3cdeb850 to your computer and use it in GitHub Desktop.
rte_eth_rx_burst reports error by safecode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initializing port 0...PMD: i40e_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=0. | |
PMD: i40e_set_tx_function_flag(): Vector tx can be enabled on this txq. | |
PMD: i40e_set_tx_function(): Vector tx finally be used. | |
PMD: i40e_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=0). | |
Done: | |
Initializing port 1...PMD: i40e_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=1, queue=0. | |
PMD: i40e_set_tx_function_flag(): Vector tx can be enabled on this txq. | |
PMD: i40e_set_tx_function(): Vector tx finally be used. | |
PMD: i40e_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=1). | |
Done: | |
*** Error in `./build/bt': double free or corruption (fasttop): 0x00007f1f2c000ad0 *** | |
Core 0: Running stat thread | |
======= Backtrace: ========= | |
/lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7f1f7b92c725] | |
/lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7f1f7b934f4a] | |
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f1f7b938abc] | |
./build/bt(_ZNSt6vectorIPvSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_+0xfb)[0x5cd55b] | |
./build/bt(__sc_vacallregister+0x29d)[0x5cce82] | |
./build/bt[0x432cbf] | |
./build/bt(eal_thread_loop+0x1db)[0x4a289b] | |
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76fa)[0x7f1f7bc856fa] | |
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f1f7b9bbb5d] | |
======= Memory map: ======== | |
00400000-00650000 r-xp 00000000 fc:00 5506639 /home/wei/ATT/fastpaas-rust/build/bt | |
0084f000-00862000 rw-p 0024f000 fc:00 5506639 /home/wei/ATT/fastpaas-rust/build/bt | |
00862000-0093a000 rw-p 00000000 00:00 0 | |
01c9b000-01ccd000 rw-p 00000000 00:00 0 [heap] | |
7f1d80000000-7f1dc0000000 rw-s 00000000 00:23 127041 /dev/hugepages/rtemap_3 | |
7f1dc0000000-7f1e00000000 rw-s 00000000 00:23 127040 /dev/hugepages/rtemap_2 | |
7f1e00000000-7f1e40000000 rw-s 00000000 00:23 127039 /dev/hugepages/rtemap_1 | |
7f1e40000000-7f1e80000000 rw-s 00000000 00:23 127038 /dev/hugepages/rtemap_0 | |
7f1e80000000-7f1e81000000 rw-s d4000000 00:11 22167 /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.2/resource0 | |
7f1e81000000-7f1e81008000 rw-s d7008000 00:11 22169 /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.2/resource3 | |
7f1e81008000-7f1e82008000 rw-s d3000000 00:11 22175 /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.3/resource0 | |
7f1e82008000-7f1e82010000 rw-s d7000000 00:11 22177 /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.3/resource3 | |
7f1f2c000000-7f1f2c021000 rw-p 00000000 00:00 0 | |
7f1f2c021000-7f1f30000000 ---p 00000000 00:00 0 | |
7f1f30000000-7f1f30021000 rw-p 00000000 00:00 0 | |
7f1f30021000-7f1f34000000 ---p 00000000 00:00 0 | |
7f1f34000000-7f1f34021000 rw-p 00000000 00:00 0 | |
7f1f34021000-7f1f38000000 ---p 00000000 00:00 0 | |
7f1f39e9c000-7f1f39e9d000 ---p 00000000 00:00 0 | |
7f1f39e9d000-7f1f3a69d000 rw-p 00000000 00:00 0 | |
7f1f3a69d000-7f1f3a69e000 ---p 00000000 00:00 0 | |
7f1f3a69e000-7f1f3ae9e000 rw-p 00000000 00:00 0 | |
7f1f3ae9e000-7f1f3ae9f000 ---p 00000000 00:00 0 | |
7f1f3ae9f000-7f1f3b69f000 rw-p 00000000 00:00 0 | |
7f1f3b69f000-7f1f7b69f000 rw-s 00000000 00:05 127035 /dev/zero (deleted) | |
7f1f7b69f000-7f1f7b6b5000 r-xp 00000000 fc:00 262209 /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
7f1f7b6b5000-7f1f7b8b4000 ---p 00016000 fc:00 262209 /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
7f1f7b8b4000-7f1f7b8b5000 rw-p 00015000 fc:00 262209 /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
7f1f7b8b5000-7f1f7ba75000 r-xp 00000000 fc:00 262188 /lib/x86_64-linux-gnu/libc-2.23.so | |
7f1f7ba75000-7f1f7bc74000 ---p 001c0000 fc:00 262188 /lib/x86_64-linux-gnu/libc-2.23.so | |
7f1f7bc74000-7f1f7bc78000 r--p 001bf000 fc:00 262188 /lib/x86_64-linux-gnu/libc-2.23.so | |
7f1f7bc78000-7f1f7bc7a000 rw-p 001c3000 fc:00 262188 /lib/x86_64-linux-gnu/libc-2.23.so | |
7f1f7bc7a000-7f1f7bc7e000 rw-p 00000000 00:00 0 | |
7f1f7bc7e000-7f1f7bc96000 r-xp 00000000 fc:00 262187 /lib/x86_64-linux-gnu/libpthread-2.23.so | |
7f1f7bc96000-7f1f7be95000 ---p 00018000 fc:00 262187 /lib/x86_64-linux-gnu/libpthread-2.23.so | |
7f1f7be95000-7f1f7be96000 r--p 00017000 fc:00 262187 /lib/x86_64-linux-gnu/libpthread-2.23.so | |
7f1f7be96000-7f1f7be97000 rw-p 00018000 fc:00 262187 /lib/x86_64-linux-gnu/libpthread-2.23.so | |
7f1f7be97000-7f1f7be9b000 rw-p 00000000 00:00 0 | |
7f1f7be9b000-7f1f7c00d000 r-xp 00000000 fc:00 8392949 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 | |
7f1f7c00d000-7f1f7c20d000 ---p 00172000 fc:00 8392949 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 | |
7f1f7c20d000-7f1f7c217000 r--p 00172000 fc:00 8392949 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 | |
7f1f7c217000-7f1f7c219000 rw-p 0017c000 fc:00 8392949 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 | |
7f1f7c219000-7f1f7c21d000 rw-p 00000000 00:00 0 | |
7f1f7c21d000-7f1f7c220000 r-xp 00000000 fc:00 262189 /lib/x86_64-linux-gnu/libdl-2.23.so | |
7f1f7c220000-7f1f7c41f000 ---p 00003000 fc:00 262189 /lib/x86_64-linux-gnu/libdl-2.23.so | |
7f1f7c41f000-7f1f7c420000 r--p 00002000 fc:00 262189 /lib/x86_64-linux-gnu/libdl-2.23.so | |
7f1f7c420000-7f1f7c421000 rw-p 00003000 fc:00 262189 /lib/x86_64-linux-gnu/libdl-2.23.so | |
7f1f7c421000-7f1f7c428000 r-xp 00000000 fc:00 262183 /lib/x86_64-linux-gnu/librt-2.23.so | |
7f1f7c428000-7f1f7c627000 ---p 00007000 fc:00 262183 /lib/x86_64-linux-gnu/librt-2.23.so | |
7f1f7c627000-7f1f7c628000 r--p 00006000 fc:00 262183 /lib/x86_64-linux-gnu/librt-2.23.so | |
7f1f7c628000-7f1f7c629000 rw-p 00007000 fc:00 262183 /lib/x86_64-linux-gnu/librt-2.23.so | |
7f1f7c629000-7f1f7c651000 r-xp 00000000 fc:00 262175 /lib/x86_64-linux-gnu/libmvec-2.23.so | |
7f1f7c651000-7f1f7c850000 ---p 00028000 fc:00 262175 /lib/x86_64-linux-gnu/libmvec-2.23.so | |
7f1f7c850000-7f1f7c851000 r--p 00027000 fc:00 262175 /lib/x86_64-linux-gnu/libmvec-2.23.so | |
7f1f7c851000-7f1f7c852000 rw-p 00028000 fc:00 262175 /lib/x86_64-linux-gnu/libmvec-2.23.so | |
7f1f7c852000-7f1f7c95a000 r-xp 00000000 fc:00 262180 /lib/x86_64-linux-gnu/libm-2.23.so | |
7f1f7c95a000-7f1f7cb59000 ---p 00108000 fc:00 262180 /lib/x86_64-linux-gnu/libm-2.23.so | |
7f1f7cb59000-7f1f7cb5a000 r--p 00107000 fc:00 262180 /lib/x86_64-linux-gnu/libm-2.23.so | |
7f1f7cb5a000-7f1f7cb5b000 rw-p 00108000 fc:00 262180 /lib/x86_64-linux-gnu/libm-2.23.so | |
7f1f7cb5b000-7f1f7cb81000 r-xp 00000000 fc:00 262184 /lib/x86_64-linux-gnu/ld-2.23.so | |
7f1f7cd36000-7f1f7cd69000 rw-s 00000000 00:12 226 /run/.rte_config | |
7f1f7cd69000-7f1f7cd70000 rw-p 00000000 00:00 0 | |
7f1f7cd78000-7f1f7cd79000 rw-p 00000000 00:00 0 | |
7f1f7cd79000-7f1f7cd7e000 rw-s 00000000 00:12 495 /run/.rte_hugepage_info | |
7f1f7cd7e000-7f1f7cd80000 rw-p 00000000 00:00 0 | |
7f1f7cd80000-7f1f7cd81000 r--p 00025000 fc:00 262184 /lib/x86_64-linux-gnu/ld-2.23.so | |
7f1f7cd81000-7f1f7cd82000 rw-p 00026000 fc:00 262184 /lib/x86_64-linux-gnu/ld-2.23.so | |
7f1f7cd82000-7f1f7cd83000 rw-p 00000000 00:00 0 | |
7ffe11572000-7ffe11593000 rw-p 00000000 00:00 0 [stack] | |
7ffe115b2000-7ffe115b4000 r--p 00000000 00:00 0 [vvar] | |
7ffe115b4000-7ffe115b6000 r-xp 00000000 00:00 0 [vdso] | |
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] | |
Aborted | |
PMD: i40e_set_tx_function_flag(): Vector tx can be enabled on this txq. | |
PMD: i40e_set_tx_function(): Vector tx finally be used. | |
PMD: i40e_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=1). | |
Done: | |
Core 0: Running stat thread | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
SAFECode: Fault! | |
SAFECode:Violation Type 0x6 when accessing 0x7fd188021000 at IP=0x7fd1d9b5f52e | |
=======+++++++ SAFECODE RUNTIME ALERT +++++++======= | |
= Error type : Load/Store Error | |
= CWE ID : 120 | |
= Faulting pointer : 0x7fd188021000 | |
= Program counter : 0x7fd1d9b5f52e | |
= Fault PC Source : UNKNOWN:0 | |
Aborted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment