delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/16/10:08:53

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Ne
erpVti3peWeJKAt1SxI1zvmtF9FBo8gM75k46VIcLQCj8Pgi5w5q6er4Y6bjD9iT
ACAY5j3eFI6f33YegXXyDArDSMvlI7nESxQl7GXaFMvyuoBOcgQtYtpXqDDeRCAs
MSG0UH0xDFIwNvPzb7wr6IzlvrYC64LLSGmA2kFmE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=ke6536TF
8INsojXDOsXN+prCIbk=; b=B7iVACFwA6R4OolY0/X61n8Oswwh1fgiwMnivr9b
2n4KtLCSqUWt/NIQyFKZAeSHdwva/EvjQa8PRpPc4S74lmamrSA8CTO1ir7+I5OC
izEqGWBppe0Djeyef3qnhqZ2Ut3MamNMPn3nmjuziwFbp55p50Y73vOnzrt056VO
Sck=
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
X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhICAC0xDlLRVde2k2dsb2JhbABbhAy/G4EeCBYOAQEBAQcLCwkUBCSCJAEBBW4bCwsGAwECAS4iEgEFARQIGR6HcpxDlSKIB48DgVQGhAwDl2SPcBYphF4ggSwJFwQ
X-Sender-IP: 209.85.215.182
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=5Ef36KMcAfbl55cPsv0ntV/qd1yWieq0SqFalzULI0c=; b=b4+6sRdtVNXFv6U8bo4G+2E2LMA4d5DeKdf/AACwTV7oa14yU26wWvSG5v3bsWLoL4 yICyIqVy2Bu9KLO2njoAtKg0KQBHzrPlJ2D/CUOApIQPQOqkqwdNE262zG+F+kAiYzxW 2eWD++eMllHntGGnCZ6n96ct41jHFZQ74wCaWtPO2RuTzbhvFTGRlFVJU43Mn4AX5ugz cJveQ/RCOQ/JHrzESuVPOWx8ao7//Zu8N0Fh38snrYdfz0/JC6DGCvYm/yo4uhSzqvq6 /LrC2YQfJRYI/Z/pbTBaZsGefBc+KPu7sSPVoA30Z4CiTifwb1zereNIAbpIJD8pnkdi 5E1Q==
X-Gm-Message-State: ALoCoQkVnSVYpq1UgHRZSqEQGpFr6Kr23PQsLZhIFzoEoSGkDMDT8ddUG7WN46x0IyZI5Dh4kK91dYoPK2J0K2JYvxbOzy4Nawl84t3TAYlLndaq9LybSX0AbHZslSMv2TuLf9eydp5C0H+mjl7qw8yhNTMX445Qhw==
X-Received: by 10.15.63.75 with SMTP id l51mr2302300eex.32.1376662111870; Fri, 16 Aug 2013 07:08:31 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.15.63.75 with SMTP id l51mr2302291eex.32.1376662111790; Fri, 16 Aug 2013 07:08:31 -0700 (PDT)
In-Reply-To: <CANRv7QraHCv=BwAiied_-Sfp7Qj0XAiUB8Gmrta6NLboiobOtg@mail.gmail.com>
References: <CANRv7QraHCv=BwAiied_-Sfp7Qj0XAiUB8Gmrta6NLboiobOtg AT mail DOT gmail DOT com>
Date: Fri, 16 Aug 2013 10:08:31 -0400
Message-ID: <CANRv7Qryzk1WZOwh6MtX4KZp+AtLQtSFsmVnBUzRF3hhXxs3kg@mail.gmail.com>
Subject: Re: Octave 3.6.4 cannot plot in X server
From: Yuxiang Wang <yw5aj AT virginia DOT edu>
To: cygwin AT cygwin DOT com

Sorry that I do not know how to reply to a specific follow-up email
since I subscribed to the digest version of this mailing list.

And to Corinna: dash - usr/bin/rebaseall worked! Thank you so much for
your help. Looking forward to the next update!

To Larry: Thanks a lot for the help!

-Shawn




---------- Forwarded message ----------
From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
To: cygwin at cygwin dot com
Cc:
Date: Fri, 16 Aug 2013 13:14:16 +0200
Subject: Re: Octave 3.6.4 cannot plot in X server
On Aug 15 23:37, Larry Hall (Cygwin) wrote:
> On 8/15/2013 8:38 PM, Yuxiang Wang wrote:
> >Dear all,
> >
> >I have installed Octave with Cygwin 64-bit, under Win 7. Besides
> >octave-3.6.4-1, I also installed xinit and xlaunch according to the
> >doc, and gnuplot just in case.
> >
> >However, when I start X terminal, open octave (that all went
> >successfully) and enter plot(1:5), I got the following message:
> >
> >octave:1> plot(1:5)
> >       0 [main] octave-3.6.4 2708 child_info_fork::abort:
> >C:\cygwin64\bin\cygoctave-1.dll: Loaded to different address:
> >parent(0xF00000) != ch
> >error: popen2: process creation failed -- Resource temporarily unavailable
> >error: called from:
> >error:   /usr/share/octave/3.6.4/m/plot/private/__gnuplot_open_stream__.m
> >at line 30, column 44
> >error:   /usr/share/octave/3.6.4/m/plot/__gnuplot_drawnow__.m at line
> >72, column 19
> >
> >Would anyone please help me with this?
>
> In 64-bit land, the available address space for Cygwin DLLs is much
> increased.  This should theoretically eliminate the "casual" overlap
> of address spaces for loaded DLLs, which was a common fork failure vector
> in 32-bit land.

Not exactly eliminated, but drastically reduced.  The problem is, the
hash algorithm used by ld to compute a default DLL load address is not
exactly bullet proof, not even with such a big address space we have
now available for DLLs.  It still requires to run rebase to be
on the safe side.

However, I just found a problem in the 64 distro which results in not
running autorebase as part of an update.  This should be fixed soon.

For the time being, stop all Cygwin processes, start a naked dash and
run /usr/bin/rebaseall.


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

On Thu, Aug 15, 2013 at 8:37 PM, Yuxiang Wang <yw5aj AT virginia DOT edu> wrote:
> Dear all,
>
> I have installed Octave with Cygwin 64-bit, under Win 7. Besides
> octave-3.6.4-1, I also installed xinit and xlaunch according to the doc, and
> gnuplot just in case.
>
> However, when I start Xterminal, open octave (that all went successfully)
> and enter plot(1:5), I got the following message:
>
> octave:1> plot(1:5)
>       0 [main] octave-3.6.4 2708 child_info_fork::abort:
> C:\cygwin64\bin\cygoctave-1.dll: Loaded to different address:
> parent(0xF00000) != ch
> error: popen2: process creation failed -- Resource temporarily unavailable
> error: called from:
> error:   /usr/share/octave/3.6.4/m/plot/private/__gnuplot_open_stream__.m at
> line 30, column 44
> error:   /usr/share/octave/3.6.4/m/plot/__gnuplot_drawnow__.m at line 72,
> column 19
>
> Would anyone please help me with this?
>
> Thanks so much!
>
> -Shawn
>
>

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