SayMore Crashing Consistently on Multiple Laptops

Say More (3.1.5, and 3.2.11) crashes on Win10 1909. Whenever we select “Oral Translation” from the dropdown list, it crashes.

Mike

----LOG----
Please e-mail this to issues@saymore.palaso.org Message (not an exception): There was a problem starting up volume monitoring.

Msg: UnspecifiedError calling waveInOpen
Class: NAudio.MmException
Source: NAudio
Assembly: NAudio, Version=1.7.1.17, Culture=neutral, PublicKeyToken=null
Stack: at NAudio.Wave.WaveIn.OpenWaveInDevice()
at NAudio.Wave.WaveIn.StartRecording()
at SIL.Media.Naudio.AudioRecorder.BeginMonitoring() in C:\BuildAgent\work\cc45d0355c6ac326\SIL.Media\Naudio\AudioRecorder.cs:line 185
Thread: UI
Thread UI culture: en-US
Exception: NAudio.MmException

–Error Reporting Properties–
Version: Version 3.2.11 (apparent build date: 26-Oct-2018)
CommandLine: “C:\Program Files (x86)\SayMore\SayMore.exe”
CurrentDirectory: C:\Program Files (x86)\SayMore
MachineName: DELL-MTCN6
OSVersion: Windows 10
DotNetVersion: 4.0.30319.42000
WorkingSet: 63381504
UserDomainName: DELL-MTCN6
UserName: MTCN
Culture: en-US

–Log–
Friday, February 14, 2020
11:01:35 AM App Launched with [“C:\Program Files (x86)\SayMore\SayMore.exe” ]
11:01:35 AM SayMore version 3.2.11 (Release) Built on 26-Oct-2018
11:01:35 AM Visual Styles State: ClientAndNonClientAreasEnabled
11:01:35 AM Attempting to open project C:\Users\MTCN\Documents\SayMore\kati\kati.sprj
11:01:35 AM FirstChanceException event: System.Threading.WaitHandleCannotBeOpenedException: No handle of the given name exists.
at System.Threading.Mutex.OpenExisting(String name, MutexRights rights)
11:01:35 AM Starting to construct SplashScreenForm.
11:01:36 AM Showing SplashScreenForm.
11:01:36 AM Getting icon and file type for file C:\Users\MTCN\Documents\SayMore\kati\Sessions\19\19.session (type: .session)
11:01:37 AM FirstChanceException event: System.IO.FileNotFoundException: Could not load file or assembly ‘System.XmlSerializers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The system cannot find the file specified.
File name: ‘System.XmlSerializers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

11:01:37 AM Getting icon and file type for file C:\Users\MTCN\Documents\SayMore\kati\Sessions\19\19_Source.wav (type: .wav)
11:01:37 AM Getting icon and file type for file C:\Users\MTCN\Documents\SayMore\kati\Sessions\19\19_Source.wav.annotations.eaf (type: .eaf)
11:01:37 AM FirstChanceException event: System.IO.FileNotFoundException: Could not load file or assembly ‘SayMore.XmlSerializers, Version=3.2.11.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
File name: ‘SayMore.XmlSerializers, Version=3.2.11.0, Culture=neutral, PublicKeyToken=null’
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

11:01:37 AM FirstChanceException event: System.IO.FileNotFoundException: Could not load file or assembly ‘SayMore.XmlSerializers’ or one of its dependencies. The system cannot find the file specified.
File name: ‘SayMore.XmlSerializers’
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

11:01:37 AM ProjectMetadataScreen constructor
11:01:38 AM ProjectAccessScreen constructor
11:01:38 AM FirstChanceException event: System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
11:01:38 AM FirstChanceException event: System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
11:01:38 AM FirstChanceException event: System.UriFormatException: Invalid URI: The URI is empty.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
11:01:38 AM FirstChanceException event: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.UriFormatException: Invalid URI: The URI is empty.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri…ctor(String uriString)
at System.Windows.Forms.WebBrowser.WebBrowserEvent.DocumentComplete(Object pDisp, Object& urlObject)
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
11:01:38 AM ProgressScreen constructor
11:01:38 AM StatisticsView constructor
11:01:38 AM ProjectDocsScreen constructor
11:01:38 AM ComponentFileGrid constructor
11:01:39 AM ProjectDocsScreen constructor
11:01:39 AM ComponentFileGrid constructor
11:01:39 AM ProjectScreen constructor
11:01:39 AM PersonListScreen constructor
11:01:39 AM StagesControlToolTip constructor
11:01:39 AM ComponentFileGrid constructor
11:01:39 AM PersonBasicEditor constructor. file = C:\Users\MTCN\Documents\SayMore\kati\Sessions\19\19.session
11:01:41 AM PersonListScreen constructor
11:01:41 AM ComponentFileGrid constructor
11:01:41 AM ProjectWindow constructor
11:01:42 AM Project window activated for project kati
11:01:47 AM TextAnnotationEditor constructor. file = C:\Users\MTCN\Documents\SayMore\kati\Sessions\19\19_Source.wav.annotations.eaf; imagekey = Annotation
11:01:52 AM SP-950 Debug Info: listenToOriginalRecordingDownWidth = 48; listenToOriginalRecording = 48; recordingOralAnnotationInProgressWidth = 48; recordOralAnnotationWidth = 48; green_checkWidth = 30; information_redWidth = 30; information_blueWidth = 30;
11:01:52 AM OralTranslationRecorderDlg constructor. ComponentFile = C:\Users\MTCN\Documents\SayMore\kati\Sessions\19\19_Source.wav
11:01:54 AM FirstChanceException event: NAudio.MmException: UnspecifiedError calling waveInOpen
at NAudio.Wave.WaveIn.OpenWaveInDevice()
11:01:54 AM FirstChanceException event: NAudio.MmException: UnspecifiedError calling waveInOpen
at NAudio.Wave.WaveIn.OpenWaveInDevice()
at NAudio.Wave.WaveIn.StartRecording()
at SIL.Media.Naudio.AudioRecorder.BeginMonitoring() in C:\BuildAgent\work\cc45d0355c6ac326\SIL.Media\Naudio\AudioRecorder.cs:line 185
11:01:56 AM FirstChanceException event: NAudio.MmException: UnspecifiedError calling waveInOpen
at NAudio.Wave.WaveIn.OpenWaveInDevice()
11:01:56 AM FirstChanceException event: NAudio.MmException: UnspecifiedError calling waveInOpen
at NAudio.Wave.WaveIn.OpenWaveInDevice()
at NAudio.Wave.WaveIn.StartRecording()
at SIL.Media.Naudio.AudioRecorder.BeginMonitoring() in C:\BuildAgent\work\cc45d0355c6ac326\SIL.Media\Naudio\AudioRecorder.cs:line 185
Details of most recent events:

