Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] possible locking issue in uart_putxmitchar #14845

Open
1 task done
yamt opened this issue Nov 19, 2024 · 0 comments
Open
1 task done

[BUG] possible locking issue in uart_putxmitchar #14845

yamt opened this issue Nov 19, 2024 · 0 comments
Labels
Arch: all Issues that apply to all architectures Area: Drivers Drivers issues OS: Mac Issues related to MacOS (building system, etc) Type: Bug Something isn't working

Comments

@yamt
Copy link
Contributor

yamt commented Nov 19, 2024

Description / Steps to reproduce the issue

uart_putxmitchar seems to assume that the caller is holding dev->xmit.lock.
but it doesn't seem to be the case when called by uart_read.

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: all]

Issue Area

[Area: Drivers]

Verification

  • I have verified before submitting the report.
@yamt yamt added the Type: Bug Something isn't working label Nov 19, 2024
@github-actions github-actions bot added Arch: all Issues that apply to all architectures Area: Drivers Drivers issues OS: Mac Issues related to MacOS (building system, etc) labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: all Issues that apply to all architectures Area: Drivers Drivers issues OS: Mac Issues related to MacOS (building system, etc) Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant