2338 Crashes on Wi-Fi Sync [#17781]

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

Moderator: Gurus

robojock
Posts: 387
Joined: Sun Sep 26, 2004 12:01 pm
Location: Windhoek,Namibia

2338 Crashes on Wi-Fi Sync [#17781]

Post by robojock »

Hi,

I am trying to wifi sync my playlist (smartplaylist) converting flac to mp3 and mm5 crashes every single time with #19F86866 here is my debug log as well

Edit : issue was introduced with build 2337 onwards build 2336 does not crash when syncing
Ludek
Posts: 3947
Joined: Fri Mar 09, 2007 9:00 am

Re: 2338 Crashes on Wi-Fi Sync

Post by Ludek »

Hi,
thanks for reporting!

Based on the crash log it looks like a regression while fixing the leaking prepared queries (issue #17755 )

Entered as https://www.ventismedia.com/mantis/view.php?id=17781 and looking into it...

EDIT: seeing that #17755 has been fixed in 2334, so I guess that 2336 must also crash for you (or it has been just coincidence that it hasn't crash) ?

EDIT2: Seeing your yeasterday's crash 19F86866 from 2336 here, so it confirms that the issue has been introduced in 2334
robojock
Posts: 387
Joined: Sun Sep 26, 2004 12:01 pm
Location: Windhoek,Namibia

Re: 2338 Crashes on Wi-Fi Sync [#17781]

Post by robojock »

Hi Ludek,

No 2336 did not crash for me and I could successfully sync via wifi. I started with 2338 as it has officially been released and worked my way back until mm5 did not crash and could successfully sync which was 2336. (2338 > 2337 > 2336)
Ludek
Posts: 3947
Joined: Fri Mar 09, 2007 9:00 am

Re: 2338 Crashes on Wi-Fi Sync [#17781]

Post by Ludek »

OK, I see three logs 19F86866 here, all three are from user sergio79 (two from 2338 and one from 2336). So not sure whether Sergio is you?

Anyhow 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 empty library)
- 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 track then MM5 (2336-2338) will crash three times for you, then the Wi-Fi sync will start to work.
robojock
Posts: 387
Joined: Sun Sep 26, 2004 12:01 pm
Location: Windhoek,Namibia

Re: 2338 Crashes on Wi-Fi Sync [#17781]

Post by robojock »

Hi Ludek,

Yes that is me. I am not aware that it crashed in 2336, it could be that it crashed and I submitted the report but I don't remember.
Ludek wrote: Fri Apr 23, 2021 4:46 am Anyhow 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 empty library)
- 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 track then MM5 (2336-2338) will crash three times for you, then the Wi-Fi sync will start to work.
Yes I had tracks on my android device which I had previously synced with mm5 (and another app) and decided to start a new mm5 database to eliminate any issues that I had with previous builds.
Post Reply