madewokherd / wine-mono

Other
294 stars 39 forks source link

NCSoft Launcher hangs when attempting to install a game #183

Open GloriousEggroll opened 9 months ago

GloriousEggroll commented 9 months ago
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Microsoft.ApplicationInsights.Extensibility.Implementation.ExceptionConverter.GetStackFrame (System.Diagnostics.StackFrame stackFrame, System.Int32 frameId) [0x00014] in <8f1dcab8930e436a9f6d9a4ccb3cf7eb>:0 
  at Microsoft.ApplicationInsights.Extensibility.Implementation.ExceptionConverter.SanitizeStackFrame[TInput,TOutput] (System.Collections.Generic.IList`1[T] inputList, System.Func`3[T1,T2,TResult] converter, System.Func`2[T,TResult] lengthGetter) [0x0003b] in <8f1dcab8930e436a9f6d9a4ccb3cf7eb>:0 
  at Microsoft.ApplicationInsights.Extensibility.Implementation.ExceptionConverter.ConvertToExceptionDetails (System.Exception exception, Microsoft.ApplicationInsights.Extensibility.Implementation.External.ExceptionDetails parentExceptionDetails) [0x00013] in <8f1dcab8930e436a9f6d9a4ccb3cf7eb>:0 
  at Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry.ConvertExceptionTree (System.Exception exception, Microsoft.ApplicationInsights.Extensibility.Implementation.External.ExceptionDetails parentExceptionDetails, System.Collections.Generic.List`1[T] exceptions) [0x00024] in <8f1dcab8930e436a9f6d9a4ccb3cf7eb>:0 
  at Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry.ConvertExceptionTree (System.Exception exception, Microsoft.ApplicationInsights.Extensibility.Implementation.External.ExceptionDetails parentExceptionDetails, System.Collections.Generic.List`1[T] exceptions) [0x0009a] in <8f1dcab8930e436a9f6d9a4ccb3cf7eb>:0 
  at Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry.UpdateExceptions (System.Exception exception) [0x00006] in <8f1dcab8930e436a9f6d9a4ccb3cf7eb>:0 
  at Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry.set_Exception (System.Exception value) [0x00007] in <8f1dcab8930e436a9f6d9a4ccb3cf7eb>:0 
  at Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry..ctor (System.Exception exception) [0x0002a] in <8f1dcab8930e436a9f6d9a4ccb3cf7eb>:0 
  at Microsoft.ApplicationInsights.TelemetryClient.TrackException (System.Exception exception, System.Collections.Generic.IDictionary`2[TKey,TValue] properties, System.Collections.Generic.IDictionary`2[TKey,TValue] metrics) [0x00024] in <8f1dcab8930e436a9f6d9a4ccb3cf7eb>:0 
  at (wrapper dynamic-method) A.c3040cb30a1b95eca35dcde14374acf83.(object,System.Exception,System.Collections.Generic.IDictionary`2<string, string>,System.Collections.Generic.IDictionary`2<string, double>)
  at A.c3040cb30a1b95eca35dcde14374acf83.c48f3e9887206447fafd5fd13106d1d0c (System.Object , System.Exception , System.Collections.Generic.IDictionary`2[TKey,TValue] , System.Collections.Generic.IDictionary`2[TKey,TValue] ) [0x00000] in <555fc5b0dbd5443b950e4005b69af46d>:0 
  at Gaffeine.Helpers.AppInsights.TrackException (System.Exception ex, System.Collections.Generic.IDictionary`2[TKey,TValue] properties) [0x00022] in <555fc5b0dbd5443b950e4005b69af46d>:0 
  at A.c184320f139920157101d246942f7f444.c47dc36c3ef840496a5f5c268b6bdd157 (System.Exception , System.Collections.Generic.IDictionary`2[TKey,TValue] ) [0x00000] in <555fc5b0dbd5443b950e4005b69af46d>:0 
  at NCLauncherW.App.App_DispatcherUnhandledException (System.Object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) [0x0003e] in <555fc5b0dbd5443b950e4005b69af46d>:0 
  at System.Windows.Threading.Dispatcher.CatchException (System.Exception e) [0x00022] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Threading.Dispatcher.CatchExceptionStatic (System.Object source, System.Exception e) [0x00008] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Threading.ExceptionWrapper.CatchException (System.Object source, System.Exception e, System.Delegate catchHandler) [0x00040] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00030] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs) [0x000fc] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <75de555cd62f40719584e76ba8a177cc>:0 
  at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <75de555cd62f40719584e76ba8a177cc>:0 
  at (wrapper native-to-managed) MS.Win32.HwndSubclass.SubclassWndProc(intptr,int,intptr,intptr)
  at (wrapper managed-to-native) MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG&)
  at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage (System.Windows.Interop.MSG& msg) [0x0001a] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Threading.Dispatcher.Run () [0x00006] in <75de555cd62f40719584e76ba8a177cc>:0 
  at System.Windows.Application.RunDispatcher (System.Object ignore) [0x00023] in <d31f3a57049e4054ad4371f364def5bc>:0 
  at System.Windows.Application.RunInternal (System.Windows.Window window) [0x0010d] in <d31f3a57049e4054ad4371f364def5bc>:0 
  at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in <d31f3a57049e4054ad4371f364def5bc>:0 
  at System.Windows.Application.Run () [0x00009] in <d31f3a57049e4054ad4371f364def5bc>:0 
  at (wrapper dynamic-method) A.c7b6516ae6d4795d627c98982686504f3.(object)
  at A.c7b6516ae6d4795d627c98982686504f3.c48f3e9887206447fafd5fd13106d1d0c (System.Object ) [0x00000] in <555fc5b0dbd5443b950e4005b69af46d>:0 

When you click to install a game it should have a smaller window that pops up asking you to choose the install location. Instead it hangs with the above text in the terminal.

Apologies if I am misunderstanding and if this is not a mono bug.

easiest way to reproduce is to create an account and download the NCSoft launcher:

https://account.ncsoft.com/signup/index?serviceCode=54&campaign_id=nc.org.cs8.pn.266.0.r3&game_id=bnsncw

then try to run it in wine with a clean prefix. it should allow you to login, then try to install any game (i tried blade & soul) and it should hang

madewokherd commented 9 months ago

Thanks, I have a lot on my todo list right now but I will investigate this eventually.

madewokherd commented 9 months ago

It seems to stall at "Update in progress. 10%"