INTERACT FORUM

Please login or register.

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

Author Topic: Rebuild Thumbnails Results In Crash  (Read 2207 times)

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Rebuild Thumbnails Results In Crash
« on: July 15, 2018, 10:25:08 am »

I updated two Folder.jpg files with larger sized JPGs (300x300 to 500x500; not very large).  After doing this and while currently playing music in Playing Now, I clicked rebuild thumbnails for All Files.

This is the latest available version 24.0.41.

Screenshots attached.

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Reuild Thumbnails Results In Crash
« Reply #1 on: July 15, 2018, 10:42:46 am »

I am trying this same exact thing once more.  The main MC24 app totally freezes while the rebuild thumbnail dialog moves.  However, it appears music continue to play in another thread.  The music actually even continued for some time while it became unresponsive.

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Reuild Thumbnails Results In Crash
« Reply #2 on: July 15, 2018, 10:44:04 am »

I just reproduced the issue.  The dialog is now gone with the main app frozen.  Windows is again showing the app is unresponsive.  However, music continues to play...

This is a defect.

After the song that was playing finished, there is now silence.

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #3 on: July 15, 2018, 10:47:27 am »

I just reproduced this without any music playing at all.

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #4 on: July 15, 2018, 02:31:47 pm »

Why would rebuild thumbnails need to write to my NAS?

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72448
  • Where did I put my teeth?
Re: Rebuild Thumbnails Results In Crash
« Reply #5 on: July 15, 2018, 02:35:14 pm »

What location have you set for MC's library files (the database, not the media files)?
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #6 on: July 15, 2018, 02:38:03 pm »

My library is the default Windows 10 location unchanged:

C:\Users\<me>\AppData\Roaming\J River\Media Center 24\Library

The app has full read/write permissions here.  I use only Windows 10 built-in virus protection and no third party anti-virus at all.

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7817
  • Autumn shade...
Re: Rebuild Thumbnails Results In Crash
« Reply #7 on: July 15, 2018, 02:46:25 pm »

Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #8 on: July 15, 2018, 03:22:53 pm »

If you select  Tools>Advanced tools>Build missing thumbnails for your NAS library do you get a similar hangup? I have just started that action on my NAS library and it is merrily chugging it's way through 19000 files with no problem.
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #9 on: July 15, 2018, 03:24:18 pm »

You might have to tame Windows Defender.

https://yabb.jriver.com/interact/index.php/topic,115573.0.html

I just went through all of this to reproduce the same issue.  This seems to be something new, because I have done this same thing numerous times with zero problems.  I will try rebooting after adding all the exclusions.  MC24 starts scanning then simply hangs followed by Windows reporting the app being unresponsive.  Again, I have done this many times to never encounter this issue.

While MC24 is hanging, I see activity from my NAS, so it is doing something in the background.  The app is simply frozen though and will eventually cause Windows to report that it is unresponsive.  See Task Manager screenshot while it is rebuilding thumbnails.  It is using CPU but hogging the entire thread.  This is looking more and more like a bug.  Not releasing cycles to Windows and consuming it all.

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #10 on: July 15, 2018, 03:28:45 pm »

If that was the case why does mine work without a problem. Have you tried the build missing thumbnails test I suggested?
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #11 on: July 15, 2018, 03:30:20 pm »

Eventually it stops everything and remains frozen with no read activity at all from my NAS.  This is when Windows reports it is unresponsive.  It appears to be unresponsive as far as Windows is concerned even at the start of rebuilding thumbnails.  Minutes later it totally freezes.

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #12 on: July 15, 2018, 03:38:57 pm »

After a reboot, I see the same behavior and crash.  Windows Task Manager again showed the app being unresponsive during the thumbnail rebuild (I think this is the root cause of the issue -- not allowing Windows background processing during the thread).  It eventually gets stuck and becomes totally unresponsive.

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #13 on: July 15, 2018, 03:40:48 pm »

