This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: perl.exe: fatal error on Vista


On 8/13/08, Reini Urban <rurban@x-ray.at> wrote:
> 2008/8/13 hce:
>  > On 8/13/08, Reini Urbanwrote:
>
> >> 2008/8/13 hce:
>  >>
>  >> > On 8/12/08, Reini Urban wrote:
>  >>  >> 2008/8/12 hce:
>  >>  >>
>  >>  >> > I installed cygwin from http://www.cygwin.com/setup.exe on Vista. I am
>  >>  >>  > building the VLC at the moment and had following error for cygwin
>  >>  >>  > perl.exe. Could anyone advise what I was missing?
>  >>  >>  >
>  >>  >>  > + autoreconf --install --force --verbose -I m4
>  >>  >>  >      4 [main] perl 920 C:\Tools\Cygwin\bin\perl.exe: *** fatal error - unable t
>  >>  >>  > o remap C:\Tools\Cygwin\lib\perl5\5.10\i686-cygwin\auto\File\Glob\Glob.dll to sa
>  >>  >>  > me address as parent(0x860000) != 0x14C0000
>  >>  >>  >     37 [main] perl 2712 child_info::sync: wait failed, pid 920, Win32 error 183
>  >>  >>  >
>  >>  >>  >   1053 [main] perl 2712 fork: child 920 - died waiting for dll loading, errno 1
>  >>  >>
>  >>  >>
>  >>  >> That's a typical rebaseall problem, as advertised in the perl ANNOUNCEMENT.
>  >>  >>
>  >>  >>  Install rebase, read /usr/share/doc/Cygwin/rebase-2.4.4.README
>  >>  >>
>  >>  >>  snip
>  >>  >>  Use the following procedure to rebase your entire system:
>  >>  >>
>  >>  >>     1. shutdown all Cygwin processes and services
>  >>  >>     2. start ash (do not use bash or rxvt)
>  >>  >>     3. execute /bin/rebaseall (in the ash window)
>  >>  >
>  >>  > Thanks for the advice. I installed rebase then followed above procedure:
>  >>  >
>  >>  > 1. Shutdown all Cygwin processes and services (shutdown all cygwin terminals)
>  >>  > 2. Start a dos termina, and run ash from the dos terminal
>  >>  > 3. Execute /bin/rebaseall from the ash command line.
>  >>  >
>  >>  > After that, I've running ./bootstrap from the vlc again. The same
>  >>  > error was still there?
>  >>  >
>  >>  > What I did wrong here?
>  >>
>  >>
>  >> I cannot say from here. Obviously Glob.dll was not rebased.
>  >>  File::Glob is one of the very first loaded dll's in such forked perl
>  >>  process with wildcards args.
>  >>  So I suspect it was not rebased at all.
>  >>
>  >>  I would try rebase with -v (verbose) and also tie it to a log file.
>  >>  $ rebaseall -v | tie rebaseall.log
>  >>
>  >>  Check the output for refused dll's, and if nothing is obvious, send
>  >>  the output of cygcheck -s -v -r
>  >>  plus rebaseall.log
>  >>
>  >>    Run cygcheck -s -v -r > cygcheck.out and include that file as an
>  >>  attachment in your report.
>  >>    Please do not compress or otherwise encode the output. Just attach
>  >>  it as a straight text
>  >>    file so that it can be easily viewed.
>  >>  as described in http://cygwin.com/problems.html
>  >
>  > There is no tie command, so I tried to call /bin/rebaseall -v >
>  > rebaseall.log from the ash. Please find attached rebaseall.log and
>  > cygcheck.log as per above requirment.
>
>
> Yes, that's the problem. There are non ash cygwin processes still running.
>  See the output of ps x. There must only be 2 processes:
>   /usr/bin/ash
>   /usr/bin/ps
>
>  Kill all other.
>
>  rebaseall: only ash processes are allowed during rebasing
>     Exit all Cygwin processes and stop all Cygwin services.
>     Execute ash from Start/Run... or a cmd or command window.
>     Execute '/bin/rebaseall' from ash.
>  exit 2

Where did the log files indicate there were more than two processes? I
checked ps, there were indeed only two processes before calling the
/bin/rebaseall from ash command line:

C:\Cygwin\bin\ps

PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
I    2484       1    2484       2484  con 1000 11:24:31 /usr/bin/ash
     4564       1    4564       4564  con 1000 11:29:04 /usr/bin/ps

Thanks Reini.

>
> Reini Urban
>  http://phpwiki.org/ http://murbreak.at/
>
>  --
>  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/
>
>

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]