You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A crash can be triggered by loading a camera stream, e.g., with a dashboard or visiting the URL directly, disconnecting the camera, and then reloading the camera stream.
To Reproduce
Steps to reproduce the behavior:
Add CameraServer.startAutomaticCapture(); to your robot program.
Start the simulator.
Load the camera stream and observe your camera working.
On Windows 11, go into the Settings app and disable the camera. The image from the camera stream should now be frozen (since the camera got disconnected.)
Reload the camera stream. Observe a crash.
Expected behavior
I expected the behavior to be the same as when the camera was never connected.
Desktop (please complete the following information):
Source Reader error: 0xC00D3EA2
CS: USB Camera 0: Disconnected from \\?\USB#VID_30C9&PID_0065&MI_00#7&2ad6c492&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\GLOBAL
Crashes have not been replicated on a Linux machine or a RIO. It's possible this crash only happens on Windows.
The text was updated successfully, but these errors were encountered:
I suspect it is OS and camera and disable method specific. The other day I was running the simple vision example on my laptop with windows 11 with the webcam and enabled/disabled the camera with the hardware switch on my laptop and it didn't crash.
Describe the bug
A crash can be triggered by loading a camera stream, e.g., with a dashboard or visiting the URL directly, disconnecting the camera, and then reloading the camera stream.
To Reproduce
Steps to reproduce the behavior:
CameraServer.startAutomaticCapture();
to your robot program.Expected behavior
I expected the behavior to be the same as when the camera was never connected.
Desktop (please complete the following information):
Project Version: 2025.1.1
VS Code Version: 1.96.2
WPILib Extension Version: 2025.2.1
C++ Extension Version: 1.23.5
Java Extension Version: 1.38.0
Java Debug Extension Version: 0.58.2024090204
Java Dependencies Extension Version 0.24.1
Java Version: 17
Java Location: C:\Users\Public\wpilib\2025\jdk
Vendor Libraries:
CTRE-Phoenix (v6) (25.2.1)
REVLib (2025.0.2)
Studica (2025.0.1)
URCL (2025.0.1)
WPILib-New-Commands (1.0.0)
Additional context
I see this in the console:
Crashes have not been replicated on a Linux machine or a RIO. It's possible this crash only happens on Windows.
The text was updated successfully, but these errors were encountered: