Launchbox crashes on system boot

Issue #5229 resolved
glenn browne created an issue

I have bigbox loading on windows boot, it seems to crash like this every time, i cannot then launch bigbox or launchbox without restarting the machine, after i reboot the machine it seems to work then. Error copied and pasted below..

(Inner Exception)

HRESULT: [0x80004005], Module: [General], ApiCode: [E_FAIL/Unspecified error], Message: Unspecified error

App: Big Box
Version: 10.13
Type: SharpDX.SharpDXException
Site: Void CheckError()
Source: SharpDX

at SharpDX.Result.CheckError()
at SharpDX.DirectInput.DirectInput..ctor()
at ()
at Unbroken.LaunchBox.Windows.GameControllers.GameControllerHandler.get_Input()
at ()
at Unbroken.LaunchBox.Windows.GameControllers.GameControllerHandler.GetCurrentDevices()
at Unbroken.LaunchBox.Windows.BigBox.Data.OptionsListItem..ctor(String name, Action1 saveAction, Action1 loadAction, Func`1 getValues, Boolean playDefaultSound)
at ()
at Unbroken.LaunchBox.Windows.BigBox.Data.OptionsPages.get_Controller()
at Unbroken.LaunchBox.Windows.BigBox.ViewModels.OptionsViewModel..ctor(MainViewModel mainViewModel)
at Unbroken.LaunchBox.Windows.BigBox.ViewModels.MainViewModel..ctor()

(Outer Exception)

Exception has been thrown by the target of an invocation.

App: Big Box
Version: 10.13
Type: System.Reflection.TargetInvocationException
Site: System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
Source: mscorlib

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Caliburn.Micro.BootstrapperBase.DisplayRootViewFor(Type viewModelType, IDictionary`2 settings)
at (Bootstrapper , Object , StartupEventArgs )
at Unbroken.LaunchBox.Windows.BigBox.Bootstrapper.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

6:14:45 PM Exception

Comments (2)

  1. Jason Carr repo owner

    Thank you Glenn; we’re hoping this is fixed for the next beta. Added this change log:

    • Fixed: For some reason, Microsoft's DirectInput library fails to load up properly when starting immediately on Windows startup on some systems; we've added a workaround to hopefully prevent crashes in this case

  2. Log in to comment