|
Bugzilla – Full Text Bug Listing |
| Summary: | crash if ending rx while status change is in progress | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Luca Dariz <luca.dariz> |
| Component: | lr-wpan | Assignee: | Tom Henderson <tomh> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | luca.dariz, ns-bugs, tommaso.pecorella |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: |
simple test case
possible bugfix |
||
Created attachment 1905 [details]
possible bugfix
The patch is untested. No, it's tested. MAYBE it's tested.
The tests are passing, almost. I had to "fix" one of them (the collision one) because in one specific sub-clause one packet is now received, and before none was received.
Hi Tommaso, thank you, this patch works also for my simulation. changeset 11346 a8900f6fe42d |
Created attachment 1903 [details] simple test case When receiving more than one packet (collision), if at the moment of receiving the second packet a state change is in progress the simulator will crash, as the currentRxParams have been cleared and the state is still BUSY_RX. I attach a test case able to reproduce the bug, I am not sure how this case should be handled.