-
Notifications
You must be signed in to change notification settings - Fork 581
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]OpenSIPS Crashes when using "reload_routes" #2382
Comments
hey @vtzan , thanks for the report. Do you do any changes on the file, before the reloads? I see the backtrace points to some script execution via timer route - could you do some tests to see if indeed the crash is triggered by the presence of such type of routes? Or do you have a minimal cfg that triggers the crash as reported here ? |
Dear @bogdan-iancu, You are right! (once again) After disabling the timer_route it doesn't crash anymore. The timer route that triggers this crash is as simple as this :
Thank you in advance for your support. Vasilios Tzanoudakis |
Just stumbled across this as well, timer_route crashing in 3.1.1. |
@vtzan , I managed to reproduce the errors, let me dig in to find the problem. |
Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days. |
Just FYI. I have switched to 3.2 and problem is still there. Thank you in advance for your support. Vasilios Tzanoudakis |
Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days. |
sorry for the delay on this, let me resume the digging into this...... |
@vtzan , issue found - the timer routes are triggered as timer jobs where the pointer to the actions (the body of the timer router) is attached to the timer job. So, when a route reload happens, the timer jobs (with their pointers to actions) is not changed, pointing to some actions (routes) that do not exist anymore . |
Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days. |
Any update on this point ? |
Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days. |
. |
Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days. |
The underlying problem here is more systemic , not related only to the timer routes, but to other parts of the code that need to keep references to the routes, routes that may now change. |
This should be fixed with fce0eae on head / 3.4 . Let's give it a try and if it holds, we can consider a bakport |
OpenSIPS version you are running
Crash Core Dump
https://pastebin.com/G2q31Hki
Describe the traffic that generated the bug
To Reproduce
Relevant System Logs
OS/environment information
Thank you in advance for your support.
Vasilios Tzanoudakis
The text was updated successfully, but these errors were encountered: