delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/08/00:09:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4F583ED2.3070804@gmail.com>
Date: Thu, 08 Mar 2012 06:08:34 +0100
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Both versions of Perl (5.10 and 5.14) DLL collision on XP Pro, rebase does not work - serious problem with latest Cygwin base Release - 1.7.11-1
References: <50BA2F81CF76F7438BD87069FCFD413501BB608EE1 AT cexchmb1 DOT bcbsa DOT com> <20120307155436 DOT GK5159 AT calimero DOT vinschen DOT de> <BD DOT FA DOT 05889 DOT F6BF75F4 AT hrndva-omtalb DOT mail DOT rr DOT com>
In-Reply-To: <BD.FA.05889.F6BF75F4@hrndva-omtalb.mail.rr.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 3/8/2012 1:21 AM, scott wrote:
> On Wed, 7 Mar 2012 16:54:36 +0100, Corinna Vinschen wrote:
>> On Mar  7 09:30, Kelly, Brian wrote:
>>> On two systems I tested this on, the latest cygwin base release breaks
>>> both releases of Perl. The problem appears to be some type of DLL
>>> collision with some types of compiled Perl modules on Windows XP
>>> Professional. Below is a simple example using the Data::Dump::Streamer
>>> module:
>>>
>>>
>>> use Data::Dump::Streamer;
>>> my $out=`ls`;
>>> print "OUT=$out\n";
>>>
>>>
>>> When run, it produces the following output:
>>>
>>> $ perl test.pl
>>>        8 [main] perl 3692 child_copy: loaded dll data write copy failed, 0x57573000..0x575733E0, done 0, windows pid 23
>> 20, Win32 error 487
>>>
>>>
>>> If you comment out the module, the backtick `ls` and print run fine.
>>> If you comment out the backtick line, the module loads fine. But
>>> together, I see the problem.
>>>
>>> I have already attempted to run rebaseall and perlrebase (multiple
>>> times in fact), but these do not correct the problem. When I roll back
>>> to release 1.7.10-1, (with *NO* other changes), the problem goes away.
>>
>> Did you also rebase the DLL providing Data::Dump::Streamer?  I'm not
>> fluent in perl so I don't know how to get this DLL.  The above is
>> definitely a collision problem, but it may be persistent for you because
>> the self-built(?) DLL is never taken into account when rebasing.
>
> 	When I run (rebaseall -v) it confirms that the rebaseall
> 	successfully finds all the perl module DLL's. Those will be for
> 	modules that include C code which is locally compiled.
>
> 		Scott
>


/usr/bin/rebaseall looks only on all dll's installed by setup.

/usr/bin/perlrebase looks for all installed perl module

for all other needs create your additional list and use the
"rebaseall -T" option



Marco









--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019