Jump to content
LaunchBox Community Forums

Launchbox not shutting down correctly (with error log)


Recommended Posts

Posted (edited)

Hey everyone,

I'm in the process of updating my LaunchBox collection and have been struggling with LaunchBox not shutting down correctly, a problem I've had since I bought LaunchBox many years ago and that persisted accross multiple different Desktop PC setups.

I have installed a fresh copy of Launchbox and imported my Data folder minus the settings. At first, Launchbox shut down fine on two tries. On the third try it got stuck again (no changes were made).

I have enabled debug logs and these are the final entries showing that something is indeed not working as intedned. Hopefully somebody is able to figure out what's wrong and can help me get this finally solved.
 

2025-11-04 09:16:57 AM DataManager.SaveInternal completed successfully.
2025-11-04 09:16:57 AM DataManager.SaveInternal started.
2025-11-04 09:16:58 AM Saving InputBindings.xml...
2025-11-04 09:16:58 AM Saving GameControllers.xml...
2025-11-04 09:16:58 AM Saving ListCache.xml...
2025-11-04 09:16:58 AM Saving Settings.xml...
2025-11-04 09:16:58 AM Saving ImportBlacklist.xml...
2025-11-04 09:16:58 AM DataManager.SaveInternal completed successfully.
2025-11-04 09:16:59 AM Syncing cloud data since 04.11.2025 09:13:56
2025-11-04 09:16:59 AM Received 0 records from the cloud
2025-11-04 09:17:00 AM Pushing 20 records to the cloud
2025-11-04 09:17:00 AM Successfully synced to cloud
2025-11-04 09:17:00 AM DataManager.SaveInternal started.
2025-11-04 09:17:00 AM Saving InputBindings.xml...
2025-11-04 09:17:00 AM Saving GameControllers.xml...
2025-11-04 09:17:00 AM Saving ListCache.xml...
2025-11-04 09:17:01 AM Saving Settings.xml...
2025-11-04 09:17:01 AM Saving ImportBlacklist.xml...
2025-11-04 09:17:01 AM Saving M:\Launchbox\Data\Platforms\Nintendo Game Boy Player (GB).xml...
2025-11-04 09:17:49 AM Saving M:\Launchbox\Data\Platforms\Nintendo Game Boy Player (GBA).xml...
2025-11-04 09:18:35 AM Saving M:\Launchbox\Data\Platforms\Nintendo Game Boy Player (GBC).xml...
2025-11-04 09:19:23 AM DataManager.SaveInternal completed successfully.
2025-11-04 09:20:29 AM Waiting on DataManager save thread to finish... (window.Closed 2)
2025-11-04 09:20:31 AM MainViewManager.window.Closed event finished. Calling Environment.Exit
2025-11-04 09:21:45 AM 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)
2025-11-04 09:21:45 AM FIRST CHANCE CONTINUED INNER EXCEPTION: The I/O operation has been aborted because of either a thread exit or an application request.

2025-11-04 09:21:45 AM 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.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2025-11-04 09:21:45 AM FIRST CHANCE CONTINUED INNER EXCEPTION: The I/O operation has been aborted because of either a thread exit or an application request.

2025-11-04 09:21:45 AM 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.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
2025-11-04 09:21:45 AM FIRST CHANCE CONTINUED INNER EXCEPTION: The I/O operation has been aborted because of either a thread exit or an application request.

2025-11-04 09:21:45 AM 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.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2025-11-04 09:21:45 AM FIRST CHANCE CONTINUED INNER EXCEPTION: The I/O operation has been aborted because of either a thread exit or an application request.

2025-11-04 09:25:08 AM DataManager.SaveInternal started.
2025-11-04 09:25:08 AM Saving InputBindings.xml...
2025-11-04 09:25:08 AM Saving GameControllers.xml...
2025-11-04 09:25:08 AM Saving ListCache.xml...
2025-11-04 09:25:08 AM Saving Settings.xml...
2025-11-04 09:25:09 AM Saving BigBoxSettings.xml...
2025-11-04 09:25:09 AM Saving ImportBlacklist.xml...
2025-11-04 09:25:09 AM DataManager.SaveInternal completed successfully.


The task manager shows 2 instances of "launchbox.exe" running:

image.thumb.png.3a46542b23d7d10bc91bfd165ae9f58d.png

Edited by SiriusVI

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...