DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6
@ 2019-05-27 16:50 bugzilla
  2019-06-18 10:45 ` David Marchand
  0 siblings, 1 reply; 6+ messages in thread
From: bugzilla @ 2019-05-27 16:50 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=285

            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 available
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 
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=0x100215e40, key=0x7fffffff76a0,
entry=0x7fffffff7520, key_found=0x7fffffff74dc, entry_ptr=0x7fffffff7530)
    at /home/dmarchan/git/pub/dpdk/lib/librte_table/rte_table_lpm_ipv6.c:236
236             lpm->nht_users[nht_pos0] -= nht_pos0_valid;

(gdb) bt
#0  rte_table_lpm_ipv6_entry_add (table=0x100215e40, key=0x7fffffff76a0,
entry=0x7fffffff7520, key_found=0x7fffffff74dc, entry_ptr=0x7fffffff7530)
    at /home/dmarchan/git/pub/dpdk/lib/librte_table/rte_table_lpm_ipv6.c:236
#1  0x00000000004ac437 in test_table_type (table_ops=0xfb4dc0
<rte_table_lpm_ipv6_ops>, table_args=table_args@entry=0x7fffffff76c0,
key=<optimized out>, table_packets=table_packets@entry=0x7fffffff76e0, 
    n_ops=0, manage_ops=0x0) 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=0x7fffffff7c20,
cl=<optimized out>, data=<optimized out>) at
/home/dmarchan/git/pub/dpdk/app/test/commands.c:76
#5  0x0000000000682f0d in cmdline_parse (cl=cl@entry=0x95b4690, buf=0x95b46d8
"table_autotest \n") at
/home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline_parse.c:295
#6  0x0000000000681eb0 in cmdline_valid_buffer (rdl=<optimized out>,
buf=<optimized out>, size=<optimized out>) at
/home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline.c:31
#7  0x0000000000684dc4 in rdline_char_in (rdl=rdl@entry=0x95b46a0, c=10 '\n')
at /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline_rdline.c:421
#8  0x0000000000681bcc in cmdline_in (cl=cl@entry=0x95b4690,
buf=buf@entry=0x7fffffffdd20 "\n\377", size=1) at
/home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline.c:148
#9  0x000000000068215b in cmdline_interact (cl=cl@entry=0x95b4690) at
/home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline.c:227
#10 0x00000000004806cc in main (argc=<optimized out>, argv=<optimized out>) at
/home/dmarchan/git/pub/dpdk/app/test/test.c:184

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6
  2019-05-27 16:50 [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6 bugzilla
@ 2019-06-18 10:45 ` David Marchand
  2019-06-28 14:29   ` David Marchand
  0 siblings, 1 reply; 6+ messages in thread
From: David Marchand @ 2019-06-18 10:45 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: dev

Hello Christian,

Could you have a look at this?
Is there someone working on it?
We will have to disable the table unit tests in CI otherwise.


Thanks.

-- 
David Marchand

On Mon, May 27, 2019 at 6:50 PM <bugzilla@dpdk.org> wrote:

> https://bugs.dpdk.org/show_bug.cgi?id=285
>
>             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
> available
> 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
> 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=0x100215e40, key=0x7fffffff76a0,
> entry=0x7fffffff7520, key_found=0x7fffffff74dc, entry_ptr=0x7fffffff7530)
>     at
> /home/dmarchan/git/pub/dpdk/lib/librte_table/rte_table_lpm_ipv6.c:236
> 236             lpm->nht_users[nht_pos0] -= nht_pos0_valid;
>
> (gdb) bt
> #0  rte_table_lpm_ipv6_entry_add (table=0x100215e40, key=0x7fffffff76a0,
> entry=0x7fffffff7520, key_found=0x7fffffff74dc, entry_ptr=0x7fffffff7530)
>     at
> /home/dmarchan/git/pub/dpdk/lib/librte_table/rte_table_lpm_ipv6.c:236
> #1  0x00000000004ac437 in test_table_type (table_ops=0xfb4dc0
> <rte_table_lpm_ipv6_ops>, table_args=table_args@entry=0x7fffffff76c0,
> key=<optimized out>, table_packets=table_packets@entry=0x7fffffff76e0,
>     n_ops=0, manage_ops=0x0) 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=0x7fffffff7c20,
> cl=<optimized out>, data=<optimized out>) at
> /home/dmarchan/git/pub/dpdk/app/test/commands.c:76
> #5  0x0000000000682f0d in cmdline_parse (cl=cl@entry=0x95b4690,
> buf=0x95b46d8
> "table_autotest \n") at
> /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline_parse.c:295
> #6  0x0000000000681eb0 in cmdline_valid_buffer (rdl=<optimized out>,
> buf=<optimized out>, size=<optimized out>) at
> /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline.c:31
> #7  0x0000000000684dc4 in rdline_char_in (rdl=rdl@entry=0x95b46a0, c=10
> '\n')
> at /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline_rdline.c:421
> #8  0x0000000000681bcc in cmdline_in (cl=cl@entry=0x95b4690,
> buf=buf@entry=0x7fffffffdd20 "\n\377", size=1) at
> /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline.c:148
> #9  0x000000000068215b in cmdline_interact (cl=cl@entry=0x95b4690) at
> /home/dmarchan/git/pub/dpdk/lib/librte_cmdline/cmdline.c:227
> #10 0x00000000004806cc in main (argc=<optimized out>, argv=<optimized
> out>) at
> /home/dmarchan/git/pub/dpdk/app/test/test.c:184
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6
  2019-06-18 10:45 ` David Marchand
