Topics

Two instances - one closing #sdrsharp

jmceara@...
 

Hi!
I'm running two instances of SDR# (without skin) on the same machine. I've copied entire folder and also renamed the main executable file (also .conf file). 
Both instance are connecting to remote (but on LAN) rtl_tcp servers to get data.
This is running fine.....but after a while (usually, reaching 24h, more or less), one instance just close, without any error.

So my question is: what could be causing this?
The machine is a 77-4700 and it's running with about 35% CPU Load. Windows 10 and no anti-virus is installed.

Is there any protection or software check that could be causing this?

I really need to run 2 instances because I'm running rtl_tcp in two different rpi's. Both systems are for receiving C-Band Aero signals.

jmceara@...
 

ok, found two errors in system log (event viewer from windows) while closing app (but no error message in app or windows itself).

First error:
Nome do Log:   Application
Fonte:         .NET Runtime
Data:          22/11/2019 12:15:09
Identificação do Evento:1026
Categoria da Tarefa:Nenhum
Nível:         Erro
Palavras-chave:Clássico
Usuário:       N/D
Computador:    SatCom
Descrição:
Aplicativo: SDRSharp.exe
Versão do Framework: v4.0.30319
Descrição: O processo foi terminado devido a uma exceção sem tratamento.
Informações da Exceção: System.AccessViolationException
   em System.Drawing.SafeNativeMethods+Gdip.GdipFillPolygonI(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32, Int32)
   em System.Drawing.Graphics.FillPolygon(System.Drawing.Brush, System.Drawing.Point[], System.Drawing.Drawing2D.FillMode)
   em System.Drawing.Graphics.FillPolygon(System.Drawing.Brush, System.Drawing.Point[])
   em SDRSharp.PanView.SpectrumAnalyzer.DrawSpectrum()
   em SDRSharp.PanView.SpectrumAnalyzer.DrawLayers()
   em SDRSharp.PanView.SpectrumAnalyzer.performTimer_Tick(System.Object, System.EventArgs)
   em System.Windows.Forms.Timer.OnTick(System.EventArgs)
   em System.Windows.Forms.Timer+TimerNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   em System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   em System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   em System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   em System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   em System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   em System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
   em SDRSharp.Program.Main()
XML de Evento:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-11-22T15:15:09.437765900Z" />
    <EventRecordID>2354</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SatCom</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Aplicativo: SDRSharp.exe
Versão do Framework: v4.0.30319
Descrição: O processo foi terminado devido a uma exceção sem tratamento.
Informações da Exceção: System.AccessViolationException
   em System.Drawing.SafeNativeMethods+Gdip.GdipFillPolygonI(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32, Int32)
   em System.Drawing.Graphics.FillPolygon(System.Drawing.Brush, System.Drawing.Point[], System.Drawing.Drawing2D.FillMode)
   em System.Drawing.Graphics.FillPolygon(System.Drawing.Brush, System.Drawing.Point[])
   em SDRSharp.PanView.SpectrumAnalyzer.DrawSpectrum()
   em SDRSharp.PanView.SpectrumAnalyzer.DrawLayers()
   em SDRSharp.PanView.SpectrumAnalyzer.performTimer_Tick(System.Object, System.EventArgs)
   em System.Windows.Forms.Timer.OnTick(System.EventArgs)
   em System.Windows.Forms.Timer+TimerNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   em System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   em System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   em System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   em System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   em System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   em System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
   em SDRSharp.Program.Main()
</Data>
  </EventData>
</Event>


