INTERACT FORUM

Please login or register.

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

Author Topic: Cmd-Q leads to spinning beach ball and system must be rebooted  (Read 3528 times)

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Cmd-Q leads to spinning beach ball and system must be rebooted
« on: December 12, 2013, 04:07:01 pm »

I started playback of a few tracks, and hit Cmd-Q.  MC gets the spinning beach ball of joy, fails to quit, so must be force quit.  But then gets into a problematic state and won't launch again:

Code: [Select]
$ ps -ej| egrep 'STAT|Media Center'  
USER              PID  PPID  PGID   SESS JOBC STAT   TT       TIME COMMAND
mrc              8348   163  8348      0    1 ?E     ??    0:00.00 (Media Center 19)

The only way to get MC to run again is to reboot.
Logged
The opinions I express represent my own folly.

Peter_T

  • Galactic Citizen
  • ****
  • Posts: 352
Media Center 19.0.88 -- Available Here
« Reply #1 on: December 13, 2013, 02:51:45 pm »

I started playback of a few tracks, and hit Cmd-Q.  MC gets the spinning beach ball of joy, fails to quit, so must be force quit.  But then gets into a problematic state and won't launch again:

The only way to get MC to run again is to reboot.

Yup me too.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Media Center 19.0.88 -- Available Here
« Reply #2 on: December 16, 2013, 11:58:10 am »

A bump to call some more attention to:

    http://yabb.jriver.com/interact/index.php?topic=85768.msg587453#msg587453

This is causing headaches such that I don't want to use MC on the Mac here.  It is too disruptive to have to keep rebooting.
Logged
The opinions I express represent my own folly.

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Media Center 19.0.88 -- Available Here
« Reply #3 on: December 17, 2013, 03:57:04 pm »

A bump to call some more attention to:

    http://yabb.jriver.com/interact/index.php?topic=85768.msg587453#msg587453

This is causing headaches such that I don't want to use MC on the Mac here.  It is too disruptive to have to keep rebooting.
Hopefully next build.
Logged
John Thompson, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Media Center 19.0.88 -- Available Here
« Reply #4 on: December 17, 2013, 06:50:09 pm »

Logged
The opinions I express represent my own folly.

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #5 on: December 19, 2013, 10:27:16 am »


I guess I was overly optimistic on this one - I thought it would be easy to repro. Not so.

Looks like a frozen process is being left around following the application termination.  I've seen this happen here once or twice in the past, where MC would open the database in read-only mode because of the stuck process.  I couldn't figure out a way to get rid of the process other than rebooting, and wasn't able to reproduce the issue or glean anything from logs, etc.

Need to collect more information.
1. Send a log file after MC gets into a "problematic state".
2. There are different messaging routes for program termination, so see if terminating with the close box or the menu gets rid of the problem. (longshot I know)
3. If you have Media Network enabled and don't always need it, try disabling it and see if the problem goes away.  I'm suspicious that there's something about a network connection left hanging.
Logged
John Thompson, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #6 on: December 19, 2013, 12:16:36 pm »

I do have Media Network enabled, and I have a hunch this was the suspect issue.  In fact, I don't recall seeing this issue *until* I enabled Media Network recently.

I just tried to quit MC using the close button (previously I always used Cmd-Q).  It is not stuck, but I have not yet tried Force Quit.

There is a log in my dropbox folder for you.
Logged
The opinions I express represent my own folly.

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #7 on: December 19, 2013, 01:55:16 pm »

Thanks.  The log looks pretty standard, no smoking guns there.

I'll do multiple trials of leaving our Mac Mini playing in network mode for a while and then terminating with Cmd-Q to see if I can repro.
Logged
John Thompson, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #8 on: December 19, 2013, 02:05:25 pm »

I'm running MC under lddb right now, just in case I catch anything.  So far, all Quits have been good, even with Media Network enabled.  I'm wondering if there is a relation with the Mac going to sleep and then waking.
Logged
The opinions I express represent my own folly.

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #9 on: December 19, 2013, 02:25:47 pm »

