View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0017781||MediaMonkey 5||Sync||public||2021-04-22 22:56||2021-05-25 10:13|
|Priority||immediate||Severity||crash||Reproducibility||have not tried|
|Target Version||5.0.1||Fixed in Version||5.0.1|
|Summary||0017781: Crash 19F86866 on Wi-Fi sync (regression 2334)|
|Description||User at https://www.mediamonkey.com/forum/viewtopic.php?f=30&t=98872|
reported a crash during Wi-Fi sync.
Based on the crash log it looks like a regression while fixing the leaking prepared queries (issue 0017755 )
As for the steps to reproduce: Based on the crash log this can happen during the initial pairing process (when there are some pre-uploaded tracks in MMA that needs to be paired with MM5 tracks)
|Tags||No tags attached.|
|Fixed in build||2400|
Test notes: The issue is a little bit tricky to replicate as it appears only when there is at least 100 "unpaired" tracks.
The initial pairing process between MMA and MM5 happens typicaly when MM5 instance is changed.
So in scenario like this:
- having 150 track in MMA
- clean install of 2236 (or deleted MM5.DB so that it creates fresh library)
- select new sync server in MMA (the new MM5 instance) and initiate wifi-sync to force pairing the tracks
=> first batch of 100 tracks is paired correctly
=> it crashes on the second batch and thus leaving 50 tracks unpaired
- restart MM5 and sync again
=> no crash as the remaining 50 songs has been paired in the first batch
So if you have e.g. 320 unpaired tracks in MMA then MM5 (2336-2338) will crash three times for you, then the Wi-Fi sync will start to work.
Low risk fix of this crash added to SVN (revision 37866) -- could be merged to 5.0.0 as a "hot fix"
But they are more general (possible) problems related to prepared queries used in external threads -- to be fixed for 18.104.22.1680
More general fix for prepared queries used in external threads added in 22.214.171.1240 (SVN revision 37870).
Unable to replicate, looks it is working now.
Test note: Tested for regression when doing same pairing with multiple devices simultaneously.