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

BUG REVIEW: SMARTS segfault #745

Closed
wants to merge 2 commits into from
Closed

BUG REVIEW: SMARTS segfault #745

wants to merge 2 commits into from

Conversation

Gamenot
Copy link
Collaborator

@Gamenot Gamenot commented Apr 7, 2021

@sah-huawei
Run this example like python3.7 examples/low_level.py scenarios/loop.

@Gamenot Gamenot requested a review from sah-huawei April 7, 2021 23:04
@Gamenot Gamenot changed the base branch from master to develop April 7, 2021 23:05
smarts.step({})
smarts.attach_sensors_to_vehicles(
agent_spec, smarts.vehicle_index.social_vehicle_ids()
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When a social vehicle enters a bubble, sensors are also added to the vehicle, which causes this test to be non-deterministic -- it will sometimes assert from trying to add a sensor twice because of that.

Copy link
Collaborator Author

@Gamenot Gamenot Apr 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two things I could note here:

It is disconcerting that this is non-deterministic, I am unsure what the cause is here but we should get to the bottom of it. I think I will want to merge in the crash generator from #619 and create a variation to try testing for crashes and general determinism.

And the other is that the sensor replacement problem seems to relate to #411.

@Gamenot Gamenot changed the title Bug SMARTS segfault BUG REVIEW: SMARTS segfault Apr 11, 2021
@Gamenot Gamenot closed this Apr 27, 2021
@Gamenot Gamenot deleted the bug-smarts_segfault branch April 28, 2021 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants