Bug 5610 - ResetDisplay method failed
: ResetDisplay method failed
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-29 02:58 UTC by Mick
Modified: 2007-11-01 10:44 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
check for valid display before reset (533 bytes, patch)
2007-09-29 17:06 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mick 2007-09-29 02:58:27 UTC
Thinks this might have been orignally caused with me trying to run Softsqueeze against the nightly of the 28th Sept
but I found these error message looping up the screen

Slim::Networking::Select::select (245) Error: Select task failed: Can't call met
hod "resetDisplay" on an undefined value at C:/Program Files/SlimServer7/Server/
Slim/Player/Squeezebox.pm line 117.
Slim::Utils::Misc::msg (1191) Warning: [10:54:26.3564] Use of uninitialized valu
e in pack at C:/Program Files/SlimServer7/Server/Slim/Player/Squeezebox.pm line
1091.
Slim::Networking::Select::select (245) Error: Select task failed: Can't call met
hod "resetDisplay" on an undefined value at C:/Program Files/SlimServer7/Server/
Slim/Player/Squeezebox.pm line 117.
Slim::Utils::Misc::msg (1191) Warning: [10:54:26.3614] Use of uninitialized valu
e in pack at C:/Program Files/SlimServer7/Server/Slim/Player/Squeezebox.pm line
1091.
Slim::Networking::Select::select (245) Error: Select task failed: Can't call met
hod "resetDisplay" on an undefined value at C:/Program Files/SlimServer7/Server/
Slim/Player/Squeezebox.pm line 117.
Slim::Utils::Misc::msg (1191) Warning: [10:54:26.3664] Use of uninitialized valu
e in pack at C:/Program Files/SlimServer7/Server/Slim/Player/Squeezebox.pm line
1091.
Slim::Networking::Select::select (245) Error: Select task failed: Can't call met
hod "resetDisplay" on an undefined value at C:/Program Files/SlimServer7/Server/
Slim/Player/Squeezebox.pm line 117.
Slim::Utils::Misc::msg (1191) Warning: [10:54:26.3711] Use of uninitialized valu
e in pack at C:/Program Files/SlimServer7/Server/Slim/Player/Squeezebox.pm line
1091.
Slim::Networking::Select::select (245) Error: Select task failed: Can't call met
hod "resetDisplay" on an undefined value at C:/Program Files/SlimServer7/Server/
Slim/Player/Squeezebox.pm line 117.
Slim::Utils::Misc::msg (1191) Warning: [10:54:26.3760] Use of uninitialized valu
e in pack at C:/Program Files/SlimServer7/Server/Slim/Player/Squeezebox.pm line
1091.
Slim::Networking::Select::select (245) Error: Select task failed: Can't call met
hod "resetDisplay" on an undefined value at C:/Program Files/SlimServer7/Server/
Slim/Player/Squeezebox.pm line 117.
Slim::Utils::Misc::msg (1191) Warning: [10:54:26.3807] Use of uninitialized valu
e in pack at C:/Program Files/SlimServer7/Server/Slim/Player/Squeezebox.pm line
1091.
Slim::Networking::Select::select (245) Error: Select task failed: Can't call met
hod "resetDisplay" on an undefined value at C:/Program Files/SlimServer7/Server/
Slim/Player/Squeezebox.pm line 117.
Comment 1 KDF 2007-09-29 11:45:21 UTC
I believe this happens when there are no prefs (of the new style).  I cannot say whether it is due to initialising the default prefs or something happening during migration from old prefs.
Comment 2 Mick 2007-09-29 12:39:44 UTC
As a further FYI, I reverted to the Classic UI before I saw these errors.

I set up V7 separate from my existing 6.5 install and copied in my prefs files. Perhaps I'm doing something that a clean install would sort out, but this is an error that someone migrating might see.
Comment 3 KDF 2007-09-29 17:06:20 UTC
Created attachment 2196 [details]
check for valid display before reset

This bypasses the problem and lets softsqueeze work.  Full fix probably needs to find out how it's getting to the resetDisplay without a display class, but that's not a process I'm familiar with.  This could be applied and it would at least clear up the break for 7.0.
Comment 4 Mick 2007-09-30 04:43:33 UTC
Unfortunately I only saw this error because there was no Windows nightly and I was running the perl version.
When I went to upgrade to the latest nightly I saw this message flying up the console. I've no idea how it started, although I suspect it could have been cause by Softsqueeze as that had hund during testing.
Comment 5 Adrian Smith 2007-10-25 15:15:40 UTC
Kdf - this patch would only help for this call - all subsequent calls to display code would also cause errors...?

We need to understand why the display class failed to load.  So if anyone can reproduce I'd like to see the log at the very start when softsqueeze connects - does it say something about failing to load the display class?
Comment 6 KDF 2007-10-25 17:29:23 UTC
Triode: it seemed to be a startup only case for me.  With no prefs, using softsqueeze.  Using that patch, it avoids the initial barf and seems to be fixed shortly after and no problem.  I assume it's some sort of race condition setting up the new client/display and prefs.
Comment 7 Adrian Smith 2007-10-28 04:58:40 UTC
Hopefully fixed in change 14151.  If you delete prefs and restart with Softsqueeze you should not get these error messages.
Comment 8 Chris Owens 2007-11-01 10:44:54 UTC
Please reopen if there continues to be a problem.