From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16727 invoked by alias); 24 Mar 2011 22:11:53 -0000 Received: (qmail 16716 invoked by uid 22791); 24 Mar 2011 22:11:52 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL,URIBL_RHS_DOB X-Spam-Check-By: sourceware.org Received: from mail-iy0-f171.google.com (HELO mail-iy0-f171.google.com) (209.85.210.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Mar 2011 22:11:47 +0000 Received: by iyf40 with SMTP id 40so602190iyf.2 for ; Thu, 24 Mar 2011 15:11:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.69.202 with SMTP id yd10mr2986icb.375.1301004706856; Thu, 24 Mar 2011 15:11:46 -0700 (PDT) Received: by 10.231.38.8 with HTTP; Thu, 24 Mar 2011 15:11:46 -0700 (PDT) In-Reply-To: <20110303104319.GB16272@calimero.vinschen.de> References: <20110303104319.GB16272@calimero.vinschen.de> Date: Thu, 24 Mar 2011 22:29:00 -0000 Message-ID: Subject: Re: cygwin 1.78 errors when invoking terminator (*** fatal error - MapViewOfFileEx '(null)'(0x708), Win32 error 6. Terminating.) From: Kenneth Wolcott To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2011-03/txt/msg00743.txt.bz2 On Thu, Mar 3, 2011 at 02:43, Corinna Vinschen wrote: > On Mar =A02 18:01, Kenneth Wolcott wrote: >> Hi; >> >> =A0 I get the following error output when opening a terminator (enclosed >> at bottom of the email). >> >> =A0 This is the jessies.org terminator, not the gnome terminator. >> >> =A0 Now I don't get the following when I open a cygwin prompt. >> >> =A0 So I thought it might be a terminator thing. >> >> =A0 I had just updated to 1.78 of Cygwin. >> >> =A0 So updated to the most current version of terminator. >> >> =A0 Same problem. >> >> =A0 So I posted to the terminator email list (terminator-users@googlegro= ups.com). >> >> =A0 The terminator developer/maintainer was able to reproduce the >> problem and thinks that the error is within cygwin and suggests this >> patch (between the splat-asterisk lines). >> >> Thanks, >> Ken Wolcott >> >> *&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&*&= *&*& >> >> I wouldn't like to claim this is the right fix but it lets that >> trivial example link: >> >> $ gcc strerror.c >> >> $ diff -u /usr/include/string.h.orig /usr/include/string.h >> --- /usr/include/string.h.orig=A0 2011-03-02 10:49:29.510836800 -0800 >> +++ /usr/include/string.h=A0=A0=A0=A0=A0=A0 2011-03-02 10:50:04.32445080= 0 -0800 >> @@ -74,7 +74,7 @@ >> =A0char=A0=A0=A0 *_EXFUN(strerror_r,(int, char *, size_t)); >> =A0#else >> =A0# ifdef __GNUC__ >> -int=A0=A0=A0=A0=A0 _EXFUN(strerror_r,(int, char *, size_t)) __asm__ ("_= _xpg_strerror_r"); >> +int=A0=A0=A0=A0=A0 _EXFUN(strerror_r,(int, char *, size_t)) __asm__ >> ("___xpg_strerror_r"); >> =A0# else >> =A0int=A0=A0=A0=A0=A0 _EXFUN(__xpg_strerror_r,(int, char *, size_t)); >> =A0#=A0 define strerror_r __xpg_strerror_r >> $ > > Thanks for the report. =A0I just fixed that in CVS. =A0The problem here > is that we have to take several targets into account, some of them > using a labe lprefix, some of them not. =A0I applied a patch which > does that: > > =A0int=A0=A0=A0=A0=A0 _EXFUN(strerror_r,(int, char *, size_t)) __asm__ (_= _ASMNAME ("__xpg_strerror_r")); > > The __ASMNAME macro is now defined in cdefs.h. =A0I tested to build > a testcase which calls the POSIX version of strerror_r and it now > works fine. =A0Well, there was a small bug in __xpg_strerror_r, too, > but that should be fixed in CVS as well. =A0I'll create a new developer > snapshot later today. > > > Thanks again, > Corinna Hi Corinna; The problem seems to be fixed now (after a recent update). uname.exe -a CYGWIN_NT-5.1 KWOLCOTT-T61 1.7.8(0.236/5/3) 2011-03-01 09:36 i686 Cygwin Thank you. Ken Wolcott -- 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