-
Notifications
You must be signed in to change notification settings - Fork 34
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
Crashed Related to RTCM Connect Time #27
Comments
Looks like the fix has been discovered for this. The sample code below shows a bug which is caused by an operator precedence error (the typedef to "int"). Apparently this code is all over app_rpt and affects all node types. This is not just a chan_voter issue. This will go a long ways towards fixing a major source of long-term instability in app_rpt. ` void main() // ORIGINAL CODE:
// FIXED CODE:
} [root@alarmpi tmp]# ./a.out New Code: |
Over time we've learned that this is issue impacts more than just RTCM the connect time display. Users with other hardware have reported crashes and disconnects occurring around the 600 hour mark. I've seen it with RTCM hardware because that's all I use. But I sense that any two nodes connected to each other on the same server will crash near the 600 hour mark. |
As RTCM nodes are connected to my hub upwards of 500 hours the connect time display becomes negative. Soon thereafter Asterisk begins to behave erratically and eventually crashes or requires a restart. Disconnecting and reconnecting a RTCM node to prevent exceeding that time prevents related crashes. Guessing this would be a chan_voter issue.
The text was updated successfully, but these errors were encountered: