Page 1 of 1

Issue with the last versions of SDR#

Posted: Sun Oct 18, 2020 3:55 pm
by patapon

I'm struggling to use the last versions of sdrsharp. I must do something wrong but I've tried everything I could.

I'm using a Nooelec sdr receiver. Tried to use it through a cable or directly. same behavior.
I'm running a fresh version of win 10 home 64 bits.
I've downloaded the last sdrsharp versions 1766 - but I have the same issues with 1765 (see below), and 1762.
These version are running on a separate disk (Not in the program files directory)

I've installed the install_RTLSDR. bat file
I've installed the "right" libusb drivers per zadig.

Each time I try to quit sdrsharp, I'm getting an error and the configuration I was trying to save is not saved.
I can modify the sdrsharp.exe.config xml file without any problems.

This is the error reported by the event viewer:
Application: SDRSharp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at SDRSharp.FrontEnds.RTLSDR.NativeMethods.rtlsdr_close(IntPtr)
at SDRSharp.FrontEnds.RTLSDR.RtlDevice.Dispose()
at SDRSharp.FrontEnds.RTLSDR.RtlSdrIO.CloseDevice()
at SDRSharp.FrontEnds.RTLSDR.RtlSdrIO.Close()
at SDRSharp.MainForm.MainForm_Closing(System.Object, System.ComponentModel.CancelEventArgs)
at System.Windows.Forms.Form.OnClosing(System.ComponentModel.CancelEventArgs)
at System.Windows.Forms.Form.WmClose(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message ByRef)
at Telerik.WinControls.UI.RadFormControlBase.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)

followed by this error
Faulting application name: SDRSharp.exe, version:, time stamp: 0x5f8090e9
Faulting module name: ntdll.dll, version: 10.0.18362.657, time stamp: 0x832e7bce
Exception code: 0xc0000005
Fault offset: 0x00063cb3
Faulting process id: 0x25e0
Faulting application start time: 0x01d6a55ab5e51e43
Faulting application path: D:\__RTL\METEOR2020\SDRSHARP new 1765\SDRSharp.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 94f4b926-938a-4f46-b35b-e7d5aaf6cdee
Faulting package full name:
Faulting package-relative application ID:

On my previous win 10 configuration, I had the same kind of errors (access violation when closing) but involving libusb.dll instead of ntdll.dll

Anybody experiencing the same issue?
By the way, Everything is fine with the 1732 version, !!!!