Bug 4031 - Crash when enabling Network Health with no players
: Crash when enabling Network Health with no players
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Plugins
: 6.5b1
: PC SuSE Linux
: P3 minor (vote)
: ---
Assigned To: Adrian Smith
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-01 04:02 UTC by Bryan Alton
Modified: 2006-09-02 03:20 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Alton 2006-09-01 04:02:52 UTC
Clean start of slimserver 6.5 - 1 Sep build.Crash also happened on earlier build.

No players running and no player found or remembered by slimserver.

1. Enable Network Health
2. Click on Player statistics.
3. Slimserver crashes 

The log shows end of startup and then the crash - d_server log set.

2006-09-01 10:05:46.3806 SlimServer checkDataSource...
2006-09-01 10:05:46.3809 Your data source needs to be configured. Please open your web browser,
2006-09-01 10:05:46.3811 go to the following URL, and click on the "Server Settings" link.

2006-09-01 10:05:46.3812 The URL to access SlimServer is now:

        http://asuslinux:9000/
2006-09-01 10:05:46.3813 SlimServer persist playlists...
2006-09-01 10:05:46.3872 SlimServer done init...
Can't call method "sprint" on an undefined value at /home/bryan/Slimserver/Slimserver_v6.5/SlimServer_6.5_v2006-09-01/Plugins/Health/Plugin.pm line 292.
2006-09-01 10:06:02.7873 Got to the END.
2006-09-01 10:06:02.7875 Got sigint.
2006-09-01 10:06:02.7876 SlimServer cleaning up.
2006-09-01 10:06:02.7926 Shutting down plugins...
060901 10:06:02 [Note] /home/bryan/Slimserver/Slimserver_v6.5/SlimServer_6.5_v2006-09-01/Bin/i386-linux/mysqld: Normal shutdown

060901 10:06:02  InnoDB: Starting shutdown...
060901 10:06:05  InnoDB: Shutdown completed; log sequence number 0 147026
060901 10:06:05 [Note] /home/bryan/Slimserver/Slimserver_v6.5/SlimServer_6.5_v2006-09-01/Bin/i386-linux/mysqld: Shutdown complete

bryan@asuslinux:~/Slimserver/Slimserver_v6.5/SlimServer_6.5_v2006-09-01>
Comment 1 Chris Owens 2006-09-01 10:24:41 UTC
Hi Bryan, would just like to confirm the steps to reproduce this.  Are you enabling network health by checking the "Network Test" box on the server settings page?  And where are you clicking on "player statistics"?
Comment 2 Adrian Smith 2006-09-01 14:01:13 UTC
Bryan / Chris, this plugin is one of mine - I will look at this tomorrow.
Comment 3 Chris Owens 2006-09-01 14:11:34 UTC
as always, feel free to assign it back to me, or on to Dan if applicable.
Comment 4 Adrian Smith 2006-09-02 03:20:07 UTC
Bryan - I believe this is fixed in r9367 - please reopen if you still see a problem.