From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32646 invoked by alias); 8 Mar 2012 05:08:54 -0000 Received: (qmail 32637 invoked by uid 22791); 8 Mar 2012 05:08:52 -0000 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 Received: from mail-ww0-f45.google.com (HELO mail-ww0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Mar 2012 05:08:39 +0000 Received: by wgbds10 with SMTP id ds10so80392wgb.2 for ; Wed, 07 Mar 2012 21:08:37 -0800 (PST) Received: by 10.180.80.35 with SMTP id o3mr9403289wix.5.1331183317901; Wed, 07 Mar 2012 21:08:37 -0800 (PST) Received: from [192.168.2.196] (93-33-98-128.ip44.fastwebnet.it. [93.33.98.128]) by mx.google.com with ESMTPS id fl2sm3120398wib.4.2012.03.07.21.08.35 (version=SSLv3 cipher=OTHER); Wed, 07 Mar 2012 21:08:36 -0800 (PST) Message-ID: <4F583ED2.3070804@gmail.com> Date: Thu, 08 Mar 2012 05:08:00 -0000 From: marco atzeri 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@cygwin.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@cexchmb1.bcbsa.com> <20120307155436.GK5159@calimero.vinschen.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-03/txt/msg00267.txt.bz2 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