If you select  Tools>Advanced tools>Build missing thumbnails for your NAS library do you get a similar hangup? I have just started that action on my NAS library and it is merrily chugging it's way through 19000 files with no problem.

I do not have any missing thumbnails, and I was attempting to rebuild all of them.  I can attempt your test, but MC24 should do nothing at all, since none are missing.

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7817
  • Autumn shade...
Re: Rebuild Thumbnails Results In Crash
« Reply #14 on: July 15, 2018, 03:41:02 pm »

Actually, MC might be busy in the background rebuilding the thumbnails while it's appearing unresponsive. What happens if you leave it like that (and allow it to do its thing) after a few hours or a day or two? Just don't exit/close MC when Windows reports it's unresponsive, as it's likely working in the background.

Furthermore, how many files (and what types are they) are you rebuilding the thumbnails for?
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #15 on: July 15, 2018, 03:41:30 pm »

Why not start logging MC limited to 5MB under Help. Then cause the hangup to see what might be initiating the hang. You might have a dodgy file on your NAS, for example, which would explain the freeze. My MC is still building thumbnails from the NAS in the background and remains perfectly functional.
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #16 on: July 15, 2018, 03:46:04 pm »

Actually, MC might be busy in the background rebuilding the thumbnails while it's appearing unresponsive. What happens if you leave it like that (and allow it to do its thing) after a few hours or a day or two? Just don't exit/close MC when Windows reports it's unresponsive, as it's likely working in the background.

Furthermore, how many files (and what types are they) are you rebuilding the thumbnails for?

The second screenshot about MC24 being unresponsive shows and it stops all activity.  This is not normal by any means.  My only options are to wait or close the app.  If I click wait, it freezes with no activity at all from my NAS.  The unresponsive window pops back up again.

I actually do not have that many files:  over 15,000.  I have a combination of:  APE, MP3, FLAC and OGG. 

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #17 on: July 15, 2018, 04:09:39 pm »

The second screenshot about MC24 being unresponsive shows and it stops all activity.  This is not normal by any means.  My only options are to wait or close the app.  If I click wait, it freezes with no activity at all from my NAS.  The unresponsive window pops back up again.

I actually do not have that many files:  over 15,000.  I have a combination of:  APE, MP3, FLAC and OGG.

I turned on logging and reproduced the issue.  It actually hangs right away, which is something new in this version I had never experienced in the past.  It gets to about file #50 or 60 then freezes.  This is consistent since rebuilding thumbnails with my post.  As soon as it dies, I will post the log (as soon as I find where it is).

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #18 on: July 15, 2018, 04:19:34 pm »

Reproduced the issue and attached log.

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #19 on: July 15, 2018, 04:34:16 pm »

The log stops at this file Filename: \\QNAPNAS\Media\Digital Audio\Hubrid\2017, The Darksynth\08-Loneliness.flac. Would it be possible to move this folder to a location on the QNAP which is not used by MC then retry the thumbnail build with logging on?
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #20 on: July 15, 2018, 04:57:51 pm »

I moved the entire Hubrid directory and everything below to a backup path.  I have been rebuilding thumbnails for some time now.  It is taking longer, and is probably slower now due to logging.  I will post a follow-up as soon as it stops.

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #21 on: July 15, 2018, 05:03:52 pm »

I think that the file I identified is probably the cause. You can wait until thumbnail building is complete then replace the hubrid directory minus that one file and try building the thumbnails for that. Then add the file identified and try doing just that one - it should cause a hang! Hope everything works for you.
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #22 on: July 15, 2018, 05:04:06 pm »

Windows just reported it unresponsive again.  This time it took much longer, so it seems the Hubrid directory is related to the issue.  I cannot attach the whole log, so I am only sending the end of it.  It's too large even ZIP'd.

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #23 on: July 15, 2018, 05:04:50 pm »

