ProppFrexx closed with error report.

You have a question or need an advice about how to do something? Ask it here!
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
ProppFrexx closed with error report.

Post by phonic »

I had a crash this morning that closed ProppFrexx. Here's the error log:

25/10/2021 09:59:56 [v4.2.6.6]:********** Message Notification **********
Message: UI Thread ID: 1, Current Thread ID: 1
Default Graphics: -369029066, Shared Graphics: 1627458692

DevExpress.Utils.v21.1, Version=21.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
####### Stack Trace ######

at HV.dO.Wl3z(Object , FirstChanceExceptionEventArgs )
at System.Drawing.Graphics.get_PageUnit()
at DevExpress.Utils.Text.FontsCache.GetFontCacheByFont(Graphics graphics, Font font)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, IWordBreakProvider wordBreakProvider, Boolean& isCropped)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth)
at DevExpress.Utils.AppearanceObject.CalcTextSize(GraphicsCache cache, StringFormat sf, String s, Int32 width)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcSimpleTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.LabelControl.GetPreferredSize(Size proposedSize)
at DevExpress.XtraEditors.LabelControl.AdjustSizeCore()
at DevExpress.XtraEditors.LabelControl.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at ProppFrexx.Playlist.SetOnAirPlaytime(DJPlayer player, Double position, MediaEntry track)
at ProppFrexx.DJPlayer.gyVB(Int64 )
at ProppFrexx.DJPlayer.AyVm(Int64 )
at ProppFrexx.DJPlayer.vyV8(Object , EventArgs )
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
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.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at DevExpress.XtraEditors.XtraUserControl.BaseWndProc(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 HV.dO.Main(String[] args)


********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.ProppFrexx_ONAIR.olOE(String )
at HV.dO.Wl3z(Object , FirstChanceExceptionEventArgs )
at System.Drawing.Graphics.get_PageUnit()
at DevExpress.Utils.Text.FontsCache.GetFontCacheByFont(Graphics graphics, Font font)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, IWordBreakProvider wordBreakProvider, Boolean& isCropped)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth)
at DevExpress.Utils.AppearanceObject.CalcTextSize(GraphicsCache cache, StringFormat sf, String s, Int32 width)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcSimpleTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.LabelControl.GetPreferredSize(Size proposedSize)
at DevExpress.XtraEditors.LabelControl.AdjustSizeCore()
at DevExpress.XtraEditors.LabelControl.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at ProppFrexx.Playlist.SetOnAirPlaytime(DJPlayer player, Double position, MediaEntry track)
at ProppFrexx.DJPlayer.gyVB(Int64 )
at ProppFrexx.DJPlayer.AyVm(Int64 )
at ProppFrexx.DJPlayer.vyV8(Object , EventArgs )
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
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.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at DevExpress.XtraEditors.XtraUserControl.BaseWndProc(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 HV.dO.Main(String[] args)
********** End **********
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: ProppFrexx closed with error report.

Post by radio42 »

What is posted here is a so called ‘FirstChanceException’!
This is not a real error nor any real issue, but a situation, which is gracefully handled. I still include this in the log, since it might sometimes be helpful. But alone as this it is not helpful! Only a real unhandled exception indicates a real error or bug.

As such, this cannot cause or crash a system. It is just in the log, as it might indicate a certain behavior.

So if you experienced a real crash, this could not be the reason.
The first chance exception might however be an issue discovered later as a result or effect of the real root cause happening aside from that.

Are there other errors/exceptions in the log?
If not, take a look into the Windows Event Log. Every crash is recorded there. Maybe this reveals more insights.
Also, is the error reproducible?
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
Re: ProppFrexx closed with error report.

Post by phonic »

radio42 wrote: 26 Oct 2021 15:14 What is posted here is a so called ‘FirstChanceException’!
This is not a real error nor any real issue, but a situation, which is gracefully handled. I still include this in the log, since it might sometimes be helpful. But alone as this it is not helpful! Only a real unhandled exception indicates a real error or bug.

As such, this cannot cause or crash a system. It is just in the log, as it might indicate a certain behavior.

So if you experienced a real crash, this could not be the reason.
The first chance exception might however be an issue discovered later as a result or effect of the real root cause happening aside from that.

Are there other errors/exceptions in the log?
If not, take a look into the Windows Event Log. Every crash is recorded there. Maybe this reveals more insights.
Also, is the error reproducible?
I'm using the watcher to restart ProppFrexx if it's unresponsive or closes, so it restarted ProppFrexx.

Hear is the application error that was logged at the the same time as the above error:

Faulting application name: ProppFrexx ONAIR.exe, version: 4.2.6.6, time stamp: 0x616c248e
Faulting module name: clr.dll, version: 4.8.4420.0, time stamp: 0x6109cbc8
Exception code: 0xc00000fd
Fault offset: 0x00000000000bbbab
Faulting process ID: 0xd58
Faulting application start time: 0x01d7c7e482c4afcb
Faulting application path: C:\Program Files\radio42\ProppFrexx ONAIR\ProppFrexx ONAIR.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Report ID: 3adcc0ee-0549-405a-8218-b71a5515211e
Faulting package full name:
Faulting package-relative application ID:
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: ProppFrexx closed with error report.

Post by radio42 »

The Windows Event Log is a very generic one - which unfortunately doesn’t contain much info. Typically this indicates a device or driver issue, but it can be generally anything.

If there is no other or additional error in the Error.log, I must assume, that the exception actually happens after the above error happens as a side effect of it.

But the error code 0xc00000fd typically is thrown when a stack overflow happens in the application. Thus, there should/must normally be an additional execution in the Erroe.log. Maybe you can email me the whole file to take a look….
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
Re: ProppFrexx closed with error report.

Post by phonic »

radio42 wrote: 26 Oct 2021 19:19 The Windows Event Log is a very generic one - which unfortunately doesn’t contain much info. Typically this indicates a device or driver issue, but it can be generally anything.

If there is no other or additional error in the Error.log, I must assume, that the exception actually happens after the above error happens as a side effect of it.

But the error code 0xc00000fd typically is thrown when a stack overflow happens in the application. Thus, there should/must normally be an additional execution in the Erroe.log. Maybe you can email me the whole file to take a look….
I'e just e-mailed you the full error.log file for you to inspect.
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
Re: ProppFrexx closed with error report.

Post by phonic »

Same again today just now at 3:59pm and one I did not notice at 9am. The watcher restarted ProppFrexx and thankfully all the settings remained the same.
Just to add this system is not the backup and runs in the main studio and not via RDP.

Both are as before FirstChange and no Application error was logged in event viewer in this first case as it was handled. However the second error at 3:59 did crash ProppFrexx:
Application error:
Faulting application name: ProppFrexx ONAIR.exe, version: 4.2.6.6, time stamp: 0x616c248e
Faulting module name: clr.dll, version: 4.8.4420.0, time stamp: 0x6109cbc8
Exception code: 0x80131506
Fault offset: 0x000000000048b955
Faulting process ID: 0x2418
Faulting application start time: 0x01d7c97ecf3f6e0e
Faulting application path: C:\Program Files\radio42\ProppFrexx ONAIR\ProppFrexx ONAIR.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Report ID: 8e329254-b506-4ef6-b04c-66cf5568667d
Faulting package full name:
Faulting package-relative application ID:
.NET Runtime:
Application: ProppFrexx ONAIR.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FF9E674B955 (00007FF9E62C0000) with exit code 80131506.

Here's the error.log for both:
27/10/2021 09:00:22 [v4.2.6.6]:********** Message Notification **********
Message: UI Thread ID: 1, Current Thread ID: 10
Default Graphics: N/A, Shared Graphics: -872344571

DevExpress.Utils.v21.1, Version=21.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
####### Stack Trace ######

at HV.dO.Wl3z(Object , FirstChanceExceptionEventArgs )
at System.Drawing.Graphics.get_PageUnit()
at DevExpress.Utils.Text.FontsCache.GetFontCacheByFont(Graphics graphics, Font font)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, IWordBreakProvider wordBreakProvider, Boolean& isCropped)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth)
at DevExpress.Utils.AppearanceObject.CalcTextSize(GraphicsCache cache, StringFormat sf, String s, Int32 width)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcSimpleTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.LabelControl.GetPreferredSize(Size proposedSize)
at DevExpress.XtraEditors.LabelControl.AdjustSizeCore()
at DevExpress.XtraEditors.LabelControl.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at ProppFrexx.Playlist.SetOnAirPlaytime(DJPlayer player, Double position, MediaEntry track)
at ProppFrexx.Playlist.gyii()
at ProppFrexx.DJPlayer.Yyj5(Int32 , Int32 , Int32 , SyncEvent )
at ProppFrexx.DJPlayer.<>c__DisplayClass493_0.Eb6A()
at System.Threading.Tasks.Task.Execute()
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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()


