Skip to content

[BUG] double unlock in esp32_serial.c #14594

Closed

Description

@yamt

Description / Steps to reproduce the issue

see

spin_unlock_irqrestore(&priv->lock, flags);
uart_xmitchars(dev);
#endif
}
else
{
/* Disable the TX interrupt */
modifyreg32(UART_INT_ENA_REG(priv->config->id),
(UART_TX_DONE_INT_ENA | UART_TXFIFO_EMPTY_INT_ENA), 0);
}
spin_unlock_irqrestore(&priv->lock, flags);

and find the consecutive spin_unlock_irqrestore calls on the same lock.

On which OS does this issue occur?

[OS: Mac]

What is the version of your OS?

macOS 14.7

NuttX Version

master

Issue Architecture

[Arch: xtensa]

Issue Area

[Area: Drivers]

Verification

  • I have verified before submitting the report.

Activity

  1. added
    Type: Bug
    on Nov 1, 2024
  2. added
    Arch: xtensa
    Area: Drivers
    OS: Mac
    on Nov 1, 2024
  3. acassis commented on Nov 1, 2024

    @acassis
    Contributor
  4. added a commit that references this issue on Oct 18, 2026
    59fa92a
  5. added a commit that references this issue on Oct 18, 2026
    dcd135d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Arch: xtensaArea: DriversOS: MacType: Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions