From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 461D0A045E for ; Mon, 27 May 2019 18:50:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12274F94; Mon, 27 May 2019 18:50:20 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 33) id 235C2F94; Mon, 27 May 2019 18:50:18 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Mon, 27 May 2019 16:50:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: david.marchand@redhat.com X-Bugzilla-Status: CONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D285 Bug ID: 285 Summary: rte_table unit test crashes in ipv6 Product: DPDK Version: unspecified Hardware: All OS: All Status: CONFIRMED Severity: major Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: david.marchand@redhat.com CC: cristian.dumitrescu@intel.com Target Milestone: --- Starting the table_autotest ut on current master, with 2048 hugepages avail= able and 8 cores triggers a crash in librte_table: (gdb) run -c 0xff Starting program: /home/dmarchan/git/pub/dpdk/./master/app/test -c 0xff [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". EAL: Detected 8 lcore(s) EAL: Detected 1 NUMA nodes [New Thread 0x7ffff6cc1700 (LWP 28387)] EAL: Multi-process socket /var/run/dpdk/rte/mp_socket [New Thread 0x7ffff64c0700 (LWP 28388)] EAL: No available hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... [New Thread 0x7ffff5cbf700 (LWP 28389)] [New Thread 0x7ffff54be700 (LWP 28390)] [New Thread 0x7ffff4cbd700 (LWP 28391)] [New Thread 0x7ffff44bc700 (LWP 28392)] [New Thread 0x7ffff3cbb700 (LWP 28394)] [New Thread 0x7ffff34ba700 (LWP 28395)] [New Thread 0x7ffff2cb9700 (LWP 28396)] EAL: PCI device 0000:00:1f.6 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:15d7 net_e1000_em APP: HPET is not enabled, using TSC as default timer RTE>>table_autotest=20 Getting/Creating the mempool ... [...] ************Table tests************ -------------- RUNNING TEST - test_table_lpm_combined -------------- Expected 50, got 50 Expected 0, got 0 Expected 25, got 25 Expected 1, got 1 Expected 0, got 0 Change entry action Expected 0, got 0 Expected 50, got 50 delete entry TABLE: rte_table_lpm_create: Invalid n_rules PIPELINE: rte_pipeline_table_create: Table creation failed TABLE: rte_table_lpm_entry_add: invalid depth (0) TABLE: rte_table_lpm_entry_add: invalid depth (33) -------------- RUNNING TEST - test_table_lpm_ipv6_combined -------------- Program received signal SIGSEGV, Segmentation fault. rte_table_lpm_ipv6_entry_add (table=3D0x100215e40, key=3D0x7fffffff76a0, entry=3D0x7fffffff7520, key_found=3D0x7fffffff74dc, entry_ptr=3D0x7fffffff7= 530) at /home/dmarchan/git/pub/dpdk/lib/librte_table/rte_table_lpm_ipv6.c:236 236 lpm->nht_users[nht_pos0] -=3D nht_pos0_valid; (gdb) bt #0 rte_table_lpm_ipv6_entry_add (table=3D0x100215e40, key=3D0x7fffffff76a0, entry=3D0x7fffffff7520, key_found=3D0x7fffffff74dc, entry_ptr=3D0x7fffffff7= 530) at /home/dmarchan/git/pub/dpdk/lib/librte_table/rte_table_lpm_ipv6.c:236 #1 0x00000000004ac437 in test_table_type (table_ops=3D0xfb4dc0 , table_args=3Dtable_args@entry=3D0x7fffffff76c0, key=3D, table_packets=3Dtable_packets@entry=3D0x7fffffff76e0= ,=20 n_ops=3D0, manage_ops=3D0x0) at /home/dmarchan/git/pub/dpdk/app/test/test_table_combined.c:150 #2 0x00000000004af476 in test_table_lpm_ipv6_combined () at /home/dmarchan/git/pub/dpdk/app/test/test_table_combined.c:379 #3 0x00000000004a2090 in test_table () at /home/dmarchan/git/pub/dpdk/app/test/test_table.c:174 #4 0x000000000048a05b in cmd_autotest_parsed (parsed_result=3D0x7fffffff7c= 20, cl=3D, data=3D) at /home/dmarchan/git/pub/dpdk/app/test/commands.c:76 #5 0x0000000000682f0d in cmdline_parse (cl=3Dcl@entry=3D0x95b4690, buf=3D0= x95b46d8 "table_autotest \n") at /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline_parse.c:295 #6 0x0000000000681eb0 in cmdline_valid_buffer (rdl=3D, buf=3D, size=3D) at /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline.c:31 #7 0x0000000000684dc4 in rdline_char_in (rdl=3Drdl@entry=3D0x95b46a0, c=3D= 10 '\n') at /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline_rdline.c:421 #8 0x0000000000681bcc in cmdline_in (cl=3Dcl@entry=3D0x95b4690, buf=3Dbuf@entry=3D0x7fffffffdd20 "\n\377", size=3D1) at /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline.c:148 #9 0x000000000068215b in cmdline_interact (cl=3Dcl@entry=3D0x95b4690) at /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline.c:227 #10 0x00000000004806cc in main (argc=3D, argv=3D) at /home/dmarchan/git/pub/dpdk/app/test/test.c:184 --=20 You are receiving this mail because: You are the assignee for the bug.=