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

Experiencing system crashes with upd sendto #9775

Open
Shark7Pepper opened this issue Jul 11, 2023 · 4 comments
Open

Experiencing system crashes with upd sendto #9775

Shark7Pepper opened this issue Jul 11, 2023 · 4 comments

Comments

@Shark7Pepper
Copy link

Version nuttx8.2. mtu is set to 1500.When I transfer data using udp protocol, using function sendto() with parameter len set to 4096, the system crashes. I want to know why? Does 8.2 support ip segmentation and how do I configure the system?

@acassis
Copy link
Contributor

acassis commented Jul 11, 2023

@Shark7Pepper did you try to reproduce the issue in a recent NuttX version? If the issue still happening in the mainline we will fix it.

@patacongo
Copy link
Contributor

I don't think NuttX UDP supports transfers > sizeof(MTU)

@xiaoxiang781216
Copy link
Contributor

it's possible now If the new ip fragment is enabled.:)

@fjpanag
Copy link
Contributor

fjpanag commented Jul 11, 2023

@Shark7Pepper can you please describe the "crash" that you are facing?

This has been discussed here, and it was fixed in #9423. Is this the same issue that you are facing?

Which arch are you using? At least in the STM32 driver there seems to be an issue that can also cause a crash with large datagrams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants