Jump to content
LaunchBox Community Forums

Options taking forever to open on LB & BB 13.6


Karl der Heinz

Recommended Posts

Hi, 

I've got a problem that doesn't go away with a new installation and I can't figure out what's happening.
Whenever I click on Options (both in LB and BB) it takes forever (about 2 minutes) to load.

This also happens on a new install without any games or changes to the config. I'm running Windows 11 version 22H2 22621.2134

Here the part of my Log I think is created when opening the menu and entering options (full log attached):

2023-08-23 05:34:19 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start
2023-08-23 05:34:19 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set
2023-08-23 05:34:19 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video
2023-08-23 05:34:19 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused
2023-08-23 05:34:23 PM Resolving assembly Unbroken.LaunchBox.Windows.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, processorArchitecture=AMD64...
2023-08-23 05:34:23 PM FIRST CHANCE EXCEPTION: Could not load file or assembly 'Unbroken.LaunchBox.Windows.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, processorArchitecture=AMD64'. The system cannot find the file specified.
   at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
2023-08-23 05:34:23 PM FIRST CHANCE EXCEPTION: Could not load file or assembly 'G:\Konsolen\Tools\LaunchBox\Core\Unbroken.LaunchBox.Windows.XmlSerializers.dll'. The system cannot find the file specified.
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
2023-08-23 05:34:41 PM FIRST CHANCE EXCEPTION: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
2023-08-23 05:34:41 PM FIRST CHANCE CONTINUED INNER EXCEPTION: The I/O operation has been aborted because of either a thread exit or an application request.

2023-08-23 05:34:41 PM FIRST CHANCE EXCEPTION: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
2023-08-23 05:34:41 PM FIRST CHANCE CONTINUED INNER EXCEPTION: The I/O operation has been aborted because of either a thread exit or an application request.

2023-08-23 05:34:41 PM FIRST CHANCE EXCEPTION: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2023-08-23 05:34:41 PM FIRST CHANCE CONTINUED INNER EXCEPTION: The I/O operation has been aborted because of either a thread exit or an application request.

This is the code when closing options again:

2023-08-23 05:36:04 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start
2023-08-23 05:36:04 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video
2023-08-23 05:36:04 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed
2023-08-23 05:36:09 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start
2023-08-23 05:36:09 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set
2023-08-23 05:36:09 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video
2023-08-23 05:36:09 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused
2023-08-23 05:36:09 PM DataManager.SaveInternal started.
2023-08-23 05:36:09 PM Saving InputBindings.xml...
2023-08-23 05:36:09 PM Saving GameControllers.xml...
2023-08-23 05:36:09 PM Saving ListCache.xml...
2023-08-23 05:36:09 PM Saving Settings.xml...
2023-08-23 05:36:09 PM Saving BigBoxSettings.xml...
2023-08-23 05:36:09 PM Saving ImportBlacklist.xml...
2023-08-23 05:36:10 PM DataManager.SaveInternal completed successfully.
2023-08-23 05:36:10 PM MainViewModel.Window.Closing event started.
2023-08-23 05:36:10 PM Music.Pause Start
2023-08-23 05:36:10 PM Starting SaveClosingSettings
2023-08-23 05:36:10 PM DataManager.SaveInternal started.
2023-08-23 05:36:11 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start
2023-08-23 05:36:11 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video
2023-08-23 05:36:11 PM Saving InputBindings.xml...
2023-08-23 05:36:11 PM Saving GameControllers.xml...
2023-08-23 05:36:11 PM Saving ListCache.xml...
2023-08-23 05:36:11 PM Saving Settings.xml...
2023-08-23 05:36:11 PM Saving BigBoxSettings.xml...
2023-08-23 05:36:11 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed
2023-08-23 05:36:11 PM MainViewModel.window.Closed event started.
2023-08-23 05:36:11 PM Waiting on DataManager save thread to finish... (window.Closed)
2023-08-23 05:36:11 PM Saving ImportBlacklist.xml...
2023-08-23 05:36:11 PM DataManager.SaveInternal completed successfully.
2023-08-23 05:36:13 PM Waiting on DataManager save thread to finish... (window.Closed 2)
2023-08-23 05:36:13 PM MainViewManager.window.Closed event finished. Calling Environment.Exit
2023-08-23 05:36:13 PM FIRST CHANCE EXCEPTION: A task was canceled.
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2023-08-23 05:36:13 PM FIRST CHANCE EXCEPTION: The operation has timed out.
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)

Can somebody help me here?

I can provide further information if needed. 

Regards

Karl

Edit:

I just added a log of the clean install with the same issue, maybe it's a bit easier to read.

 

Debug 2023-08-23 05-33-23 PM.log

Clean Install.log

Edited by Karl der Heinz
Link to comment
Share on other sites

  • 1 month later...

Exact same issue, same missing dll file, where is it? Launchbox\Core\Unbroken.LaunchBox.Windows.XmlSerializers.dll

i tried opening options in safe mode and it works fine, so i disabled all non microsoft services in msconfig including my virus software and still the options menu does not work right. 

tried installing a completely new build with no roms right on my C drive and the options menu still doesn't work right. 

Link to comment
Share on other sites

4 hours ago, kodosamurai said:

Exact same issue, same missing dll file, where is it? Launchbox\Core\Unbroken.LaunchBox.Windows.XmlSerializers.dll

I can't speak for the delay when opening Options, but for the (unrelated) XmlSerializers.dll 'issue', that's a known Microsoft issue.  And I'm pretty sure it's been around for quite a while (1 year? 2 years?).   To clarify, even though it says "Unbroken.LaunchBox.Windows.XmlSerializers.dll" it's not a LaunchBox thing.  The xml serializer still works as expected. It's just that the MS debugger spits out that "Exception" for whatever reason.  So I guess you can consider it an annoyance rather than an 'issue'.

Link to comment
Share on other sites

so i seem to have solved my issue.

noticed i was having a similar lag issue when opening retro arch and after searching for  a solution on that someone had mentioned their corsair keyboard was causing the lag, and wouldn't you know it, i unplugged my corsair keyboard and it solved the issue. got a new keyboard today and now retro arch opens immediately and the lunchbox options menu also opens with out issue.

 

Edited by kodosamurai
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...