Crash when refreshing all images

Issue #5119 new
Noel Estep created an issue

Update order of images for box in Options.

Selected all game images, clicked F5

Was processing and suddenly crashed. Log below:

The process cannot access the file 'D:\LaunchBox\Images\Cache-LB.Boxes-63cfafe1-b031-4523-9053-dd33a34c918f-179-278.png' because it is being used by another process.

App: LaunchBox
Version: 10.9
Type: System.IO.IOException
Site: Void WinIOError(Int32, System.String)
Source: mscorlib

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at (Game )
at Unbroken.LaunchBox.Windows.Data.Game.ClearAllImageCaches()
at (RefreshSelectedImagesMenuAction )
at Unbroken.LaunchBox.Windows.Desktop.MenuActions.RefreshSelectedImagesMenuAction.<OnSelect>b__1_0()
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.<Queue>b__0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Recent Log:

3:35:31 PM Imageloader successful: pack://application:,,,/WpfResources/Background.png
3:35:32 PM Music.Prepare Start
3:35:32 PM Music.Kill Start
3:35:32 PM Music.Kill Finished
3:35:32 PM Music.NotifyTrackList Start
3:35:32 PM Music.NotifyTrackList Invoke WPF
3:35:32 PM Imageloader successful: pack://application:,,,/WpfResources/Background.png
3:48:33 PM Imageloader successful: pack://application:,,,/WpfResources/Background.png
3:49:05 PM Music.Play Start
3:49:05 PM Music.Kill Start
3:49:05 PM Music.Kill Finished
3:49:05 PM Music.Play Empty Music Path
3:49:05 PM Music.NotifyTrackList Start
3:49:05 PM Music.NotifyTrackList Invoke WPF
3:49:10 PM Imageloader successful: D:\LaunchBox\Images\Arcade\Fanart - Background\1944_ The Loop Master-01.png
3:49:10 PM Music.Play Start
3:49:10 PM Music.Kill Start
3:49:10 PM Music.Kill Finished
3:49:10 PM Music.Play Empty Music Path
3:49:10 PM Music.NotifyTrackList Start
3:49:10 PM Music.NotifyTrackList Invoke WPF
3:49:10 PM Imageloader successful: pack://application:,,,/WpfResources/Background.png
3:49:11 PM Music.Play Start
3:49:11 PM Music.Kill Start
3:49:11 PM Music.Kill Finished
3:49:11 PM Music.Play Empty Music Path
3:49:11 PM Music.NotifyTrackList Start
3:49:11 PM Music.NotifyTrackList Invoke WPF
3:49:45 PM Music.Stop Start
3:49:45 PM Music.Kill Start
3:49:45 PM Music.Kill Finished
3:49:45 PM Music.Play Start
3:49:45 PM Music.Kill Start
3:49:45 PM Music.Kill Finished
3:49:45 PM Music.Play Empty Music Path
3:49:45 PM Music.NotifyTrackList Start
3:49:45 PM Music.NotifyTrackList Invoke WPF
3:49:51 PM Imageloader successful: pack://application:,,,/WpfResources/Background.png
3:50:11 PM Music.Play Start
3:50:11 PM Music.Kill Start
3:50:11 PM Music.Kill Finished
3:50:11 PM Music.Play Empty Music Path
3:50:11 PM Music.NotifyTrackList Start
3:50:11 PM Music.NotifyTrackList Invoke WPF
3:50:11 PM Imageloader successful: D:\LaunchBox\Images\Arcade\Fanart - Background\1944_ The Loop Master-01.png
3:55:08 PM Music.Play Start
3:55:08 PM Music.Kill Start
3:55:08 PM Music.Kill Finished
3:55:08 PM Music.Play Empty Music Path
3:55:08 PM Music.NotifyTrackList Start
3:55:08 PM Music.NotifyTrackList Invoke WPF
3:55:09 PM Imageloader successful: pack://application:,,,/WpfResources/Background.png
3:55:34 PM Exception

Comments (0)

  1. Log in to comment