-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Crash in (S,G) state when neighbor is lost #22
Comments
Thank you for taking the time to report this issue! However, I cannot read the above code and would rather appreciate
I look forward to your pull request! :) |
I am not setup with git. Our development environment has lots of restrictions. I can discuss the bug with you. Y Sent from my iPhone
|
I can fully understand that, I too have restrictions from my employer, Nevertheless, it is common practice in the Open Source world to at
This eases the work load of the maintainer (me) and provides a very It also speeds up the process of getting changes into the mainline. Thanks |
Looking at the Have you made any analysis of why that code does not run? (Also, that function looks terrible and is in dire need of a bit |
It doesn't check for upstream pointers in the mcast grp entries so later age routes crashes. Sent from my iPhone
|
We are using pimd in an RF environment where network connections come and On Thu, Oct 3, 2013 at 12:53 PM, Yile Ku [email protected] wrote:
|
Signed-off-by: Joachim Nilsson <[email protected]>
I believe the fix in 2619b2a fixes the actual root cause for the bug you reported, and also affects |
Joachim, I am a bit confused due to the differences in the source code. We have Y- On Thu, Dec 26, 2013 at 4:09 PM, Joachim Nilsson
|
Yes, I cleaned it up and renamed the variable names to make the code easier In the above snippet you posted, ask yourself why the last for-loop iterates using For every lap in that last for-loop the same |
I entered into same problem as YileKu at some point and tried both fixes. First simpler one (2619b2a) but it did not help. Then the one YileKu provided and that helped. Problem seems to occur if pimd is already in SG state and then neighbor is lost. |
Signed-off-by: Joachim Nilsson <[email protected]>
Thank you for the report, @idismmxiv, that is very interesting! Since I've not been able to fully |
Patch looks correct one. I will test it at some point but unfortunately can not give you any schedule when. Still using old repo and cherry picking patches, so I have to find some time to check this one. |
No rush, I'm just grateful to have someone verify the fix since I've not been able to reproduce it myself. |
Haven't been able to test with the actual patch troglobit made, as I am still working with old version of pimd. But same changes anyway as in your patch. And after running some more test cases shows still issues. Not so often than earlier, but ... After neigbor is lost pimd crashes and following stack trace is found from core: |
There have been more fixes to the tree that might be what you run into. It's impossible to know since you write "old version" without even specifying what version that is exactly. I do appreciate you testing this, but it's unfortunately almost useless if we do not share the same reference point ... |
Signed-off-by: Joachim Nilsson <[email protected]>
Merged to master, with a few other NULL pointer fixes as well ... this could be a good time to check the current master. |
Looks like version 2.2.0 works just fine. Could not reproduce this error any more. |
@idismmxiv That is truly great news, then we can close this, thank you! :-) |
See issue #37 |
Reopen due to #37. |
In
and in
This for the moment seems to have calmed the storm. |
I take it back, the change to delete_pim_nbr() is not required. |
Any update on suggested fix? |
Interesting, so all you changed was to replace |
Followup to 3aa829c, according to proposal in (the reopened) issue #22. Signed-off-by: Joachim Nilsson <[email protected]>
I had to add the following code to the bottom of delete_pim_nbr():
age_routes was crashing because upstream had been freed, then someone else (timer_setTimer) was allocating the freed memory and clobbering the bjpm pointer.
Y-
The text was updated successfully, but these errors were encountered: