INTERACT FORUM

Please login or register.

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

Author Topic: on shutdown, "please wait, saving tags, 1 remaining"  (Read 1594 times)

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8947
on shutdown, "please wait, saving tags, 1 remaining"
« on: September 03, 2006, 03:53:08 am »

Just received this dialogue on shutdown.

I've seen it once before, when I closed, forgetting about a huge tagging job that was running at the time. I was grateful, and the dialogue cleared when the job finished.

This time, I'm not really sure what's caused it. There's a good chance that one of the files in the log was probably in the playing now list, in a paused state, at the time of shutdown.

I've checked all the files in that folder, and there are no locking handles on any of them.

The log goes like so:

General: CMCShutdownHelper::Cleanup: Start
General: CMCShutdownHelper::Cleanup: Source: CMainFrame - Close(...)
General: CMCShutdownHelper::Cleanup: Setting shutdown flags
General: CMCShutdownHelper::Cleanup: Ending background threads
General: CLoaderThread::~CLoaderThread: Start
General: CLoaderThread::~CLoaderThread: Stopping thread
General: CLoaderThread::~CLoaderThread: Clearing save timer
General: CLoaderThread::~CLoaderThread: Stopping worker threads
General: CLoaderThread::~CLoaderThread: Revoking automation
General: CLoaderThread::~CLoaderThread: Restoring system settings
General: CLoaderThread::~CLoaderThread: Finish (140 ms)
General: CMCShutdownHelper::Cleanup: Deleting frame member objects
General: CMCShutdownHelper::Cleanup: Saving data from UI
General: CMCShutdownHelper::Cleanup: Save window position
General: CMCShutdownHelper::Cleanup: Hiding UI
General: CMCShutdownHelper::Cleanup: Stopping playback
General: CMCShutdownHelper::Cleanup: Saving last exit mode
General: CMCShutdownHelper::Cleanup: Destroying UI
General: CMJFileListCtrl::OnDestroy: Start
Import: JRAnalyzer::Open: Start
Import: JRAnalyzer::AddFile: Start
Import: JRAnalyzer::AddFileImage: Start
Import: JRAnalyzer::AddFileImage: Finish (31 ms)
Import: JRAnalyzer::AddFile: Finish (94 ms)
Import: JRAnalyzer::Open: Finish (156 ms)
Reader: CLocalReader::OpenInternal: Start
Reader: CLocalReader::OpenInternal: Create: 0
Reader: CLocalReader::OpenInternal: Opening: D:\Pictures\!source\Canon\2005 - 09\IMG_0128.jpg
Reader: CLocalReader::OpenInternal: Finish (78 ms)
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\IMG_0128.jpg
Reader: CLocalReader::Close: Finish (78 ms)
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\IMG_0128.jpg
Reader: CLocalReader::Close: Finish (63 ms)
Reader: CLocalReader::OpenInternal: Start
Reader: CLocalReader::OpenInternal: Create: 0
Reader: CLocalReader::OpenInternal: Opening: D:\Pictures\!source\Canon\2005 - 09\IMG_0128.jpg
Reader: CLocalReader::OpenInternal: Finish (79 ms)
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\IMG_0128.jpg
Reader: CLocalReader::Close: Finish (47 ms)
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\IMG_0128.jpg
Reader: CLocalReader::Close: Finish (47 ms)
Import: JRAnalyzer::Open: Start
Import: JRAnalyzer::AddFile: Start
Import: JRAnalyzer::AddFileImage: Start
Import: JRAnalyzer::AddFileImage: Finish (15 ms)
Import: JRAnalyzer::AddFile: Finish (63 ms)
Import: JRAnalyzer::Open: Finish (109 ms)
Reader: CLocalReader::OpenInternal: Start
Reader: CLocalReader::OpenInternal: Create: 0
Reader: CLocalReader::OpenInternal: Opening: D:\Pictures\!source\Canon\2005 - 09\IMG_0128_edited_1.jpg
Reader: CLocalReader::OpenInternal: Finish (79 ms)
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\IMG_0128_edited_1.jpg
Reader: CLocalReader::Close: Finish (63 ms)
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\IMG_0128_edited_1.jpg
Reader: CLocalReader::Close: Finish (62 ms)
Reader: CLocalReader::OpenInternal: Start
Reader: CLocalReader::OpenInternal: Create: 0
Reader: CLocalReader::OpenInternal: Opening: D:\Pictures\!source\Canon\2005 - 09\IMG_0128_edited_1.jpg
Reader: CLocalReader::OpenInternal: Finish (62 ms)
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\IMG_0128_edited_1.jpg
Reader: CLocalReader::Close: Finish (32 ms)
Handheld: CWMDMInterface::~CWMDMInterface: Finish (203 ms)
Handheld: CWMDMThread::Thread: Finish (4595891 ms)
Reader: CLocalReader::OpenInternal: Start
Reader: CLocalReader::OpenInternal: Create: 1
Reader: CLocalReader::OpenInternal: Creating: D:\Pictures\!source\Canon\2005 - 09\~!~MCTEMP~!~.jpg
Reader: CLocalReader::OpenInternal: Finish (94 ms)
General: CMCShutdownHelper::Cleanup: Unloading database
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\~!~MCTEMP~!~.jpg
Reader: CLocalReader::Close: Finish (47 ms)
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\~!~MCTEMP~!~.jpg
Reader: CLocalReader::Close: Finish (31 ms)
Reader: CLocalReader::Close: Start
Reader: CLocalReader::Close: Closing: D:\Pictures\!source\Canon\2005 - 09\IMG_0128_edited_1.jpg
Reader: CLocalReader::Close: Finish (46 ms)

I end tasked media center.exe after 15 minutes.

-marko.

dcwebman

  • Citizen of the Universe
  • *****
  • Posts: 2153
Re: on shutdown, "please wait, saving tags, 1 remaining"
« Reply #1 on: September 03, 2006, 12:19:34 pm »

I saw this same thing in 66, but unfortunately didn't save a log. I know there were no files still needing updating because I made sure of that before I closed MC. I let it sit a few minutes and then had to use Task Manager to close it.
Logged
Jeff

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
Re: on shutdown, "please wait, saving tags, 1 remaining"
« Reply #2 on: September 03, 2006, 06:10:17 pm »

this was reported along with other problems with MC locking files in the bug thread but was exported out.

http://yabb.jriver.com/interact/index.php?topic=35541.0

there are many places MC runs into problems because they are keeping the file open and not closing the media files.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: on shutdown, "please wait, saving tags, 1 remaining"
« Reply #3 on: September 04, 2006, 01:07:51 am »

Just to confirm....

I too have been having this issue quite commonly.  I'd say it happens about every other time (or maybe every third time) I shut down MC12 (I've never been able to figure out what triggers it verses what doesn't, but it could be playing a video file vs. not playing one).  The dialog never seems to go away for me, and just keeps going and going like the enterpriser bunny until I kill the process manually.

I've also mentioned it before (in one of your long shut down threads Marko).
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8947
Re: on shutdown, "please wait, saving tags, 1 remaining"
« Reply #4 on: September 04, 2006, 02:23:04 am »

yup. 36,953 milliseconds is the current record in that dept.!!
Also...
With an image in playing now, zone 2, paused, locate that image in a different viewscheme, (not playing now), select it, and shift+delete, [enter].
Instead of a perpetual, "saving tags" dialogue as mentioned here, I see a perpetual "updating database" message instead.
This dialogue locks me out of MC.
The image is never deleted.
MC must be end-tasked and then restarted.

-marko.

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
Re: on shutdown, "please wait, saving tags, 1 remaining"
« Reply #5 on: September 04, 2006, 05:45:55 pm »

I just tried this, yep MC is trying to close but it is also trying to save the tags to a just played song.

not good.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41953
  • Shoes gone again!
Re: on shutdown, "please wait, saving tags, 1 remaining"
« Reply #6 on: September 05, 2006, 05:19:46 pm »

Please test with tonight's build.  I think it's fixed.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: on shutdown, "please wait, saving tags, 1 remaining"
« Reply #7 on: September 05, 2006, 09:24:32 pm »

Looks good so far.  I've been playing with it a bit and I haven't had it do it yet.  I'll try to test more later tonight...   ;D
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/
Pages: [1]   Go Up