at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

11:01:37 AM FirstChanceException event: System.IO.FileNotFoundException: Could not load file or assembly ‘SayMore.XmlSerializers’ or one of its dependencies. The system cannot find the file specified.
File name: ‘SayMore.XmlSerializers’
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

11:01:37 AM ProjectMetadataScreen constructor
11:01:38 AM ProjectAccessScreen constructor
11:01:38 AM FirstChanceException event: System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
11:01:38 AM FirstChanceException event: System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
11:01:38 AM FirstChanceException event: System.UriFormatException: Invalid URI: The URI is empty.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
11:01:38 AM FirstChanceException event: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.UriFormatException: Invalid URI: The URI is empty.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri…ctor(String uriString)
at System.Windows.Forms.WebBrowser.WebBrowserEvent.DocumentComplete(Object pDisp, Object& urlObject)
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
11:01:38 AM ProgressScreen constructor
11:01:38 AM StatisticsView constructor
11:01:38 AM ProjectDocsScreen constructor
11:01:38 AM ComponentFileGrid constructor
11:01:39 AM ProjectDocsScreen constructor
11:01:39 AM ComponentFileGrid constructor
11:01:39 AM ProjectScreen constructor
11:01:39 AM PersonListScreen constructor
11:01:39 AM StagesControlToolTip constructor
11:01:39 AM ComponentFileGrid constructor
11:01:39 AM PersonBasicEditor constructor. file = C:\Users\MTCN\Documents\SayMore\kati\Sessions\19\19.session
11:01:41 AM PersonListScreen constructor
11:01:41 AM ComponentFileGrid constructor
11:01:41 AM ProjectWindow constructor
11:01:42 AM Project window activated for project kati
11:01:47 AM TextAnnotationEditor constructor. file = C:\Users\MTCN\Documents\SayMore\kati\Sessions\19\19_Source.wav.annotations.eaf; imagekey = Annotation
11:01:52 AM SP-950 Debug Info: listenToOriginalRecordingDownWidth = 48; listenToOriginalRecording = 48; recordingOralAnnotationInProgressWidth = 48; recordOralAnnotationWidth = 48; green_checkWidth = 30; information_redWidth = 30; information_blueWidth = 30;
11:01:52 AM OralTranslationRecorderDlg constructor. ComponentFile = C:\Users\MTCN\Documents\SayMore\kati\Sessions\19\19_Source.wav
11:01:54 AM FirstChanceException event: NAudio.MmException: UnspecifiedError calling waveInOpen
at NAudio.Wave.WaveIn.OpenWaveInDevice()
11:01:54 AM FirstChanceException event: NAudio.MmException: UnspecifiedError calling waveInOpen
at NAudio.Wave.WaveIn.OpenWaveInDevice()
at NAudio.Wave.WaveIn.StartRecording()
at SIL.Media.Naudio.AudioRecorder.BeginMonitoring() in C:\BuildAgent\work\cc45d0355c6ac326\SIL.Media\Naudio\AudioRecorder.cs:line 185
11:01:56 AM FirstChanceException event: NAudio.MmException: UnspecifiedError calling waveInOpen
at NAudio.Wave.WaveIn.OpenWaveInDevice()
11:01:56 AM FirstChanceException event: NAudio.MmException: UnspecifiedError calling waveInOpen
at NAudio.Wave.WaveIn.OpenWaveInDevice()
at NAudio.Wave.WaveIn.StartRecording()
at SIL.Media.Naudio.AudioRecorder.BeginMonitoring() in C:\BuildAgent\work\cc45d0355c6ac326\SIL.Media\Naudio\AudioRecorder.cs:line 185

My information was incorrect. This is happening on one newly installed Win10 laptop.

Hi Mike,

Stack: at NAudio.Wave.WaveIn.OpenWaveInDevice()

So this tells us that as SayMore asks Windows to do something with recording, Windows can’t do it. I think your next step would be to do some experimenting with other audio recording programs, look at the settings, try a different headest, etc.

jh

There are four almost identical machines, all were just fresh installed, 3 work great, one always crashes. No problems with the crashing system except in this specific scenario (so far).

  1. I tried internal MIC and external recording device and they both do the same thing.
  2. Each time I made sure all other audio devices were disabled.
  3. I updated the C++ Redistributable DLLs.
  4. I’ll try another program…