Yes, I'll test the sleep/wake scenario as well.
Logged
John Thompson, JRiver Media Center

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #10 on: December 19, 2013, 03:42:32 pm »

OK, I was able to reproduce the exact same problem once - can't do it again.

I had Media Network running, playing a track through a USB DAC, then selected "Sleep" from the Apple menu.  Brought it out of sleep, did Cmd-Q, and it beach-balled.  I force quit.  Then when restarting it said the library would be opened in read-only mode and playback was flaky.  I had the same dead [Media Center] entry in the process list as MrC posted above.  Had to reboot to make it work again.  Since rebooting I've tried the same process about a dozen times and can't get it to happen again.
Logged
John Thompson, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #11 on: December 19, 2013, 03:46:58 pm »

Maybe there's a difference with Sleep vs. Deep Sleep?
Logged
The opinions I express represent my own folly.

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #12 on: December 19, 2013, 04:01:18 pm »

Possibly, although although it seems like it would have been at the same sleep level each time since I didn't change peripherals or running software or time elapsed in sleep.
Logged
John Thompson, JRiver Media Center

bplexico

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 295
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #13 on: December 19, 2013, 04:40:55 pm »

Hmmm, if you are running Mavericks, perhaps enabling "Prevent App Nap" for MC might resolve the problem? I have my Mac Mini set to never sleep as I run it headless and use it soley for music, so I have not seen this issue though I do have Media Network enabled.

I realize while that may alleviate the issue, it won't get to the root cause of the beach ball.

p.s. I don't have "Prevent App Nap" enabled.
Logged
Mac Mini (16Gb memory, 2.3GHz i7, SSD), Synology NAS, MSB Analog DAC, Tubes, Cables, DeVore O/96s

johnjen

  • Galactic Citizen
  • ****
  • Posts: 321
  • Sonicus Caelumus Tremendamus
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #14 on: December 21, 2013, 01:43:13 am »

Just to throw my 2¢ in on this.

It seems to be something that takes a while to instigate.
IOW several albums worth of music with stopping, pausing and un-pausing, restarting, track skipping, etc., seem to be needed to trip this 'beachball freeze on quitting' problem.

I don't know if its these operations (stopping, restarting etc.) or something related, but 'flexing' the programs muscles (fussing with various operational controls) seems to 'help' trigger these sorts of behaviors.

JJ
Logged
Custom 71A HP amp, Schiit Jggy dac, HD-800-Jmod, AOIP digital data feed, custom wiring and mains power feed, Mac Pro 4cpu 16GB ram SSD's

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #15 on: December 21, 2013, 12:16:12 pm »

Last night before bed I did a test.  I launched MC w/Media Network enabled.  And then let the Mac go through its normal sleep.  When I got up in the morning, I tried to ⌘Q MC and it spins.

So no playback, or doing anything with MC is required.

Also note, I had not allowed the Mac to sleep all day yesterday, and never experienced the problem with dozens of quits and heavy usage.  Tonight I'll disable Media Network, and do the same test.
Logged
The opinions I express represent my own folly.

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #16 on: December 21, 2013, 02:46:06 pm »

Last night before bed I did a test.  I launched MC w/Media Network enabled.  And then let the Mac go through its normal sleep.  When I got up in the morning, I tried to ⌘Q MC and it spins.

So no playback, or doing anything with MC is required.

Also note, I had not allowed the Mac to sleep all day yesterday, and never experienced the problem with dozens of quits and heavy usage.  Tonight I'll disable Media Network, and do the same test.
Good info, thanks.  I'll be interested to hear the results tomorrow.
Logged
John Thompson, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Cmd-Q leads to spinning beach ball and system must be rebooted
« Reply #17 on: December 22, 2013, 12:39:36 pm »

With Media Network disabled, MC quit immediately with ⌘Q after wake-up of the Mac's night slumber.  It seems safe to assume Media Network and Sleep is the area of focus.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up