Bug 3766 - SelectSaver module gets unloaded and breaks IO::Handle
: SelectSaver module gets unloaded and breaks IO::Handle
Status: RESOLVED DUPLICATE of bug 3472
Product: Logitech Media Server
Classification: Unclassified
Component: Platform Support
: 6.5b1
: Macintosh Linux (other)
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-15 12:12 UTC by Gregory P. Smith
Modified: 2008-09-15 14:39 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 Gregory P. Smith 2006-07-15 12:12:02 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;
                                }
Comment 1 Dan Sully 2006-07-17 12:59:45 UTC

*** This bug has been marked as a duplicate of 3472 ***