From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15145 invoked by alias); 7 Jul 2005 19:13:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14924 invoked by uid 22791); 7 Jul 2005 19:13:21 -0000 Received: from exchangegw03.rl.ac.uk (HELO exchange21.fed.cclrc.ac.uk) (130.246.135.202) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Thu, 07 Jul 2005 19:13:21 +0000 Received: from exchange35.fed.cclrc.ac.uk ([172.16.133.35]) by exchange21.fed.cclrc.ac.uk with Microsoft SMTPSVC(6.0.3790.211); Thu, 7 Jul 2005 20:13:19 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Perl Win32::Shortcut screws up fork Date: Thu, 07 Jul 2005 19:13:00 -0000 Message-ID: <7231C15EAC2F164CA6DC326D97493C8BA1C3FB@exchange35.fed.cclrc.ac.uk> From: "Adye, TJ \(Tim\)" To: "Cygwin List" X-SW-Source: 2005-07/txt/msg00252.txt.bz2 Answering my own question > cygiconv-2.dll is used by bash, but rebaseall is a bash script. > What can I do? I found I could do this by saving the rebase command-line and file list that rebaseall generates and then running the rebase command directly from the DOS prompt. Now Perl's Win32::Shortcut and fork work together! Thanks for the hint. Nevertheless, there does seem to be a problem with the rebaseall. Tim. > -----Original Message----- > From: Adye, TJ (Tim)=20 > Sent: 07 July 2005 19:55 > To: 'Cygwin List' > Subject: RE: Perl Win32::Shortcut screws up fork >=20 > Hi Larry, >=20 > Sorry, I assumed that the rebasing problem was ancient=20 > history, since I hadn't encountered it for so long (and=20 > remembered a long-ago comment about rebaseall being a=20 > stop-gap measure). Thanks for putting me right. >=20 > Unfortunately I can't get rebaseall to work... running from a=20 > bash prompt in a DOS box (as the docs tell me to), I get >=20 > % ps -a > PID PPID PGID WINPID TTY UID STIME COMMAND > 1668 1 1668 1668 0 22534 19:36:55 /usr/bin/bash > 1268 1668 1268 1800 0 22534 19:45:04 /usr/bin/ps > % rebaseall > ReBaseImage (/usr/bin/cygiconv-2.dll) failed with last error =3D 6 >=20 > cygiconv-2.dll is used by bash, but rebaseall is a bash=20 > script. What can I do? >=20 > Thanks, > Tim. >=20 > > -----Original Message----- > > From: Larry Hall > > Sent: 07 July 2005 19:09 > > To: Adye, TJ (Tim); cygwin@cygwin.com > > Subject: Re: Perl Win32::Shortcut screws up fork > >=20 > > At 01:10 PM 7/7/2005, you wrote: > > >In an attempt to work round the problem with readshortcut=20 > I reported > > >earlier, I thought I'd use a Perl script. Unfortunately the > > >Win32::Shortcut package seems to cause problems with=20 > process forking > > >(unlike the readshortcut error, this one isn't specific to=20 > the latest > > >cygwin DLL). I get an error > > > > > >C:\cygwin\bin\perl.exe (3088): *** unable to remap > > >C:\cygwin\lib\perl5\vendor_perl\5.8\cygwin\auto\Win32\Shortcu > > t\Shortcut. > > >dll to same address as parent(0xBF0000) !=3D 0x1110000 > > > 13 [main] perl 3716 fork_parent: child 3088 died=20 > waiting for dll > > >loading=20 > >=20 > >=20 > > Sounds like a classic rebasing issue to me. Have you tried running=20 > > 'rebaseall'? > >=20 > >=20 > >=20 > >=20 > > -- > > Larry Hall http://www.rfk.com > > RFK Partners, Inc. (508) 893-9779 - RFK Office > > 838 Washington Street (508) 893-9889 - FAX > > Holliston, MA 01746=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 > >=20 > >=20 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/