Bug 8182 - Slim::Network::Discovery constantly logs warnings
: Slim::Network::Discovery constantly logs warnings
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: mDNS
: 7.1
: All Debian Linux
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-17 02:08 UTC by Max Spicer
Modified: 2008-05-19 13:15 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Spicer 2008-05-17 02:08:13 UTC
The following sequence of warnings appear in my log almost constantly.

[10:04:54.1153] Slim::Utils::Misc::msg (1329) Warning: [10:04:54.1143] Use of uninitialized value in concatenation (.) or string at /usr/local/slimserver/Slim/Networking/Discovery.pm line 157.
[10:04:54.1166] Slim::Utils::Misc::msg (1329) Warning: [10:04:54.1157] Use of uninitialized value in addition (+) at /usr/local/slimserver/Slim/Networking/Discovery.pm line 169.
[10:04:54.1179] Slim::Utils::Misc::msg (1329) Warning: [10:04:54.1170] substr outside of string at /usr/local/slimserver/Slim/Networking/Discovery.pm line 169.
[10:04:54.1190] Slim::Utils::Misc::msg (1329) Warning: [10:04:54.1182] Use of uninitialized value in subtraction (-) at /usr/local/slimserver/Slim/Networking/Discovery.pm line 170.

At line 157 and beyond, $l is undefined.  Don't know if this is a valid state - if so, the code should test for it.
Comment 1 Michael Herger 2008-05-19 05:13:31 UTC
That's odd. What kind of players are connected when you see these messages?
Comment 2 Michael Herger 2008-05-19 05:15:28 UTC
change 19877 - silence the warning if logging for slimproto isn't set to debug
Comment 3 Adrian Smith 2008-05-19 13:14:44 UTC
fixed by change 19897 and change 19899