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

TSC Service Throws Segfault when Channel Table includes vehicle/pedestrian phase that do not have a Control Source #264

Open
2 tasks
paulbourelly999 opened this issue Nov 22, 2022 · 0 comments
Labels
anomaly Something isn't working

Comments

@paulbourelly999
Copy link
Collaborator

Types of Issue

  • [ x] Anomaly report (something appears to not work correctly)
  • Enhancement request (describe the enhancement being requested)
  • Other (please ensure the description clarifies why the issue doesn’t fall into either of the above categories)

Descriptive summary

TSC Service queries the channelTable (NTCIP 1202) from the Traffic Signal Controller on startup to obtain Signal Group Id (J2735) to Phase/Overlay Number mapping. If it encounters any vehicle or pedestrian entries in the table which do not have Control Source (Phase Number) it throws a segmentation fault.

Carma streets version where this issue was discovered

Latest

Expected behavior

Any vehicle or pedestrian entries in the Channel Table should be ignored if they do not have a channel source since this means they do not map to an active phase.

Actual behavior

TSC Service queries the channelTable (NTCIP 1202) from the Traffic Signal Controller on startup to obtain Signal Group Id (J2735) to Phase/Overlay Number mapping. If it encounters any vehicle or pedestrian entries in the table which do not have Control Source (Phase Number) it throws a segmentation fault.

Steps to reproduce the actual behavior

  1. Deploy CARMA-Streets with a TSC that has Channel Table entries for vehicle or pedestrian phases that are not currently being used.

Related work

@paulbourelly999 paulbourelly999 added the anomaly Something isn't working label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anomaly Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant