Bug 12576 - SS 7.4 hangs Mac on Standby
: SS 7.4 hangs Mac on Standby
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Sleep
: 7.4.0
: Macintosh MacOS X 10.5
: -- major (vote)
: ---
Assigned To: Unassigned bug - please assign me!
: TestCase
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-29 03:16 UTC by Joerg Schwieder
Modified: 2011-11-06 23:25 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schwieder 2009-06-29 03:16:38 UTC
This is on r27258.
If I run Squeezebox Server and try to sen the Mac into standby, Mac hangs and will neither reach standby nor become active again (the latter may be a Mac issue).
I can fully reproduce this: Standby works if server is shut down and hangs the Mac if not.
This is Leopard 10.5.7 on a MacBook Air
Comment 1 Michael Herger 2009-06-29 05:51:47 UTC
I almost never shut down my MacBook. Always send it into standby or hibernation only. Never encountered any issue like this. Do you get any error message in OSX' console? Any idea when this started?
Comment 2 Joerg Schwieder 2009-06-29 06:07:18 UTC
Same here. I also didn't have the issue before, it started with r27258.
Comment 3 Joerg Schwieder 2009-06-29 06:14:14 UTC
One more thing, it looks like the iTunes import doesn't finish, could it have to do with that? Although I did have THAT problem also before.

nothing in the console log, btw.
Comment 4 Michael Herger 2009-06-29 06:17:27 UTC
> it started with r27258.

Then we should CC Andy.
Comment 5 Andy Grundman 2009-06-29 06:27:33 UTC
So you have to do a hard reboot every time you try to sleep your Mac while SC is running?!
Comment 6 Joerg Schwieder 2009-06-29 06:28:25 UTC
Yes.
Comment 7 Andy Grundman 2009-06-29 06:43:59 UTC
Ouch, but I can't reproduce.  I can sleep in the midst of a scan, and at any other time.  I have my Mac configured to sleep only, not the default of safe sleep.
Comment 8 Joerg Schwieder 2009-06-29 06:46:26 UTC
I'll experiment with that later today. I use safe sleep, but I've got DeepSleep and can use that to try "simple" sleep.
Right now I don't want a re-boot, though.
Should I update SC first?
Comment 9 Andy Grundman 2009-06-30 17:34:56 UTC
This is one for QA.
Comment 10 James Richardson 2009-07-31 08:42:49 UTC
Joerg:  have you had a chance to try the later versions of SC 7.4 and changing sleep states on your Mac?
Comment 11 Joerg Schwieder 2009-07-31 09:41:29 UTC
I've had a chance and actually I was about to file another bug against SC on Mac but I might as well use this one.

The current SC (I think it updated today, it reports r27844) is much worse in that it doesn't only hang up my Mac on standby but also during regular operation.

I can't say what EXACTLY the issue is, my guess would be access to the server through the web interface (not the web interface itself/rendering of the web IF) but it's just a guess.

Symptoms: After a while of use, when I have the Preference Pane and the Web UI open, the Mac becomes completely unresponsive.
The CPU load is actually not very high but still switching between windows is VERY slow (as in: two minutes to switch to another window) and generally, the System Preferences lock up.
Generally also other apps some times lock up (I think they simply don't get to the foreground enough) but they become responsive again.

I haven't found a way to get the system responsive again other than (hard) re-booting, I don't think I found all SC related processes.

Another Symptom is that I can't get ANY access to the server through a browser when this happens.

I guess something in the scheduling or the UI locks up since - as written above - CPU load is actually pretty low.

Sorry that I can't give you an exact way to reproduce this but I happens every time I use SC on my Mac within an hour or so (I usually don't run SC on the Mac).

System:
MAcBook Air
OSX 10.5.7
SC r27844
Player: Squeezeslave
iTunes integration disabled (scan stalls when it's activated)

I did already deactivate all 3rd party plugins.
Comment 12 Joerg Schwieder 2009-07-31 09:44:06 UTC
Oh, another thing:
I do use a 3G mobile connection with my MBA (HSDPA) which sometimes has high latency, especially with bad connections. I've seen other applications lock up when trying internet communication and not getting the expected turnaround times.
Comment 13 Andy Grundman 2009-07-31 09:49:30 UTC
Is it a memory leak?  Look for 'perl' in Activity Monitor.
Comment 14 Joerg Schwieder 2009-08-01 01:33:01 UTC
You are right, the symptoms sound a lot like a memory leak.
And my MBA is also a little bit low on available swap space.

I tried to find perl in the activity monitor but didn't . It's always shown (folded) as a sub-process of something and the system was responding just too slow to search for it.
Will try again later and look out for it upfront.
Will also watch the memory usage of the Preference Pande widget since that's what's my candidate.
Comment 15 Chris Owens 2009-08-05 12:01:29 UTC
Assigning to Steven to follow up if more info becomes available
Comment 16 Ben Klaas 2009-08-26 07:52:53 UTC
this is an administrative shuffle on priority fields to help make better judgment on the top end of the priority list. P4->P5, P3->P4, and P2->P3.
Comment 17 James Richardson 2009-10-15 09:04:02 UTC
Re-Targeting bugs that did not make it into 7.4.0 release
Comment 18 Joerg Schwieder 2011-01-14 01:15:27 UTC
I didn't see this with 7.5 and newer anymore.
Comment 19 Alan Young 2011-11-06 23:25:01 UTC
Unassigned bugs cannot have a priority.