Skip to content

Bug: Numerical result out of range exception #34

@devloberto

Description

@devloberto

I don't know what's changed ... I used the app for weeks / months without any issue.
For a few days now, WebCamControl dies with the following exception when I click on an arrow button to move the insta360 link 2 webcam (or in other words: to change the angle by the "Pan and Tilt" feature) 🙁

This happens with the binary as well as the flatpak.

binary bug view

Version: 1.1.1+7bf90c26a2ff66a1e5e70b1d6d08fa1fb0eb0fa5
System: TUXEDO OS

Exception:

WebCamControl.Core.Exceptions.InteropException: Numerical result out of range
   at WebCamControl.Core.Exceptions.InteropException.ThrowIfError()
   at WebCamControl.Core.Linux.LinuxCameraControl.set_Value(Int32 value)
   at WebCamControl.Core.AngleControl.set_Value(Single value)
   at WebCamControl.Gtk.Widgets.PanAndTiltButtons.<AttachEvents>b__8_3(Object _, EventArgs _)
   at WebCamControl.Gtk.Widgets.PressAndHoldButton.<AttachEvents>b__5_1(GestureClick _, PressedSignalArgs _)
   at GObject.Signal`2.<>c__DisplayClass11_0.<Connect>b__0(Value returnValue, Value[] parameters)
   at GObject.Closure.InternalCallback(IntPtr closure, IntPtr returnValuePtr, UInt32 nParamValues, IntPtr paramValuesData, IntPtr invocationHint, IntPtr userData)

flatpak bug view

Version: 1.1.1+7bf90c26a2ff66a1e5e70b1d6d08fa1fb0eb0fa5
System: GNOME 47 (Flatpak runtime)

Exception:

WebCamControl.Core.Exceptions.InteropException: Numerical result out of range
   at WebCamControl.Core.Exceptions.InteropException.ThrowIfError() in /run/build/WebCamControl/src/WebCamControl.Core/Exceptions/InteropException.cs:line 21
   at WebCamControl.Core.Linux.LinuxCameraControl.set_Value(Int32 value) in /run/build/WebCamControl/src/WebCamControl.Core/Linux/LinuxCameraControl.cs:line 82
   at WebCamControl.Core.AngleControl.set_Value(Single value) in /run/build/WebCamControl/src/WebCamControl.Core/AngleControl.cs:line 19
   at WebCamControl.Gtk.Widgets.PanAndTiltButtons.<AttachEvents>b__8_1(Object _, EventArgs _) in /run/build/WebCamControl/src/WebCamControl.Gtk/Widgets/PanAndTiltButtons.cs:line 45
   at WebCamControl.Gtk.Widgets.PressAndHoldButton.<AttachEvents>b__5_1(GestureClick _, PressedSignalArgs _) in /run/build/WebCamControl/src/WebCamControl.Gtk/Widgets/PressAndHoldButton.cs:line 29
   at GObject.Signal`2.<>c__DisplayClass11_0.<Connect>b__0(Value returnValue, Value[] parameters)
   at GObject.Closure.InternalCallback(IntPtr closure, IntPtr returnValuePtr, UInt32 nParamValues, IntPtr paramValuesData, IntPtr invocationHint, IntPtr userData)

flatpak screencast

Screencast_2026-01-21_11.18.11.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions