I have a theory that the logger is getting malformed strings in some cases because this table of metadatakind to string is incomplete, and as such sometimes garbled data ends up being logged. Even though MagicMirror should only be generated in a few controlled cases, it seems possible that there are more such cases than I initially envisioned - hence the issue. This is my attempt at a fix here
I have a theory that the logger is getting malformed strings in some cases because this table of metadatakind to string is incomplete, and as such sometimes garbled data ends up being logged. Even though MagicMirror should only be generated in a few controlled cases, it seems possible that there are more such cases than I initially envisioned - hence the issue. This is my attempt at a fix here

Swift SVN r18986

harlanhaskins/swift,OscarSwanros/swift,johnno1962d/swift,therealbnut/swift,gottesmm/swift,airspeedswift/swift,harlanhaskins/swift,codestergit/swift,tardieu/swift,gottesmm/swift,jckarter/swift,kperryua/swift,swiftix/swift.old,alblue/swift,milseman/swift,swiftix/swift,bitjammer/swift,kentya6/swift,kstaring/swift,swiftix/swift,deyton/swift,gottesmm/swift,dduan/swift,parkera/swift,uasys/swift,codestergit/swift,natecook1000/swift,harlanhaskins/swift,adrfer/swift,atrick/swift,amraboelela/swift,gottesmm/swift,modocache/swift,manavgabhawala/swift,xedin/swift,kperryua/swift,calebd/swift,hughbe/swift,arvedviehweger/swift,rudkx/swift,stephentyrone/swift,JGiola/swift,Ivacker/swift,huonw/swift,kentya6/swift,allevato/swift,hughbe/swift,IngmarStein/swift,kentya6/swift,JaSpa/swift,deyton/swift,kusl/swift,jckarter/swift,kusl/swift,Ivacker/swift,uasys/swift,austinzheng/swift,return/swift,shahmishal/swift,roambotics/swift,ahoppen/swift,Ivacker/swift,sschiau/swift,amraboelela/swift,KrishMunot/swift,xwu/swift,LeoShimonaka/swift,return/swift,frootloops/swift,aschwaighofer/swift,kusl/swift,harlanhaskins/swift,MukeshKumarS/Swift,danielmartin/swift,Jnosh/swift,glessard/swift,atrick/swift,LeoShimonaka/swift,gregomni/swift,hughbe/swift,tjw/swift,lorentey/swift,milseman/swift,zisko/swift,xedin/swift,gottesmm/swift,natecook1000/swift,tinysun212/swift-windows,russbishop/swift,lorentey/swift,bitjammer/swift,gmilos/swift,gmilos/swift,sdulal/swift,kperryua/swift,khizkhiz/swift,emilstahl/swift,hooman/swift,JaSpa/swift,shajrawi/swift,russbishop/swift,karwa/swift,rudkx/swift,emilstahl/swift,LeoShimonaka/swift,gribozavr/swift,airspeedswift/swift,tjw/swift,danielmartin/swift,adrfer/swift,xedin/swift,modocache/swift,frootloops/swift,LeoShimonaka/swift,austinzheng/swift,hughbe/swift,JGiola/swift,stephentyrone/swift,airspeedswift/swift,emilstahl/swift,tkremenek/swift,stephentyrone/swift,gregomni/swift,apple/swift,felix91gr/swift,sschiau/swift,brentdax/swift,modocache/swift,deyton/swift,natecook1000/swift,alblue/swift,nathawes/swift,tardieu/swift,amraboelela/swift,jtbandes/swift,apple/swift,bitjammer/swift,hooman/swift,MukeshKumarS/Swift,gottesmm/swift,hooman/swift,devincoughlin/swift,rudkx/swift,JaSpa/swift,CodaFi/swift,calebd/swift,xedin/swift,jmgc/swift,tinysun212/swift-windows,sschiau/swift,JaSpa/swift,ben-ng/swift,modocache/swift,brentdax/swift,khizkhiz/swift,roambotics/swift,apple/swift,devincoughlin/swift,nathawes/swift,JGiola/swift,codestergit/swift,uasys/swift,hooman/swift,ken0nek/swift,aschwaighofer/swift,mightydeveloper/swift,karwa/swift,djwbrown/swift,tinysun212/swift-windows,jmgc/swift,djwbrown/swift,cbrentharris/swift,aschwaighofer/swift,practicalswift/swift,manavgabhawala/swift,shajrawi/swift,MukeshKumarS/Swift,LeoShimonaka/swift,airspeedswift/swift,hughbe/swift,zisko/swift,Jnosh/swift,shahmishal/swift,apple/swift,kentya6/swift,slavapestov/swift,glessard/swift,allevato/swift,manavgabhawala/swift,ben-ng/swift,huonw/swift,sdulal/swift,tinysun212/swift-windows,johnno1962d/swift,karwa/swift,CodaFi/swift,Jnosh/swift,benlangmuir/swift,xwu/swift,calebd/swift,LeoShimonaka/swift,parkera/swift,practicalswift/swift,swiftix/swift.old,johnno1962d/swift,djwbrown/swift,swiftix/swift,ken0nek/swift,shahmishal/swift,jmgc/swift,JGiola/swift,jopamer/swift,gmilos/swift,ahoppen/swift,Ivacker/swift,russbishop/swift,modocache/swift,SwiftAndroid/swift,shahmishal/swift,huonw/swift,jmgc/swift,airspeedswift/swift,parkera/swift,djwbrown/swift,SwiftAndroid/swift,OscarSwanros/swift,jckarter/swift,natecook1000/swift,amraboelela/swift,jmgc/swift,gribozavr/swift,LeoShimonaka/swift,adrfer/swift,amraboelela/swift,tjw/swift,emilstahl/swift,lorentey/swift,calebd/swift,deyton/swift,mightydeveloper/swift,tardieu/swift,sdulal/swift,kusl/swift,sdulal/swift,OscarSwanros/swift,JaSpa/swift,tardieu/swift,arvedviehweger/swift,danielmartin/swift,khizkhiz/swift,felix91gr/swift,gribozavr/swift,zisko/swift,jckarter/swift,jopamer/swift,devincoughlin/swift,JaSpa/swift,shahmishal/swift,milseman/swift,ahoppen/swift,cbrentharris/swift,jtbandes/swift,tinysun212/swift-windows,jopamer/swift,rudkx/swift,calebd/swift,karwa/swift,ahoppen/swift,dreamsxin/swift,manavgabhawala/swift,arvedviehweger/swift,jtbandes/swift,johnno1962d/swift,jopamer/swift,gribozavr/swift,KrishMunot/swift,practicalswift/swift,bitjammer/swift,bitjammer/swift,kusl/swift,tkremenek/swift,airspeedswift/swift,lorentey/swift,huonw/swift,slavapestov/swift,djwbrown/swift,khizkhiz/swift,shajrawi/swift,uasys/swift,deyton/swift,codestergit/swift,kperryua/swift,jmgc/swift,MukeshKumarS/Swift,zisko/swift,parkera/swift,kstaring/swift,atrick/swift,IngmarStein/swift,tjw/swift,danielmartin/swift,johnno1962d/swift,slavapestov/swift,dduan/swift,zisko/swift,devincoughlin/swift,kusl/swift,SwiftAndroid/swift,kentya6/swift,emilstahl/swift,modocache/swift,tkremenek/swift,austinzheng/swift,aschwaighofer/swift,felix91gr/swift,swiftix/swift.old,ben-ng/swift,xwu/swift,sdulal/swift,calebd/swift,practicalswift/swift,devincoughlin/swift,cbrentharris/swift,huonw/swift,allevato/swift,danielmartin/swift,frootloops/swift,dduan/swift,swiftix/swift.old,therealbnut/swift,practicalswift/swift,amraboelela/swift,tardieu/swift,cbrentharris/swift,airspeedswift/swift,arvedviehweger/swift,stephentyrone/swift,allevato/swift,MukeshKumarS/Swift,gribozavr/swift,swiftix/swift,shajrawi/swift,xedin/swift,dduan/swift,KrishMunot/swift,harlanhaskins/swift,manavgabhawala/swift,slavapestov/swift,russbishop/swift,danielmartin/swift,LeoShimonaka/swift,therealbnut/swift,natecook1000/swift,karwa/swift,shahmishal/swift,shajrawi/swift,sschiau/swift,khizkhiz/swift,jtbandes/swift,rudkx/swift,jtbandes/swift,milseman/swift,uasys/swift,gribozavr/swift,natecook1000/swift,sschiau/swift,roambotics/swift,zisko/swift,emilstahl/swift,aschwaighofer/swift,sdulal/swift,atrick/swift,austinzheng/swift,CodaFi/swift,return/swift,karwa/swift,rudkx/swift,felix91gr/swift,stephentyrone/swift,dduan/swift,aschwaighofer/swift,sschiau/swift,ken0nek/swift,tardieu/swift,arvedviehweger/swift,felix91gr/swift,kstaring/swift,huonw/swift,gottesmm/swift,ben-ng/swift,jckarter/swift,milseman/swift,jopamer/swift,tinysun212/swift-windows,CodaFi/swift,OscarSwanros/swift,gribozavr/swift,devincoughlin/swift,therealbnut/swift,atrick/swift,SwiftAndroid/swift,tinysun212/swift-windows,sdulal/swift,nathawes/swift,IngmarStein/swift,practicalswift/swift,therealbnut/swift,parkera/swift,manavgabhawala/swift,gmilos/swift,therealbnut/swift,CodaFi/swift,lorentey/swift,benlangmuir/swift,aschwaighofer/swift,xwu/swift,devincoughlin/swift,dduan/swift,parkera/swift,glessard/swift,emilstahl/swift,benlangmuir/swift,alblue/swift,Ivacker/swift,Ivacker/swift,ahoppen/swift,gregomni/swift,johnno1962d/swift,alblue/swift,jtbandes/swift,shahmishal/swift,tkremenek/swift,atrick/swift,nathawes/swift,cbrentharris/swift,OscarSwanros/swift,mightydeveloper/swift,gregomni/swift,xedin/swift,tjw/swift,lorentey/swift,mightydeveloper/swift,return/swift,sschiau/swift,practicalswift/swift,adrfer/swift,mightydeveloper/swift,mightydeveloper/swift,Jnosh/swift,alblue/swift,shahmishal/swift,hooman/swift,adrfer/swift,parkera/swift,return/swift,dreamsxin/swift,emilstahl/swift,frootloops/swift,KrishMunot/swift,OscarSwanros/swift,arvedviehweger/swift,adrfer/swift,hooman/swift,djwbrown/swift,russbishop/swift,codestergit/swift,ken0nek/swift,alblue/swift,cbrentharris/swift,swiftix/swift.old,allevato/swift,kentya6/swift,zisko/swift,tjw/swift,kperryua/swift,slavapestov/swift,devincoughlin/swift,MukeshKumarS/Swift,bitjammer/swift,danielmartin/swift,KrishMunot/swift,brentdax/swift,xedin/swift,tkremenek/swift,SwiftAndroid/swift,xwu/swift,kusl/swift,IngmarStein/swift,harlanhaskins/swift,hughbe/swift,kusl/swift,tjw/swift,modocache/swift,kstaring/swift,OscarSwanros/swift,shajrawi/swift,Ivacker/swift,huonw/swift,uasys/swift,shajrawi/swift,ken0nek/swift,frootloops/swift,benlangmuir/swift,Jnosh/swift,KrishMunot/swift,russbishop/swift,mightydeveloper/swift,natecook1000/swift,dduan/swift,Jnosh/swift,amraboelela/swift,allevato/swift,brentdax/swift,jmgc/swift,glessard/swift,gmilos/swift,alblue/swift,sdulal/swift,frootloops/swift,swiftix/swift,apple/swift,ben-ng/swift,JaSpa/swift,kstaring/swift,cbrentharris/swift,stephentyrone/swift,khizkhiz/swift,swiftix/swift.old,roambotics/swift,felix91gr/swift,milseman/swift,khizkhiz/swift,JGiola/swift,brentdax/swift,lorentey/swift,IngmarStein/swift,sschiau/swift,calebd/swift,IngmarStein/swift,felix91gr/swift,jckarter/swift,gribozavr/swift,slavapestov/swift,return/swift,hooman/swift,kstaring/swift,karwa/swift,gmilos/swift,ben-ng/swift,uasys/swift,Ivacker/swift,CodaFi/swift,kstaring/swift,kentya6/swift,bitjammer/swift,brentdax/swift,allevato/swift,glessard/swift,ben-ng/swift,jopamer/swift,deyton/swift,adrfer/swift,jckarter/swift,gmilos/swift,mightydeveloper/swift,CodaFi/swift,JGiola/swift,therealbnut/swift,xwu/swift,arvedviehweger/swift,frootloops/swift,roambotics/swift,stephentyrone/swift,tkremenek/swift,SwiftAndroid/swift,codestergit/swift,practicalswift/swift,johnno1962d/swift,kentya6/swift,KrishMunot/swift,deyton/swift,kperryua/swift,hughbe/swift,manavgabhawala/swift,swiftix/swift.old,austinzheng/swift,nathawes/swift,jtbandes/swift,benlangmuir/swift,russbishop/swift,apple/swift,ken0nek/swift,roambotics/swift,nathawes/swift,harlanhaskins/swift,djwbrown/swift,codestergit/swift,MukeshKumarS/Swift,xedin/swift,SwiftAndroid/swift,parkera/swift,tkremenek/swift,swiftix/swift,brentdax/swift,karwa/swift,gregomni/swift,ahoppen/swift,ken0nek/swift,IngmarStein/swift,xwu/swift,swiftix/swift.old,tardieu/swift,benlangmuir/swift,lorentey/swift,glessard/swift,jopamer/swift,swiftix/swift,shajrawi/swift,austinzheng/swift,gregomni/swift,return/swift,nathawes/swift,milseman/swift,slavapestov/swift,kperryua/swift,austinzheng/swift,Jnosh/swift,cbrentharris/swift