Core Machine (Operating system/System info/Roon build number)
iMac
Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)
Everything is wired.
Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)
Streaming from Qobuz to an AirPlay device, iMac and AirPlay device are both wired to a gigabit network switch.
Description Of Issue
This happens very often for me, Roon Core just crashes in the middle of playing music with this same stack trace. Why is trying to write to a file named “[Unknown]” and how do I prevent it from happening?
Note to devs: you GOTTA check the file handle when you open a file rather than assume it always works and you gotta catch exceptions and provide feedback to the user. Sloppy code!
05/25 15:36:25 Info:
Local Time: 05/25/2020 15:36:25 -07:00
Device Serial Number: A2619BFD-4C1C-49F1-B3C1-87C986947FE2
User Id: 97f0994d-33d8-45e8-b9b4-b04a7b818688
Roon Version: 1.7 (build 537) stable
OS Version: Mac OS X 10.15.4
Hardware Version: iMac19,1
Mono Version: 6.4.0.208 (2019-06/07c23f2ca43)
Application Domain: Roon.exe
Assembly Codebase: file:///Applications/Roon.app/Contents/MonoBundle/Roon.exe
Assembly Full Name: Roon, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
CPU0 Description: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (64-bit)
CPU0 Num Cores: Physical: 6 Logical: 6
SCREEN0 Name: 69943472 (primary)SCREEN0 Bounds: 0,0 2560x1440
Exception Source: mscorlib
Exception Type: System.IO.IOException
Exception Target Site: FileStream.WriteInternal
Exception Message: Invalid handle to path "/Applications/Roon.app/Contents/Resources/[Unknown]"
Exception Data: none
--[ Stack Trace ]------------
System.IO.FileStream.WriteInternal(Byte[] src, Int32 offset, Int32 count)
mscorlib.dll, IL 119, N 618
System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
mscorlib.dll, IL 144, N 274
System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
mscorlib.dll, IL 128, N 286
System.IO.StreamWriter.WriteSpan(ReadOnlySpan`1 buffer, Boolean appendNewLine)
mscorlib.dll, IL 363, N 882
System.IO.StreamWriter.WriteLine(String value)
mscorlib.dll, IL 13, N 242
System.IO.TextWriter.WriteLine(Object value)
mscorlib.dll, IL 47, N 282
System.IO.TextWriter/SyncTextWriter.WriteLine(Object value)
mscorlib.dll, IL 0, N 71
UNKNOWN
, IL 10, N 162
System.Console.WriteLine(Object value)
mscorlib.dll, IL 0, N 71
Sooloos.RnetJsonClient/<>c__DisplayClass65_0.<_BeginRead>b__0(IAsyncResult ar)
RoonBase.dll, IL 132, N 842
System.Net.Sockets.SocketAsyncResult/<>c.<Complete>b__27_0(Object state)
System.dll, IL 11, N 133
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
mscorlib.dll, IL 8, N 78
System.Threading.ThreadPoolWorkQueue.Dispatch()
mscorlib.dll, IL 116, N 921
System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
mscorlib.dll, IL 0, N 122