Jump to content
LaunchBox Community Forums

BigBox Repeats Audio of Videos Until it Crashes


Sepulchre

Recommended Posts

Hello everyone,

Every time I run BigBox using platform and game videos, BigBox frequently repeats the audio of the last video (~10% of the time) and continues to stack the audio playback of these previous videos until it crashes. Unfortuantly, there is not a crash report that I can copy and paste.

  • Windows 10 x64
  • v6.8-beta-1 (note: it also happened in v6.7
  • Happens with both WMP and VLC players
  • Frequency: Every time! Sometimes it take longer for the audio streams to stack, but BigBox eventually crashes.
  • Steps:
    1. Start BigBox
    2. Browse different platform and game videos
    3. One of the video's audio will get "stuck" and repeat over and over forever.
    4. Repeat step #2
    5. A second video's audio will repeat endlessly along with the first one
    6. Listen to the madness!
    7. Repeat Step #2 until BigBox crashes
  • Error log:
    • System.NullReferenceException: Object reference not set to an instance of an object.
         at (BoxesGamesViewModel , Boolean )
         at BigBox.ViewModels.BoxesGamesViewModel.OnDown(Boolean held)
         at (MainViewModel )
         at BigBox.ViewModels.MainViewModel.OnDown()
         at (MainViewModel , KeyEventArgs )
         at BigBox.ViewModels.MainViewModel.HandleKeyDown(KeyEventArgs e)
         at (MainView , Object , KeyEventArgs )
         at BigBox.Views.MainView.MainView_OnPreviewKeyDown(Object sender, KeyEventArgs e)
         at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
         at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
         at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
         at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
         at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
         at System.Windows.Input.InputManager.ProcessStagingArea()
         at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
         at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
         at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
         at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
         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)

 

Question, does anybody have any idea why this happens? Has this happened to you? What can I do solve the problem?

Thank you.

 

P.S. On a side note, does anybody know why BigBig always crashes when selecting the "Genres" filter?

  • System.NullReferenceException: Object reference not set to an instance of an object.
       at (<>c , Game )
       at BigBox.ViewModels.FilterDetailsViewModel.<>c.<GetDetails>b__26_2(Game game)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at System.Linq.Enumerable.Max[TSource](IEnumerable`1 source)
       at (IEnumerable`1 )
       at BigBox.ViewModels.FilterDetailsViewModel.GetDetails(IEnumerable`1 games)
       at BigBox.ViewModels.FilterDetailsViewModel..ctor(FilterType filterType, String title, IEnumerable`1 games)
       at (FiltersViewModelBase )
       at BigBox.ViewModels.FiltersViewModelBase.<selectionChangedTimer_Elapsed>b__116_0()
       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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
Edited by Sepulchre
I got a crash log!
Link to comment
Share on other sites

Okay I tested this and I got the 1st video that gets stuck playing over and over again but I can't seem to pick up any other videos to keep playing back except the 1st one and that is annoying while switching between games with both tracks playing. Mine wouldn't crash but I couldn't duplicate all of the symptoms but obviously there is some kind of issue causing this

  • Like 1
Link to comment
Share on other sites

Thanks for the detailed report here, @Sepulchre. I haven't been able to consistently replicate it so it's been a hard one to fix. I think I've only ever seen it happen once on my various machines. Are you using background videos? Does it matter?

@DOS76, how were you able to replicate it? How long did it take before it showed up for you?

I wasn't aware of the genre error, actually. I've added that to my shortlist as well.

  • Like 1
Link to comment
Share on other sites

@Jason Carr: I am using game videos as the background for platforms and using game videos for the coverflow with details view in the default video frame view (they are not used as background videos).

The audio loops on both the platforms view (game videos as background) and games view (game videos in default view frame of the coverflow w/ details theme).

  • Like 1
Link to comment
Share on other sites

I think I may know how to trigger the audio looping. When moving to the next platform or game video, immediately change again (right before the video starts) to the next video . Repeating this process, one right after the other, seems to trigger the looping, for me at least. This affects both platform background videos and regular game videos.

  • Like 1
Link to comment
Share on other sites

Just put out a new beta guys that I'm hoping will resolve this issue. There was a memory leak with the VLC video playback engine as well as some other issues that I was finally able to discover and address. I'd appreciate if you guys could test this as much as possible and let me know if you're still seeing any further issues. Thanks! :)

  • Like 1
Link to comment
Share on other sites

@Jason Carr - Thank you for making this issue a priority. I appreciate it! Here are my findings:

I have tested v6.8-beta-3 with both VLC and WMP using the same browsing process as before (quickly changing platform background videos in the systems view and game videos in the coverflow w/ details theme) for about 30 minutes.

Good news: There has been no audio looping from the videos in either VLC or WMP. The last video cuts off completely when starting the current video.

Bad news: Sometimes a game video will not show and play on a selected game in the coverflow w/ details theme. I have to "refresh" it by going to another game and returning back to the game with the missing video for the video to show and play.

BigBox consistently crashed four times with the same error log ( 3x w/ VLC, 1x w/ WMP)

  • System.InvalidOperationException: VlcPlayer not be ready, if you want to use VlcPlay no in XAML, please read this Wiki: "https://github.com/higankanshi/Meta.Vlc/wiki/Use-VlcPlayer-with-other-controls".
       at (VlcPlayer , IntPtr& , UInt32& , UInt32& , UInt32& , UInt32& , UInt32& )
       at Meta.Vlc.Wpf.VlcPlayer.VideoFormatCallback(IntPtr& opaque, UInt32& chroma, UInt32& width, UInt32& height, UInt32& pitches, UInt32& lines)

I hope this helps.

Link to comment
Share on other sites

Thank you @Sepulchre. I did some work on this stuff in the live stream this morning; I also contacted the developer of the Meta.VLC library that we're using to see if he can help us figure out how to fix some of the remaining VLC issues. Here's the issue I put in on Github: https://github.com/higankanshi/Meta.Vlc/issues/150

Historically he's been very responsive in responding there so I'm hoping he can help us fix some of the issues.

In the mean time, switching to the Windows Media Player engine should eliminate pretty much all of the issues; let me know if not.

Link to comment
Share on other sites

After watching the developer session, I realized I had only been using the VLC engine, not WMP. I thought  changing to WMP in  Launchbox also made the change in BigBox. I thought it was weird getting a VLC error in "WMP."

After manually changing to WMP in BigBox, there have been no missing videos, audio looping, or crashes. Everything seems to load  just fine using WMP in BigBox v6.8-beta-6.

Thank you!

  • Like 1
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...