2178: Exception when changing tracks too fast

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

TIV73
Posts: 229
Joined: Sat Nov 12, 2011 1:31 pm

2178: Exception when changing tracks too fast

Post by TIV73 »

Hey everyone,
when sequentially editing the same property of multiple tracks in fast succession while the property that's being changed is used for auto-sorting, it's possible to trigger a null reference exception.

I haven't yet figured out the exact steps to reproduce the issue, but from the looks of it, auto-sorting on a column happens live after a field was changed, and these view updates are being 'replayed' sequentially with a slight delay after the change was made.

It seems like editing a track prevents the view update from starting, but once the update started it will continue even if a new track is being changed at the moment. If changes are being made fast enough, the track that is being changed will update its index and once a new value is submitted, it causes a null pointer reference because the track that it references isn't there anymore.

To see it in action:
https://streamable.com/xggjg

Also see crash log C62E647C uploaded at around 19:49 on 2019-06-01.
PetrCBR
Posts: 1763
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: 2178: Exception when changing tracks too fast

Post by PetrCBR »

Thanks. Will check.
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
Post Reply