Page 1 of 1

Bug, GPIO disconnect

Posted: 19 Jun 2024 20:12
by wesleyw
Hi Bernd,

Since the last Windows updates I have been having problems with the GPIO.
It switches off my Velleman and D&R Airence every time ProppFrexx is started.
Even if they are on.
This also happens during the live broadcast, which means that the GPIO always has to be restarted manually.

It's been a while since the last update of ProppFrexx.

When will there be a new update with bug fixing?

Kind regards, Wesley

Re: Bug, GPIO disconnect

Posted: 19 Jun 2024 21:30
by radio42
I don’t see or experience or can reproduce such issue.
So how could I provide a fix?

I assume, that when the issue was introduced by a windows update, that something got broken in your environment. It is also strange, that both Velleman and D&R disconnect at the same time.

So please don’t reboot of your system and check the connection to ProppFrexx as well as your settings.

Re: Bug, GPIO disconnect

Posted: 19 Jun 2024 23:30
by wesleyw
Hi Bernd,

Here the Error log of the last update.

25-2-2024 14:03:43 [v4.4.4.0]:********** Error/Exception Information **********
Error Message: Value Dispose() cannot be called while doing CreateHandle().
Error Type: System.InvalidOperationException
Error Source: System.Windows.Forms.Void Dispose(Boolean)
********** System Stack Trace **********
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at DevExpress.XtraSplashScreen.ThreadManagerBase.ThreadEntryPointCore(ThreadParameters params)
at DevExpress.XtraSplashScreen.ThreadManagerBase.ThreadEntryPoint(Object params)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.ErrorDialog.GetExceptionInfo(Exception e, Boolean full)
at ProppFrexx.ProppFrexx_ONAIR.h0py(Exception )
at ProppFrexx.ProppFrexx_ONAIR.F0p2(Exception )
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at DevExpress.XtraSplashScreen.ThreadManagerBase.ThreadEntryPointCore(ThreadParameters params)
at DevExpress.XtraSplashScreen.ThreadManagerBase.ThreadEntryPoint(Object params)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
********** End **********

