Bugzilla – Bug 3766
SelectSaver module gets unloaded and breaks IO::Handle
Last modified: 2008-09-15 14:39:24 UTC
finally updating my trunk from before the mysql changeover to the head: debian stale perl 5.8.4: Can't locate object method "new" via package "SelectSaver" (perhaps you forgot to load "SelectSaver"?) at /usr/lib/perl/5.8/IO/Handle.pm line 213. debugging with --d_startup as Dan suggested on similar problems in another thread shows that slimserver is unloading the SelectSaver modules that loaded just fine. why? this patch fixes it: =================================================================== --- Slim/bootstrap.pm (revision 8455) +++ Slim/bootstrap.pm (working copy) @@ -183,7 +183,7 @@ # Don't bother removing/reloading # these, as they're part of core Perl. - if ($newModule =~ /^(?:AutoLoader|DynaLoader|XSLoader|Carp|overload|IO|F cntl|Socket|FileHandle)/) { + if ($newModule =~ /^(?:AutoLoader|DynaLoader|XSLoader|Carp|overload|IO|F cntl|Socket|FileHandle|SelectSaver)/) { next; }
*** This bug has been marked as a duplicate of 3472 ***