INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC "locking" when pasting artwork from clipboard  (Read 1362 times)

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
MC "locking" when pasting artwork from clipboard
« on: April 04, 2020, 05:06:00 am »

Have been experiencing increasing "lockups" for some time now during my import workflow and thought it was time to raise the issue.

I always right click import using explorer and then run through my import workflow.  There is currently a lockup during the import process and a major lockup when pasting artwork from clipboards.

eg, logging below shows a 15.3s "lockup" here with MC entirely unresponsive after pasting some artwork.

0049937: 21792: Database: CTagSaveHelper::Thread: Done saving tag
0051937: 21792: Database: CTagSaveHelper::Thread: Finish (15375 ms)
0151421: 21944: Playback: CMJWaveFeeder::Thread: Finished feeder loop (bCancel: 0, bPlayed: 1)


I've seen lockups last twice as long in the logs.

Library has 100,000+ files, stored on NAS, which is accessed via mapped drive (Z:\)

I was also getting startup lockups until I moved my podcast directory from the NAS onto an internal hard drive, which resolved that issue entirely, suggesting it's perhaps related to NAS access, although no other software is locking up in this way.

Does the log snippet above mean anything useful in this regard???

Windows 10 Home.  Windows Security is tamed with regards MC.

Open to suggestions...



Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: MC "locking" when pasting artwork from clipboard
« Reply #1 on: April 04, 2020, 05:50:48 am »

NAS drives waking up.

Drive going bad.

Try a local test library.
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: MC "locking" when pasting artwork from clipboard
« Reply #2 on: April 04, 2020, 07:42:31 am »

Is your Database located on a local drive or on the NAS?
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: MC "locking" when pasting artwork from clipboard
« Reply #3 on: April 04, 2020, 07:59:50 am »

NAS drives waking up.

The drives don't sleep.

Quote
Drive going bad.

All drives enterprise level and regularly health tested.

Quote
Try a local test library.

I'm almost certain that would fix it, but this has to work with my NAS due to library size and the fact that the media is shared throughout the house to multiple clients.  Not to mention data security/backups etc.



Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: MC "locking" when pasting artwork from clipboard
« Reply #4 on: April 04, 2020, 08:00:26 am »

Is your Database located on a local drive or on the NAS?
The library is on the system SSD - the files are on the NAS.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: MC "locking" when pasting artwork from clipboard
« Reply #5 on: April 04, 2020, 09:40:23 am »

Try a local test library.

Imported an album from my desktop, so it's on local SSD.  Pasted the cover art from clipboard - locked up...
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: MC "locking" when pasting artwork from clipboard
« Reply #6 on: April 04, 2020, 09:47:15 am »

Antivirus?

Type of audio file and image file?
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: MC "locking" when pasting artwork from clipboard
« Reply #7 on: April 04, 2020, 11:23:55 am »

Antivirus?

Only Windows Security and MC is whitelisted as far as possible.

Quote
Type of audio file and image file?

FLAC and image is jpg to Folder.jpg

I'm betting there's something in my ancient and hugely complex library that is "locking" MC up in some obscure way...
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: MC "locking" when pasting artwork from clipboard
« Reply #8 on: April 04, 2020, 11:28:48 am »

Try setting up a test library.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: MC "locking" when pasting artwork from clipboard
« Reply #9 on: April 05, 2020, 01:31:51 am »

Created a new library - imports (which also takes many many seconds on my library) were instantaneous and the artwork copying also...

So it definitely seems related to my library. 

Will zip it up and send to Matt for a look when he has time.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: MC "locking" when pasting artwork from clipboard
« Reply #10 on: April 05, 2020, 02:29:32 am »

I sometimes suspect Registry crud when I read about such issues, and I know a Library has been around for a long time, through multiple MC upgrades. Perhaps try to test this with the following procedure in brief, because you know what you are doing.  8)

1. Backup your Library first of course.
2. Uninstall MC including Registry entries and Library files.
3. Reboot and reinstall MC, then Restore just the Library files from the backup. So no Registry settings.

Does the problem go away?

If so, it is some setting, and not the Library itself, including Custom Fields, Views, Expressions, etc. That might help focus the investigation...

But it could just be a bug just as easily.  ;)
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: MC "locking" when pasting artwork from clipboard
« Reply #11 on: April 05, 2020, 02:40:06 am »

Good idea, but this is a fresh Win 10 install, so no registry crud is present...
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: MC "locking" when pasting artwork from clipboard
« Reply #12 on: April 05, 2020, 03:34:36 am »

Good idea, but this is a fresh Win 10 install, so no registry crud is present...

Yes it is, if you Restored a Library with Settings. Have a look in the "User Settings.ini" file inside a backup ZIP file.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: MC "locking" when pasting artwork from clipboard
« Reply #13 on: April 05, 2020, 03:57:14 am »

Will check, but how do I know what is crud and what is not...?
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: MC "locking" when pasting artwork from clipboard
« Reply #14 on: April 05, 2020, 04:00:02 am »

256Kb of registry info!!  ;D
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: MC "locking" when pasting artwork from clipboard
« Reply #15 on: April 05, 2020, 03:18:56 pm »

Will check, but how do I know what is crud and what is not...?

That is the question, isn't it? I had 344 KB. In my Workstation Library, where I do a lot of testing, I have about 76 Zones, about 6 of which are valid, for example. The rest are duplicates or deleted Zones I no longer have in the Libray.

Hence the suggestion to do a new installation without settings, just to narrow the possible causes of your current issue with lockups.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: MC "locking" when pasting artwork from clipboard
« Reply #16 on: April 06, 2020, 03:00:58 am »

Will investigate today but am hoping Matt can find the lock because if it IS related to the registry, then it's would be a useful fix to stop it impacting others in the future...
Logged
Pages: [1]   Go Up