24-3-2024 18:53:45 [v4.4.4.3]:********** Error/Exception Information **********
Error Message: Error creating window handle.
Error Type: System.ComponentModel.Win32Exception
Error Source: System.Windows.Forms.Void CreateHandle(System.Windows.Forms.CreateParams)
********** System Stack Trace **********
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at DevExpress.XtraEditors.PopupContainerControl.ForceCreateHandle(Control control)
at DevExpress.XtraEditors.PopupContainerControl.ForceCreateHandle(Control control)
at DevExpress.XtraEditors.PopupContainerControl.ForceCreateHandle(Control control)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at DevExpress.XtraEditors.XtraUserControl.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at DevExpress.XtraEditors.XtraUserControl.BaseWndProc(Message& m)
at DevExpress.XtraEditors.XtraUserControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.ErrorDialog.GetExceptionInfo(Exception e, Boolean full)
at ProppFrexx.ProppFrexx_ONAIR.vmnT(Exception )
at ProppFrexx.ProppFrexx_ONAIR.bmn2(Exception )
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at ProppFrexx.DJPlayer.DJPlayerInit(OutputMixer output, String name, Playlist pls)
at ProppFrexx.Playlist.InitPlaylist(Boolean startedByScheduler, Boolean useAlternativeOutput)
at ProppFrexx.ProppFrexx_ONAIR.CreateNewPlaylist(String fileName, Boolean autoStart, String innerPlaylistName, Int32 numPlayers, PlaylistTemplate plsTemplate, Nullable`1 scheduledDateTime, Boolean forceNoLock)
at ProppFrexx.ProppFrexx_ONAIR.TmXo(Object , ItemClickEventArgs )
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPressItem(DXMouseEventArgs e, RibbonHitInfo hitInfo)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.RibbonControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.XtraControl.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.BaseWndProc(Message& m)
at DevExpress.XtraBars.Ribbon.RibbonControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.Win32SubclasserFactory.Win32Subclasser.SubClassProcInner(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at JQ.mx.Main(String[] args)
********** End **********

24-3-2024 18:53:45 [v4.4.4.3]:********** Error/Exception Information **********
Error Message: Exception has been thrown by the target of an invocation.
Error Type: System.Reflection.TargetInvocationException
Error Source: mscorlib.Void SerializationInvoke(System.IRuntimeMethodInfo, System.Object, System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext ByRef)
Inner Exception: Het actieve proces heeft alle toegestane systeemingangen gebruikt voor Windows-beheerobjecten
********** System Stack Trace **********
at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at ProppFrexx.ErrorDialog.v6QI()
at ProppFrexx.ErrorDialog..ctor(Exception e, Boolean getFullInfo)
at ProppFrexx.ProppFrexx_ONAIR.bmn2(Exception )
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Error Message: Het actieve proces heeft alle toegestane systeemingangen gebruikt voor Windows-beheerobjecten
Error Type: System.ComponentModel.Win32Exception
Error Source: System.Drawing.Void Initialize(Int32, Int32)
********** System Stack Trace **********
at System.Drawing.Icon.Initialize(Int32 width, Int32 height)
********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.ErrorDialog.GetExceptionInfo(Exception e, Boolean full)
at ProppFrexx.ProppFrexx_ONAIR.vmnT(Exception )
at ProppFrexx.ProppFrexx_ONAIR.bmn2(Exception )
at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at ProppFrexx.ErrorDialog.v6QI()
at ProppFrexx.ErrorDialog..ctor(Exception e, Boolean getFullInfo)
at ProppFrexx.ProppFrexx_ONAIR.bmn2(Exception )
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at ProppFrexx.DJPlayer.DJPlayerInit(OutputMixer output, String name, Playlist pls)
at ProppFrexx.Playlist.InitPlaylist(Boolean startedByScheduler, Boolean useAlternativeOutput)
at ProppFrexx.ProppFrexx_ONAIR.CreateNewPlaylist(String fileName, Boolean autoStart, String innerPlaylistName, Int32 numPlayers, PlaylistTemplate plsTemplate, Nullable`1 scheduledDateTime, Boolean forceNoLock)
at ProppFrexx.ProppFrexx_ONAIR.TmXo(Object , ItemClickEventArgs )
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPressItem(DXMouseEventArgs e, RibbonHitInfo hitInfo)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.RibbonControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.XtraControl.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.BaseWndProc(Message& m)
at DevExpress.XtraBars.Ribbon.RibbonControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.Win32SubclasserFactory.Win32Subclasser.SubClassProcInner(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at JQ.mx.Main(String[] args)
********** End **********

5-6-2024 14:46:15 [v4.4.4.5]:********** Error/Exception Information **********
Error Message: Error creating window handle.
Error Type: System.ComponentModel.Win32Exception
Error Source: System.Windows.Forms.Void CreateHandle(System.Windows.Forms.CreateParams)
********** System Stack Trace **********
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at DevExpress.XtraEditors.XtraUserControl.BaseWndProc(Message& m)
at DevExpress.XtraEditors.XtraUserControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.ErrorDialog.GetExceptionInfo(Exception e, Boolean full)
at ProppFrexx.ProppFrexx_ONAIR.Wlrh(Exception )
at ProppFrexx.ProppFrexx_ONAIR.Olr1(Exception )
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.Win32SubclasserFactory.Win32Subclasser.SubClassProcInner(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
at System.Windows.Forms.UnsafeNativeMethods.SetParent(HandleRef hWnd, HandleRef hWndParent)
at System.Windows.Forms.UnsafeNativeMethods.SetParent(HandleRef hWnd, HandleRef hWndParent)
at System.Windows.Forms.Control.SetParentHandle(IntPtr value)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at DevExpress.XtraEditors.DForm.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at DevExpress.XtraBars.Ribbon.RibbonForm.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at DevExpress.XtraEditors.XtraForm.CreateHandle()
at DevExpress.XtraBars.Ribbon.RibbonForm.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at DevExpress.XtraBars.Ribbon.RibbonForm.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.Show()
at ProppFrexx.ProppFrexx_ONAIR.CreateNewPlaylist(String fileName, Boolean autoStart, String innerPlaylistName, Int32 numPlayers, PlaylistTemplate plsTemplate, Nullable`1 scheduledDateTime, Boolean forceNoLock)
at ProppFrexx.ProppFrexx_ONAIR.NlY9(Object , ItemClickEventArgs )
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPressItem(DXMouseEventArgs e, RibbonHitInfo hitInfo)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.RibbonControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.XtraControl.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.BaseWndProc(Message& m)
at DevExpress.XtraBars.Ribbon.RibbonControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.Win32SubclasserFactory.Win32Subclasser.SubClassProcInner(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at I3.Nd.Main(String[] args)
********** End **********

5-6-2024 14:46:15 [v4.4.4.5]:********** Error/Exception Information **********
Error Message: Exception has been thrown by the target of an invocation.
Error Type: System.Reflection.TargetInvocationException
Error Source: mscorlib.Void SerializationInvoke(System.IRuntimeMethodInfo, System.Object, System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext ByRef)
Inner Exception: Het actieve proces heeft alle toegestane systeemingangen gebruikt voor Windows-beheerobjecten
********** System Stack Trace **********
at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at ProppFrexx.ErrorDialog.j46K()
at ProppFrexx.ErrorDialog..ctor(Exception e, Boolean getFullInfo)
at ProppFrexx.ProppFrexx_ONAIR.Olr1(Exception )
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.Win32SubclasserFactory.Win32Subclasser.SubClassProcInner(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
Error Message: Het actieve proces heeft alle toegestane systeemingangen gebruikt voor Windows-beheerobjecten
Error Type: System.ComponentModel.Win32Exception
Error Source: System.Drawing.Void Initialize(Int32, Int32)
********** System Stack Trace **********
at System.Drawing.Icon.Initialize(Int32 width, Int32 height)
********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.ErrorDialog.GetExceptionInfo(Exception e, Boolean full)
at ProppFrexx.ProppFrexx_ONAIR.Wlrh(Exception )
at ProppFrexx.ProppFrexx_ONAIR.Olr1(Exception )
at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at ProppFrexx.ErrorDialog.j46K()
at ProppFrexx.ErrorDialog..ctor(Exception e, Boolean getFullInfo)
at ProppFrexx.ProppFrexx_ONAIR.Olr1(Exception )
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.Win32SubclasserFactory.Win32Subclasser.SubClassProcInner(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
at System.Windows.Forms.UnsafeNativeMethods.SetParent(HandleRef hWnd, HandleRef hWndParent)
at System.Windows.Forms.UnsafeNativeMethods.SetParent(HandleRef hWnd, HandleRef hWndParent)
at System.Windows.Forms.Control.SetParentHandle(IntPtr value)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at DevExpress.XtraEditors.DForm.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at DevExpress.XtraBars.Ribbon.RibbonForm.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at DevExpress.XtraEditors.XtraForm.CreateHandle()
at DevExpress.XtraBars.Ribbon.RibbonForm.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at DevExpress.XtraBars.Ribbon.RibbonForm.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.Show()
at ProppFrexx.ProppFrexx_ONAIR.CreateNewPlaylist(String fileName, Boolean autoStart, String innerPlaylistName, Int32 numPlayers, PlaylistTemplate plsTemplate, Nullable`1 scheduledDateTime, Boolean forceNoLock)
at ProppFrexx.ProppFrexx_ONAIR.NlY9(Object , ItemClickEventArgs )
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPressItem(DXMouseEventArgs e, RibbonHitInfo hitInfo)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.RibbonControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.XtraControl.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.BaseWndProc(Message& m)
at DevExpress.XtraBars.Ribbon.RibbonControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.Win32SubclasserFactory.Win32Subclasser.SubClassProcInner(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at I3.Nd.Main(String[] args)
********** End **********

Hopefully you can see where the problem is.
I have to shut down my system because it can't stay on 24/7.

I mean switching on manually in main (connected) and setting Velleman and d&R Airence control to ON in the status.

During the live broadcast the connection simply drops, everything is set to ON in the GPIO Client, but the connection between the Velleman and D&R to ProppFrexx is still lost.

I'll be back in the studio on Sunday and I can take a look for you if you need any more information.

Greetings Wesley

Re: Bug, GPIO disconnect

Posted: 20 Jun 2024 07:22
by radio42
The error log you showed is from ProppFrexx ONAIR (and not the GPIO client, where the Velleman and D&R client are implemented) - so that error is not any reason for your issue.

However, the above error happens, when you manually opened a new playlist window by clicking on the ‚New‘ ribbon tab button.
The new playlist window could then not be opened due to a Windows error, as you are running out of resources:
The error message translates to:
„…
The running process has used all allowed system handles for Windows administrative objects
…“

This typically indicates a memory issue. This could also be a symptom of a windows update running in parallel.
Also get a reboot might solve the issue.

Please take a look in the AppUserData folder of the GPIO client application, if you can find an error.log file there as well?

Re: Bug, GPIO disconnect

Posted: 23 Jun 2024 12:20
by wesleyw
Hi Bernd,

Thank you for explaining where the problem could be.

Below are the last 2 logs from the ERROR log GPIO
(there are no recent error messages)

17-10-2021 14:44:13 [v4.2.6.5]:********** Error/Exception Information **********
Error Message: Kan bestand of assembly Zyan.Communication, Version=2.13.0.0, Culture=neutral, PublicKeyToken=022216e8e71b6602 of een van de afhankelijkheden hiervan niet laden. De manifestdefinitie van de gevonden assembly komt niet overeen met de assembly-verwijzing. (Uitzondering van HRESULT: 0x80131040)
Error Type: System.IO.FileLoadException
Error Source: ProppFrexx GPIOClient.Void toggleSwitchStatusConnection_Toggled(System.Object, System.EventArgs)
********** System Stack Trace **********
bij ProppFrexx.MainForm.toggleSwitchStatusConnection_Toggled(Object sender, EventArgs e)
bij DevExpress.XtraEditors.Repository.RepositoryItemToggleSwitch.RaiseToggled(EventArgs e)
bij DevExpress.XtraEditors.Repository.RepositoryItemToggleSwitch.RaiseEditValueChangedCore(EventArgs e)
bij DevExpress.XtraEditors.Repository.RepositoryItem.RaiseEditValueChanged(EventArgs e)
bij DevExpress.XtraEditors.BaseEdit.RaiseEditValueChanged()
bij DevExpress.XtraEditors.BaseEdit.OnEditValueChanged()
bij DevExpress.XtraEditors.BaseEdit.OnEditValueChanging(ChangingEventArgs e)
bij DevExpress.XtraEditors.BaseEdit.set_EditValue(Object value)
bij DevExpress.XtraEditors.ToggleSwitch.set_EditValue(Object value)
bij DevExpress.XtraEditors.ToggleSwitch.set_IsOn(Boolean value)
bij ProppFrexx.MainForm.Init()
bij ProppFrexx.MainForm.MainForm_Shown(Object sender, EventArgs e)
bij System.Windows.Forms.Form.OnShown(EventArgs e)
bij DevExpress.XtraEditors.XtraForm.OnShown(EventArgs e)
bij System.Windows.Forms.Form.CallShownEvent()
bij System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
bij System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
bij System.Windows.Forms.Control.InvokeMarshaledCallbacks()
********** Environment Stack Trace **********
bij System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
bij System.Environment.get_StackTrace()
bij ProppFrexx.MainForm.GetExceptionInfo(Exception e, Boolean full)
bij ProppFrexx.MainForm.WriteErrorLog(Exception e)
bij ProppFrexx.MainForm.UnhandledExceptionHandler(Exception e)
bij ProppFrexx.MainForm.CustomExceptionHandler(Object sender, ThreadExceptionEventArgs args)
bij System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
bij System.Windows.Forms.Control.InvokeMarshaledCallbacks()
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bij System.Windows.Forms.Form.WndProc(Message& m)
bij DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
bij System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
bij System.Windows.Forms.Application.Run(Form mainForm)
bij ProppFrexx.Program.Main()
********** End **********

23-8-2023 18:18:20 [v4.4.1.2]:********** Error/Exception Information **********
Error Message: Kan DLL BioDaq.dll niet laden: Kan opgegeven module niet vinden. (Uitzondering van HRESULT: 0x8007007E)
Error Type: System.DllNotFoundException
Error Source: Automation.BDaq4.Automation.BDaq.ErrorCode SnapStop(IntPtr)
********** System Stack Trace **********
bij Automation.BDaq.TInstantDiCtrl.SnapStop(IntPtr obj)
bij Automation.BDaq.InstantDiCtrl.DeinitializeControl()
bij Automation.BDaq.DaqCtrlBase.Dispose(Boolean disposing)
bij Automation.BDaq.DaqCtrlBase.Finalize()
********** Environment Stack Trace **********
bij System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
bij System.Environment.get_StackTrace()
bij ProppFrexx.MainForm.GetExceptionInfo(Exception e, Boolean full)
bij ProppFrexx.MainForm.WriteErrorLog(Exception e)
bij ProppFrexx.MainForm.UnhandledExceptionHandler(Exception e)
bij ProppFrexx.MainForm.CustomExceptionHandler(Object sender, UnhandledExceptionEventArgs args)
bij Automation.BDaq.TInstantDiCtrl.SnapStop(IntPtr obj)
bij Automation.BDaq.InstantDiCtrl.DeinitializeControl()
bij Automation.BDaq.DaqCtrlBase.Dispose(Boolean disposing)
bij Automation.BDaq.DaqCtrlBase.Finalize()
********** End **********
Hopefully you get something out of this?

p.s. What I now notice is that the GPIO Client, the Velleman and D&R Airence protocol do start when ProppFrexx is started.

yours sincerely,
Wesley

Re: Bug, GPIO disconnect

Posted: 23 Jun 2024 13:04
by radio42
If there are no recent error entries, then, there had been no error within the application.
If there was still a disconnect, it looks like a system issue and not an application issue. In such case, I can hardly find or fix any issue - I am lost here as well, I am sorry.