Skip to contentSkip to conversation

tap stop fails because of 'tap_lsc_intr_handle_set()' failure

Bug 932 [email protected] 2 participants 3 messages Feb 1, 2022 – Feb 28, 2024

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 932
           Summary: tap stop fails because of 'tap_lsc_intr_handle_set()'
                    failure
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Reproduced with testpmd with following command flow:

./build/app/dpdk-testpmd --vdev net_tap0 --vdev net_tap1 --vdev net_tap2 -- -i

Quoted 3 lines

start tx_first
stop
quit

Log:
Stopping port 2...
Stopping ports...
tap_lsc_intr_handle_set(): intr callback unregister failed: -2 free(): invalid pointer
Aborted (core dumped)

Quick debug shows that in 'pmd->intr_handle->fd' is '0' may be reason of the error.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw
Quoted 40 lines · On Tue, Feb 1, 2022, 10:34 PM <[email protected]> wrote:

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

            Bug ID: 932
           Summary: tap stop fails because of 'tap_lsc_intr_handle_set()'
                    failure
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Reproduced with testpmd with following command flow:

./build/app/dpdk-testpmd --vdev net_tap0 --vdev net_tap1 --vdev net_tap2 -- -i

Quoted 3 lines

start tx_first
stop
quit

Log:
Stopping port 2...
Stopping ports...
tap_lsc_intr_handle_set(): intr callback unregister failed: -2 free(): invalid pointer
Aborted (core dumped)

Quick debug shows that in 'pmd->intr_handle->fd' is '0' may be reason of the
error.
Ferruh, I think this because of the intr_vec, so there should be a way to differentiate if vec was used or not ? Or should we just assume that if the fd is 0 then intr_vec was installed. ?

Quoted 2 lines

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

#2 lore raw
In reply to [email protected]

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

Stephen Hemminger ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Stephen Hemminger ([email protected]) --- Can not reproduce with current code.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.