********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.ProppFrexx_ONAIR.olOE(String )
at HV.dO.Wl3z(Object , FirstChanceExceptionEventArgs )
at System.Drawing.Graphics.get_PageUnit()
at DevExpress.Utils.Text.FontsCache.GetFontCacheByFont(Graphics graphics, Font font)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, IWordBreakProvider wordBreakProvider, Boolean& isCropped)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth)
at DevExpress.Utils.AppearanceObject.CalcTextSize(GraphicsCache cache, StringFormat sf, String s, Int32 width)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcSimpleTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.LabelControl.GetPreferredSize(Size proposedSize)
at DevExpress.XtraEditors.LabelControl.AdjustSizeCore()
at DevExpress.XtraEditors.LabelControl.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at ProppFrexx.Playlist.SetOnAirPlaytime(DJPlayer player, Double position, MediaEntry track)
at ProppFrexx.Playlist.gyii()
at ProppFrexx.DJPlayer.Yyj5(Int32 , Int32 , Int32 , SyncEvent )
at ProppFrexx.DJPlayer.<>c__DisplayClass493_0.Eb6A()
at System.Threading.Tasks.Task.Execute()
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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
********** End **********

27/10/2021 15:59:51 [v4.2.6.6]:********** Message Notification **********
Message: UI Thread ID: 1, Current Thread ID: 1
Default Graphics: -1761534147, Shared Graphics: -704572790

DevExpress.Utils.v21.1, Version=21.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
####### Stack Trace ######

at HV.dO.Wl3z(Object , FirstChanceExceptionEventArgs )
at System.Drawing.Graphics.GetHdc()
at HV.dO.Wl3z(Object , FirstChanceExceptionEventArgs )
at System.Drawing.Graphics.get_PageUnit()
at DevExpress.Utils.Text.FontsCache.GetFontCacheByFont(Graphics graphics, Font font)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, IWordBreakProvider wordBreakProvider, Boolean& isCropped)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth)
at DevExpress.Utils.AppearanceObject.CalcTextSize(GraphicsCache cache, StringFormat sf, String s, Int32 width)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcSimpleTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.LabelControl.GetPreferredSize(Size proposedSize)
at DevExpress.XtraEditors.LabelControl.AdjustSizeCore()
at DevExpress.XtraEditors.LabelControl.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at ProppFrexx.Playlist.UpdateNextScheduledItem(DateTime now)
at ProppFrexx.ProppFrexx_ONAIR.LlTN()
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
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.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.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.NativeWindow.DefWndProc(Message& m)
at DevExpress.Utils.Taskbar.Core.FilterWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
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 HV.dO.Main(String[] args)


********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.ProppFrexx_ONAIR.olOE(String )
at HV.dO.Wl3z(Object , FirstChanceExceptionEventArgs )
at System.Drawing.Graphics.GetHdc()
at HV.dO.Wl3z(Object , FirstChanceExceptionEventArgs )
at System.Drawing.Graphics.get_PageUnit()
at DevExpress.Utils.Text.FontsCache.GetFontCacheByFont(Graphics graphics, Font font)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, IWordBreakProvider wordBreakProvider, Boolean& isCropped)
at DevExpress.Utils.Text.TextUtils.GetStringSize(Graphics g, String text, Font font, StringFormat stringFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth, Int32 maxHeight, Boolean& isCropped)
at DevExpress.Utils.Paint.XPaintMixed.CalcTextSize(Graphics g, String s, Font font, StringFormat strFormat, Int32 maxWidth)
at DevExpress.Utils.AppearanceObject.CalcTextSize(GraphicsCache cache, StringFormat sf, String s, Int32 width)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcSimpleTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.ViewInfo.LabelControlViewInfo.CalcTextSize(String Text, Boolean useHotkeyPrefix, LabelAutoSizeMode mode, Int32 predWidth, Int32 predHeight)
at DevExpress.XtraEditors.LabelControl.GetPreferredSize(Size proposedSize)
at DevExpress.XtraEditors.LabelControl.AdjustSizeCore()
at DevExpress.XtraEditors.LabelControl.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at ProppFrexx.Playlist.UpdateNextScheduledItem(DateTime now)
at ProppFrexx.ProppFrexx_ONAIR.LlTN()
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
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.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.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.NativeWindow.DefWndProc(Message& m)
at DevExpress.Utils.Taskbar.Core.FilterWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
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 HV.dO.Main(String[] args)
********** End **********
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: ProppFrexx closed with error report.

Post by radio42 »

Please try to catch a crash dump - as those 'FirstChanceExceptions' couldn't really crash the system.
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
Re: ProppFrexx closed with error report.

Post by phonic »

radio42 wrote: 27 Oct 2021 18:35 Please try to catch a crash dump - as those 'FirstChanceExceptions' couldn't really crash the system.
I've just sent you two full crash dumps via weTransfer that were created today. If I ever find the time I may run them through Windbg myself.

Thanks for your help!
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: ProppFrexx closed with error report.

Post by radio42 »

After analyzing the logs, I could see, that there was indeed a stack overflow issue caused by the following:
a) some graphics issue caused a FirstChanceException (which was gracefully caught)
b) within this exception handling another graphics function (GetHdc) was called, which again caused an exception (which was gracefully caught)
c) this was caught again and it started with b) again
This looped forever causing a stack overflow in the end.

I removed the GetHdc call in the exception handling to not cause the stack overflow. But...
- it is unclear to me, what caused the initial graphics issue
- if the graphics issue, due to a serious device/driver issue, continues to happen, it will prevent the stack overflow, but it will not solve the root reason.

So I have provided a v4.2.6.8 update and hope the issue is solved?!
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
Re: ProppFrexx closed with error report.

Post by phonic »

radio42 wrote: 30 Oct 2021 17:10 After analyzing the logs, I could see, that there was indeed a stack overflow issue caused by the following:
a) some graphics issue caused a FirstChanceException (which was gracefully caught)
b) within this exception handling another graphics function (GetHdc) was called, which again caused an exception (which was gracefully caught)
c) this was caught again and it started with b) again
This looped forever causing a stack overflow in the end.

I removed the GetHdc call in the exception handling to not cause the stack overflow. But...
- it is unclear to me, what caused the initial graphics issue
- if the graphics issue, due to a serious device/driver issue, continues to happen, it will prevent the stack overflow, but it will not solve the root reason.

So I have provided a v4.2.6.8 update and hope the issue is solved?!
Thanks for the update. I will get the studio updated this evening.

On a side note, I've started using the watcher to restart ProppFrexx recently due to it crashing our main system, and have ProppFrexx set to send me an e-mail each time it starts so I'm informed and can check for errors. Yesterday I did notice it went into a mad restart loop and 20+ e-mails. It appeared yesterday that the watcher was trying to restart ProppFrexx before the processes had fully closed because when I connected to the studio it was displaying a message that another instance of ProppFrexx is already running.

Post Reply