Second error:
Nome do Log:   Application
Fonte:         Application Error
Data:          22/11/2019 12:15:10
Identificação do Evento:1000
Categoria da Tarefa:(100)
Nível:         Erro
Palavras-chave:Clássico
Usuário:       N/D
Computador:    SatCom
Descrição:
Nome do aplicativo com falha: SDRSharp.exe, versão: 1.0.0.1716, carimbo de data/hora: 0x5d7e4e95
Nome do módulo com falha: gdiplus.dll, versão: 10.0.18362.356, carimbo de data/hora: 0x77e0b52c
Código de exceção: 0xc0000005
Deslocamento da falha: 0x0004997c
ID do processo com falha: 0xeb8
Hora de início do aplicativo com falha: 0x01d59e708746b189
Caminho do aplicativo com falha: C:\sdr\sdrsharp-54w\SDRSharp.exe
Caminho do módulo com falha: C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.18362.356_none_5f5cd939821dcaa0\gdiplus.dll
ID do Relatório: 72ee5dde-2614-430b-a074-cf0a971201b6
Nome completo do pacote com falha: 
ID do aplicativo relativo ao pacote com falha: 
XML de Evento:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-11-22T15:15:10.256862000Z" />
    <EventRecordID>2355</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SatCom</Computer>
    <Security />
  </System>
  <EventData>
    <Data>SDRSharp.exe</Data>
    <Data>1.0.0.1716</Data>
    <Data>5d7e4e95</Data>
    <Data>gdiplus.dll</Data>
    <Data>10.0.18362.356</Data>
    <Data>77e0b52c</Data>
    <Data>c0000005</Data>
    <Data>0004997c</Data>
    <Data>eb8</Data>
    <Data>01d59e708746b189</Data>
    <Data>C:\sdr\sdrsharp-54w\SDRSharp.exe</Data>
    <Data>C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.18362.356_none_5f5cd939821dcaa0\gdiplus.dll</Data>
    <Data>72ee5dde-2614-430b-a074-cf0a971201b6</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

jmceara@...
 

prog, this isn't a bug?
These errors means (in english) "unhandled exception".

Edward MacDonald
 

This error was caused the SatCom plugin. Not SDR#. 


On Sat, 23 Nov 2019 at 08:02, <jmceara@...> wrote:
prog, this isn't a bug?
These errors means (in english) "unhandled exception".

Edward MacDonald
 

I stand corrected, SatCom is the name of your computer. Never mind my rantings. I am half asleep. Sorry to butt in :)


On Sun, 24 Nov 2019 at 23:48, Edward MacDonald <edwardmacdonald74@...> wrote:
This error was caused the SatCom plugin. Not SDR#. 


On Sat, 23 Nov 2019 at 08:02, <jmceara@...> wrote:
prog, this isn't a bug?
These errors means (in english) "unhandled exception".

jmceara@...
 

How could it be in PC, when log says that it's an unhandleded exception in SDRSharp.exe?

Edward MacDonald
 

Read previos post. Lol


On Tue, Nov 26, 2019, 11:36 AM , <jmceara@...> wrote:
How could it be in PC, when log says that it's an unhandleded exception in SDRSharp.exe?

jmceara@...
 

Ok Edward....

I tought your are correcting yourself about PC name instead of 'plugin'....but now I got! You tought SatCom was a plugin and it was causing the problem, right?
sorry for that :)

SatCom is the name of PC only. For prog: I've tested with latest version of SDR# (skinned) and the same problem happens.... 
I've done all windows update (.net and everything else).

jmceara@...
 

????

Ant feedback from developers?

Edward MacDonald
 

The error is a system null error which means a value was null of some object was null. Or perhaps a function returned a null value.

The error happened in the .Net GDI+ framework while drawing on the spectrum analyzer with a brush.


My suggestion:  

1) make sure your config is not corrupted. It might be calling a colt setting or a gradient blend setting that for deleted from your config file.

2) make sure you are using the proper .Net framework

That's al lI can tell from that error 


On Fri, Nov 29, 2019, 1:40 PM , <jmceara@...> wrote:
????

Ant feedback from developers?

Edward MacDonald
 

* color not colt sorry.


On Fri, Nov 29, 2019, 4:28 PM Edward MacDonald, <edwardmacdonald74@...> wrote:
The error is a system null error which means a value was null of some object was null. Or perhaps a function returned a null value.

The error happened in the .Net GDI+ framework while drawing on the spectrum analyzer with a brush.


My suggestion:  

1) make sure your config is not corrupted. It might be calling a colt setting or a gradient blend setting that for deleted from your config file.

2) make sure you are using the proper .Net framework

That's al lI can tell from that error 


On Fri, Nov 29, 2019, 1:40 PM , <jmceara@...> wrote:
????

Ant feedback from developers?

jmceara@...
 

Edward, I'm running latest version (now, skinned one) from airspy.com and latest version of .NET from windows update.....same error (after a while running).
I didn't make any change to settings/colors, that's why I'm pretty sure it's no my fault.