[mythtv] Lockup on Mac OS X wake from sleep
Dan Wilga
mythtv-dev2 at dwilga-linux1.amherst.edu
Thu Jan 11 17:04:40 UTC 2007
At 1:50 PM +1100 1/10/07, Nigel Pearson wrote:
>>The problem is that if I close the lid of the laptop, putting it to
>>sleep, without first quitting MFE, then MFE locks up with the
>>infamous "spinning pizza of death" when I wake the machine. I have to
>>force MFE to quit.
>
>Could you maybe run it with -v all to see what happens
>just before, and just after, the sleep?
I did this, and found that precisely nothing was added to the logs.
The last thing logged occurred shortly before I shut the lid of the
laptop (a schedule update event), and there was nothing afterward.
I confirmed that the lockup doesn't happen until something in MFE
needs to use the network. In my test, I had left it sitting at a
particular menu screen when I put the machine to sleep. Upon waking I
was able to move the cursor between menu entries, but as soon as I
pressed Return on the keyboard to go to Watch Recordings, the pizza
started to spin.
I also confirmed that the problem does not happen if I awaken the
laptop shortly after putting it to sleep (my test was about 60
seconds later.) I have usually left it asleep overnight when the
problem occurs.
Perhaps it has something to do with my wireless router? Perhaps it
handles a connection that is briefly interrupted differently from one
that has been disconnected for longer periods of time? It sort of
makes sense that it might, meaning a connection that is only briefly
lost isn't closed, but one that goes away for longer periods is
completely severed.
What happens in the case where you are using a hardwired connection,
start MFE, use it for a bit, and then pull your ethernet cable out?
Does MFE recover (and give an appropriate error) in a reasonable
amount of time? If not, that might be a good way to reproduce the
problem I'm having.
--
Dan Wilga "Ook."
More information about the mythtv-dev
mailing list