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

ui: preview driver monitor crashes UI on exit #34409

Closed
sunnyhaibin opened this issue Jan 17, 2025 · 2 comments · Fixed by #34412
Closed

ui: preview driver monitor crashes UI on exit #34409

sunnyhaibin opened this issue Jan 17, 2025 · 2 comments · Fixed by #34412
Assignees
Labels
Milestone

Comments

@sunnyhaibin
Copy link
Contributor

sunnyhaibin commented Jan 17, 2025

Describe the bug

IMG_4909.mov

Provide a route where the issue occurs

69cd3a350561a4d8

openpilot version

c515021

Additional info

No response

@deanlee
Copy link
Contributor

deanlee commented Jan 18, 2025

I believe this issue is not related to the UI itself. The UI is being terminated by the watchdog due to a VIPC issue, which may occur after repeated connect/disconnect with the VIPC server (after camerad restarted). commaai/msgq#624

#29769 refactors DriverView to disconnect from the VIPC server after the preview, which makes this VIPC bug easier to trigger. Previously, the VIPC connection stayed active with camerad even after the preview.

Has this already been resolved with commaai/msgq#638 ?

@deanlee
Copy link
Contributor

deanlee commented Jan 18, 2025

There are actually several different issues causing the UI to crash and trigger a restart:

  1. ui: SIGABRT crash in Wayland client after CameraView destructor #34411
  2. vipc issues: Properly checking the return value of ipc_sendrecv_with_fds msgq#624. which causes an assertion failure on repeated connect/disconnect:
    ui: msgq_repo/msgq/visionipc/visionipc_client.cc:128: static std::set<VisionStreamType> VisionIpcClient::getAvailableStreams(const std::string &, bool): Assertionr == sizeof(request)' failed.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants