Bug 10916 - SC crashing the computer
: SC crashing the computer
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.3.2
: PC MacOS X 10.5
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-30 12:49 UTC by Osama Zaidan
Modified: 2012-03-12 23:34 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
System log (27.44 KB, application/octet-stream)
2009-01-30 12:51 UTC, Osama Zaidan
Details
SC server log (12.60 KB, application/octet-stream)
2009-01-30 12:51 UTC, Osama Zaidan
Details
SC scanner log (40.70 KB, application/octet-stream)
2009-01-30 12:52 UTC, Osama Zaidan
Details
System Log (15.55 KB, application/octet-stream)
2009-02-03 06:02 UTC, Stephen Power
Details
Server Log (22.01 KB, application/octet-stream)
2009-02-03 06:03 UTC, Stephen Power
Details
Scanner Log (40.70 KB, application/octet-stream)
2009-02-03 06:03 UTC, Stephen Power
Details
MDNS Log (2.34 KB, application/octet-stream)
2009-02-03 06:04 UTC, Stephen Power
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Osama Zaidan 2009-01-30 12:49:36 UTC
SC works for bit, but it crashes the system after a while. The crash could happen in a couple of hours or a couple of days.
When the crash happen the MAC computer goes to very slow mode in responding to any input.
I got the server, scanner and system log.
On the system log I noticed at the end of the file there was an error with Malloc function, Malloc function is a C function that allocate memory dynamically. This leads me to think there is a memory leak some where.

SC = 7.3.2
MAC 10.5.6
RN = (090119-001245)
Comment 1 Osama Zaidan 2009-01-30 12:51:16 UTC
Created attachment 4730 [details]
System log
Comment 2 Osama Zaidan 2009-01-30 12:51:49 UTC
Created attachment 4731 [details]
SC server log
Comment 3 Osama Zaidan 2009-01-30 12:52:24 UTC
Created attachment 4732 [details]
SC scanner log
Comment 4 Michael Herger 2009-02-02 00:27:35 UTC
The system is running out of memory. Home much RAM does it have? How much free disk space? Looking at the process viewer - is SC swalling insane amounts of memory? Growing? Any 3rd party plugins installed?
Comment 5 Stephen Power 2009-02-02 14:43:49 UTC
(In reply to comment #4)
> The system is running out of memory. Home much RAM does it have? How much free
> disk space? Looking at the process viewer - is SC swalling insane amounts of
> memory? Growing? Any 3rd party plugins installed?
>

Sir:

The machine in question has 1.5 gigs of RAM.  There are no 3rd party plug ins//haxies//etc. installed.

If left unchecked the runaway process will start to eat up hard drive space.  I have a 120 gig drive, with 90 gigs free.  I have seen all but 10 gigs eaten when I left the machine running after an occurence of the bug. 

Comment 6 Michael Herger 2009-02-03 00:03:41 UTC
Stephen - you say SC is eating your disk? Please check Library/Logs/SqueezeCenter: is server.log huge?
Comment 7 Stephen Power 2009-02-03 02:42:02 UTC
(In reply to comment #6)
> Stephen - you say SC is eating your disk? Please check
> Library/Logs/SqueezeCenter: is server.log huge?
> 

The server.log file is not huge; normally I kill the machine long before it starts to devour hard drive space - and I am not sure it would in every instance but I would be willing to try if it would be helpful.
Comment 8 Michael Herger 2009-02-03 02:54:21 UTC
I'm only trying to understand why you're running low on disk space. The log says you were running out of memory. Is SC swallowing insane amounts of memory, leading to huge disk swapping? If this is reproducible, could you monitor the squeezecenter task (perl) in the system monitor? What's its memory usage?
Comment 9 Stephen Power 2009-02-03 06:02:50 UTC
Created attachment 4749 [details]
System Log
Comment 10 Stephen Power 2009-02-03 06:03:26 UTC
Created attachment 4750 [details]
Server Log
Comment 11 Stephen Power 2009-02-03 06:03:42 UTC
Created attachment 4751 [details]
Scanner Log
Comment 12 Stephen Power 2009-02-03 06:04:10 UTC
Created attachment 4752 [details]
MDNS Log
Comment 13 Stephen Power 2009-02-03 06:09:49 UTC
(In reply to comment #8)
> I'm only trying to understand why you're running low on disk space. The log
> says you were running out of memory. Is SC swallowing insane amounts of memory,
> leading to huge disk swapping? If this is reproducible, could you monitor the
> squeezecenter task (perl) in the system monitor? What's its memory usage?
> 

Ok after approx. 1 hour after starting the server we have another machine lock-up/crash.  The system log file is not large.  I've noticed that if the machine becomes sluggish (ie out of memory) it will then usually eat hard drive space.  This time the OS locked up completely; I did not hear the hard drive running.  I have enclosed four additional log files, all dated today (2.3.09).  Thanks.

Stephen
Comment 14 Stephen Power 2009-02-03 06:12:19 UTC
The mDNSResponderPosix log specifically mentions the SC preference pane.
Comment 15 KDF 2009-03-14 22:07:39 UTC
going one the server log most recently provided, it seems that startup is trying to use the server.memory debug option.  This option tries to load a number of non-standard perl libraries in order to create a log of memory usage by module.  Adding the required modules would stop that crash.  I can only assume that the other 3 logs will be pointing out the fact that SC crashed, as shown in the server log.
Comment 16 Chris Owens 2009-03-16 09:51:04 UTC
We are now planning to make a 7.3.3 release.  Please review your bugs (all marked open against 7.3.3) to see if they can be fixed in the next few weeks, or if they should be retargeted for 7.4 or future.

Thanks!
Comment 17 Chris Owens 2009-03-30 17:32:22 UTC
Since there's now a planned 7.3.3 release, bugs which won't make the cut-off are being moved to the next target out.  If you feel that this bug needs to be addressed more (or less) urgently than the 7.4 release, please cc chris@slimdevices.com and leave a comment in the bug to that effect so we can review it.

Thanks.
Comment 18 Chris Owens 2009-03-31 08:54:50 UTC
For some reason Bugzilla did not change the target when I did this yesterday.  Or maybe it was me.  In either case, I'm trying it again.
Comment 19 Spies Steven 2009-07-30 15:10:33 UTC
Stephen, do you still see this issue with 7.3.3?
Comment 20 Alan Young 2011-11-06 23:23:37 UTC
Unassigned bugs cannot have a priority.