@ 2019-06-28 14:29   ` David Marchand
  2019-06-28 14:37     ` Dumitrescu, Cristian
  0 siblings, 1 reply; 6+ messages in thread
From: David Marchand @ 2019-06-28 14:29 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: dev, Thomas Monjalon, Yigit, Ferruh

On Tue, Jun 18, 2019 at 12:45 PM David Marchand <david.marchand@redhat.com>
wrote:

> Hello Christian,
>
> Could you have a look at this?
> Is there someone working on it?
> We will have to disable the table unit tests in CI otherwise.
>
>
Ping ?


-- 
David Marchand

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6
  2019-06-28 14:29   ` David Marchand
@ 2019-06-28 14:37     ` Dumitrescu, Cristian
  2019-06-28 14:42       ` Pattan, Reshma
  0 siblings, 1 reply; 6+ messages in thread
From: Dumitrescu, Cristian @ 2019-06-28 14:37 UTC (permalink / raw)
  To: David Marchand
  Cc: dev, Thomas Monjalon, Yigit, Ferruh, Singh, Jasvinder, Pattan, Reshma

Hi David,

Jasvinder and Reshma mentioned this is looked at by someone in our team. Reshma, can you please add the relevant person to this email and have them take ownership of this issue in Bugzilla.

Thanks,
Cristian

From: David Marchand [mailto:david.marchand@redhat.com]
Sent: Friday, June 28, 2019 3:30 PM
To: Dumitrescu, Cristian <cristian.dumitrescu@intel.com>
Cc: dev <dev@dpdk.org>; Thomas Monjalon <thomas@monjalon.net>; Yigit, Ferruh <ferruh.yigit@intel.com>
Subject: Re: [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6

On Tue, Jun 18, 2019 at 12:45 PM David Marchand <david.marchand@redhat.com<mailto:david.marchand@redhat.com>> wrote:
Hello Christian,

Could you have a look at this?
Is there someone working on it?
We will have to disable the table unit tests in CI otherwise.


Ping ?


--
David Marchand



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6
  2019-06-28 14:37     ` Dumitrescu, Cristian
@ 2019-06-28 14:42       ` Pattan, Reshma
  2019-06-28 14:45         ` David Marchand
  0 siblings, 1 reply; 6+ messages in thread
From: Pattan, Reshma @ 2019-06-28 14:42 UTC (permalink / raw)
  To: Dumitrescu, Cristian, David Marchand
  Cc: dev, Thomas Monjalon, Yigit, Ferruh, Singh, Jasvinder,
	Parthasarathy, JananeeX M

+CC; Jananee.  Can someone assign Bugzilla bug to Janannee.

From: Dumitrescu, Cristian
Sent: Friday, June 28, 2019 3:37 PM
To: David Marchand <david.marchand@redhat.com>
Cc: dev <dev@dpdk.org>; Thomas Monjalon <thomas@monjalon.net>; Yigit, Ferruh <ferruh.yigit@intel.com>; Singh, Jasvinder <jasvinder.singh@intel.com>; Pattan, Reshma <reshma.pattan@intel.com>
Subject: RE: [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6

Hi David,

Jasvinder and Reshma mentioned this is looked at by someone in our team. Reshma, can you please add the relevant person to this email and have them take ownership of this issue in Bugzilla.

Thanks,
Cristian

From: David Marchand [mailto:david.marchand@redhat.com]
Sent: Friday, June 28, 2019 3:30 PM
To: Dumitrescu, Cristian <cristian.dumitrescu@intel.com<mailto:cristian.dumitrescu@intel.com>>
Cc: dev <dev@dpdk.org<mailto:dev@dpdk.org>>; Thomas Monjalon <thomas@monjalon.net<mailto:thomas@monjalon.net>>; Yigit, Ferruh <ferruh.yigit@intel.com<mailto:ferruh.yigit@intel.com>>
Subject: Re: [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6

On Tue, Jun 18, 2019 at 12:45 PM David Marchand <david.marchand@redhat.com<mailto:david.marchand@redhat.com>> wrote:
Hello Christian,

Could you have a look at this?
Is there someone working on it?
We will have to disable the table unit tests in CI otherwise.


Ping ?


--
David Marchand



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6
  2019-06-28 14:42       ` Pattan, Reshma
@ 2019-06-28 14:45         ` David Marchand
  0 siblings, 0 replies; 6+ messages in thread
From: David Marchand @ 2019-06-28 14:45 UTC (permalink / raw)
  To: Pattan, Reshma
  Cc: Dumitrescu, Cristian, dev, Thomas Monjalon, Yigit, Ferruh, Singh,
	Jasvinder, Parthasarathy, JananeeX M

On Fri, Jun 28, 2019 at 4:43 PM Pattan, Reshma <reshma.pattan@intel.com>
wrote:

> +CC; Jananee.  Can someone assign Bugzilla bug to Janannee
>

Sure.
Thanks.


-- 
David Marchand

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-28 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 16:50 [dpdk-dev] [Bug 285] rte_table unit test crashes in ipv6 bugzilla
2019-06-18 10:45 ` David Marchand
2019-06-28 14:29   ` David Marchand
2019-06-28 14:37     ` Dumitrescu, Cristian
2019-06-28 14:42       ` Pattan, Reshma
2019-06-28 14:45         ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).