2197 - MM locks up when loading db while minimised

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

Moderator: Gurus

Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

2197 - MM locks up when loading db while minimised

Post by Barry4679 »

I did a clean install of MM5 ... did NOT import data or settings from MM4

I add my music shares using your wizard, and import started ... it takes 20+ minutes ... left it running minimised.

When I come back later, it looks like it has completed, but MM5 is frozen. ... Maybe because it was minimised, and had trouble displaying the completion dbox? ... see this strange label here.

I repeated these steps, because I did not capture an image of the strange label ... the 2nd run had the same result ... I didn't capture a log file because it would be large due to my library size.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Peke
Posts: 18341
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: 2197 - MM locks up when loading db while minimised

Post by Peke »

Hi,
You should, create log file and then compress it, it should be much smaller then.

I tried and 127k of tracks imported without issues when MM5 was minimized.

You can always test on folders that have smaller number of tracks.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: 2197 - MM locks up when loading db while minimised

Post by Barry4679 »

Peke wrote: Tue Sep 17, 2019 11:07 am You should, create log file and then compress it, it should be much smaller then.
Steps:
  • install clean version of MM5 ... DO NOT import db or settings from MM4
  • run through 1st setup wizard to do the following:
  • point MM to music shares
  • provide Gold registration details
At the end of the wizard:
  • MM imports data into the db
  • minimise MM5 ... go away while it loads
  • come back, and MM5 is frozen as illustrated in my 1st post
link to zipped debug log PM'd to Ludek
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Peke
Posts: 18341
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: 2197 - MM locks up when loading db while minimised

Post by Peke »

Hi,
Ok, I informed Ludek that you sent logs to him. Thanks
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Ludek
Posts: 5101
Joined: Fri Mar 09, 2007 9:00 am

Re: 2197 - MM locks up when loading db while minimised

Post by Ludek »

Barry, does this happen even with smaller group of tracks imported?
It looks like MM5 is not frozen, but according to your first screenshot MM5 main window is dimmed -- which would indicate that there is another dialog (maybe the scan results dialog ?) hidden behind the main window?
i.e. looks rather like windows management issue to me (although I cannot replicate the issue)
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: 2197 - MM locks up when loading db while minimised

Post by Barry4679 »

Ludek wrote: Thu Sep 19, 2019 1:57 pm Barry, does this happen even with smaller group of tracks imported?
OK, tried this ... yes it does happen



Ludek wrote: Thu Sep 19, 2019 1:57 pm It looks like MM5 is not frozen, but according to your first screenshot MM5 main window is dimmed -- which would indicate that there is another dialog (maybe the scan results dialog ?) hidden behind the main window?
i.e. looks rather like windows management issue to me (although I cannot replicate the issue)
MM5 still suffers relatively frequently from "windows management issues" .... ie. dboxes sometimes loading at top right of the screen, with just a tiny amount of the lhs frame showing ... sometimes dboxes load under the deactivated MM5 window (although I have not seen this one for a long time) ... windows not repainting properly when resized, or I have closed one on the MM5 panels

I don't see this with any other applications.

I have a few workaround tricks to detect or get past this ... ie. WindowsKey+D to close all, and then just open MM5 .... or alt tab to see all current windows ... or look at the task bar to see if MM5 has multiple windows open

None of these work in this situation .... MM5 is dimmed and is locked ... terminate via Task Manager is required

There is another issue with the 1st thru wizard that I forgot to mention last time ... The node for Microsoft Windows Network doesn't open any more .. I need to type in the URI for my music share ... once I add that, the node can be opened so that I can see the list of my other shares.

[UPDATE re your failure to replicate] I have no trouble replicating ... in all my tests I have been doing something else, so MM5 sits minimised for a while ... ie. I can see that it has completed because its icon on the Windows Task Bar is no longer animated ... maybe you should wait a while before reactivating the window ... ie. maybe the issue comes from some MM5 watchdog timer, like this

The Task manager shows that MM5 has 3 processes running.

One other thing; I have dual screens ... setup in Extend Desktop mode ... I run MM5 on the "main" display, ie. the one with the Windows Task Bar
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: 2197 - MM locks up when loading db while minimised

Post by Barry4679 »

Barry4679 wrote: Thu Sep 19, 2019 8:33 pm
Ludek wrote: Thu Sep 19, 2019 1:57 pm It looks like MM5 is not frozen, but according to your first screenshot MM5 main window is dimmed -- which would indicate that there is another dialog (maybe the scan results dialog ?) hidden behind the main window?
i.e. looks rather like windows management issue to me (although I cannot replicate the issue)
MM5 still suffers relatively frequently from "windows management issues" .... ie. dboxes sometimes loading at top right of the screen, with just a tiny amount of the lhs frame showing
This is still happening with 2201.
I was syncing my GPM library. MM5 was minimised. This time I can see just the edge of the end-of-scan dbox.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: 2197 - MM locks up when loading db while minimised

Post by Barry4679 »

Ludek wrote: Thu Sep 19, 2019 1:57 pm Barry, does this happen even with smaller group of tracks imported?
It looks like MM5 is not frozen, but according to your first screenshot MM5 main window is dimmed -- which would indicate that there is another dialog (maybe the scan results dialog ?) hidden behind the main window?
i.e. looks rather like windows management issue to me (although I cannot replicate the issue)
Here is the same bug, this time with a GPM Sync. ... [UPDATE] ... by "same bug", I am nor referring to my post above, about the recurring problem of dboxes being loaded almost off-screen ... I am referring to the freeze situation where the dbox is fully off-screen AFAICS ... ie. need to abend MM5 with the Task Manager.

I may have mislead you by saying the window is minimised. In this test it was just lower in the z-order ... ie. it was under the Chrome browser, which was being displayed in fullscreen mode.

Steps:
  • open MM5 ... it opens on my left hand screen
  • drag it to my main screen ... rhs screen in the Windows "main screen"
  • MM5 is still in the state that it opened (ie. not maximised ... not minimised)
  • start GPM library sync
  • while waiting, open Chrome Browser, maximised to the rhs window

I am surprised that you can't replicate ... the problem is 100% repeatable for me.

I took another debug log, and PM's link to Ludek

I looked at the log
  • I see the sync finishing, and it looks like it is building|displaying the end of scan dbox
  • [17888] MM5 [18236](R) Display 0, X: 0, Y: 0, width: 1920, height: 1080
  • [17888] MM5 [18236](R) Placed to display
  • then it has several of these lines ... this is expected?
  • [17888] MM5 [18236](R) Main window is not minimized and not hidden
  • also there is a filename typo|bug somewhere ... is this exception managed properly?
  • [17888] MM5 [23760](R) TCustomFileResource.retrieveResource - file "D:\My Documents\My Pictures\Images\FavIcons\moreover.com.ico.svg" NOT FOUND!
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Ludek
Posts: 5101
Joined: Fri Mar 09, 2007 9:00 am

Re: 2197 - MM locks up when loading db while minimised

Post by Ludek »

Thx, I redirected the log to Petr (he will look into it, as it is a windows management issue)
Post Reply