Windows just reported it unresponsive again.  This time it took much longer, so it seems the Hubrid directory is related to the issue.  I cannot attach the whole log, so I am only sending the end of it.  It's too large even ZIP'd.

This happens for more than just one though, so it's a bug that needs fixing in MC24.

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #24 on: July 15, 2018, 05:13:27 pm »

Do these two files play ok in MC and do they have cover art showing?
Filename: \\QNAPNAS\Media\Digital Audio\Hubrid\2017, The Darksynth\08-Loneliness.flac
Filename: \\QNAPNAS\Media\Digital Audio\EVA808\2017, WPR021- Oyuki EP\04-Ro$e Gold.flac
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #25 on: July 15, 2018, 05:18:43 pm »

Yes to both questions.

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #26 on: July 15, 2018, 05:23:32 pm »

Then you may need the help of one of the high flyers on this forum. As I said earlier my NAS is having its thumbnails built with no problem - so it is likely that something about your set up is causing the problem.
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #27 on: July 15, 2018, 05:26:07 pm »

Software Engineers who actually write the code need to investigate this.  It's a defect.

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: Rebuild Thumbnails Results In Crash
« Reply #28 on: July 15, 2018, 05:27:45 pm »

Software Engineers who actually write the code need to investigate this.  It's a defect.

error
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #29 on: July 15, 2018, 05:48:18 pm »

I am a little confused with your thinking that MC24 hanging with Windows reporting it being unresponsive is intended behavior.

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #30 on: July 15, 2018, 06:02:41 pm »

It is occurring on your particular set-up, I have tried a complete thumbnail rebuild on my system from a NAS drive and it is working correctly.
Windows 10 fully updated, MC 24.0.41. on a Gigabyte Brix with limited CPU power and 8GB memory. Netgear ReadyNAS 102. I did it on this system because if anything was going to trip it up it would happen on this system. Do you have these files stored anywhere else, or could you put some of them on a different drive and then see if thumbnails build correctly?
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #31 on: July 15, 2018, 06:06:21 pm »

You were heading in a good direction with suspecting specific folders and files.  So, what if I was to move these two folders to my local C: drive followed by rebuilding thumbnails to see the same problem?  Is it still an issue with my particular system, or can MC24 not handle the artwork of these two particular folders?  What if you do not have these folders on your system?

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #32 on: July 15, 2018, 06:08:08 pm »

If you could try building thumbnails on a folder by folder basis you might narrow down the problem.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72448
  • Where did I put my teeth?
Re: Rebuild Thumbnails Results In Crash
« Reply #33 on: July 16, 2018, 12:19:54 am »

You might try updating the firmware of your NAS.
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #34 on: July 16, 2018, 01:49:07 am »

Thank you for your suggestion, but it updates itself as is at the latest version.

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72448
  • Where did I put my teeth?
Re: Rebuild Thumbnails Results In Crash
« Reply #35 on: July 16, 2018, 02:05:55 am »

What is the NAS?  Manufacturer?  Model?
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #36 on: July 16, 2018, 02:41:37 pm »

QNAP TS-809 firmware version 4.2.6 dated May 31, 2018

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #37 on: July 17, 2018, 05:00:18 am »

You might try a smartlist media type is audio - playable  is not 1 . This might show up any problem files in your library.
Logged

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Rebuild Thumbnails Results In Crash
« Reply #38 on: July 17, 2018, 02:46:06 pm »

No results when adding this.

swiv3d

  • Guest
Re: Rebuild Thumbnails Results In Crash
« Reply #39 on: July 17, 2018, 03:05:13 pm »

All I can suggest is to do a build thumbnails on batches of files to see if it fails with particular files. I agree that when a process fails it should exit gracefully and not cause the system to hang. This kind of behaviour suggests that there is an image file with a damaged header section, as far as I know. You could remove the newly added cover art, replace it with the old cover art, remove embedded cover art from the files in those albums - then check if rebuilding thumbnails works.
Logged
Pages: [1]   Go Up