[GH-ISSUE #957] Access violation when opening a WebCam #2756

Closed
opened 2026-03-01 19:02:10 +03:00 by kerem · 0 comments
Owner

Originally created by @d0vgan on GitHub (Jul 27, 2021).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/957

ScreenToGif 2.32 and 2.33.1 under Windows 8.1 64-bit and under Windows 10 64-bit.
ScreenToGif silently crashes once the "WebCam" button is pressed.
I've built ScreenToGif from the sources and see the following call stack under debugging:

System.AccessViolationException

ScreenToGif.exe!ScreenToGif.Webcam.DirectX.CaptureWebcam.RenderGraph() Line 475 C#
ScreenToGif.exe!ScreenToGif.Webcam.DirectX.CaptureWebcam.StartPreview() Line 201 C#
ScreenToGif.exe!ScreenToGif.Controls.WebcamControl.Refresh() Line 70 C#

What might be the reason and how to fix that?

Originally created by @d0vgan on GitHub (Jul 27, 2021). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/957 ScreenToGif 2.32 and 2.33.1 under Windows 8.1 64-bit and under Windows 10 64-bit. ScreenToGif silently crashes once the "WebCam" button is pressed. I've built ScreenToGif from the sources and see the following call stack under debugging: System.AccessViolationException > ScreenToGif.exe!ScreenToGif.Webcam.DirectX.CaptureWebcam.RenderGraph() Line 475 C# ScreenToGif.exe!ScreenToGif.Webcam.DirectX.CaptureWebcam.StartPreview() Line 201 C# ScreenToGif.exe!ScreenToGif.Controls.WebcamControl.Refresh() Line 70 C# What might be the reason and how to fix that?
kerem closed this issue 2026-03-01 19:02:11 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#2756
No description provided.