X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_BJ,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Paul Subject: Re: plotting from octave: address space already occupied, fork aborts Date: Wed, 14 Sep 2011 15:33:49 +0000 (UTC) Lines: 51 Message-ID: References: <4E703F00 DOT 8020101 AT gmail DOT com> <4E709C95 DOT 3070600 AT cs DOT utoronto DOT ca> <4E709F16 DOT 2050002 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Marco atzeri gmail.com> writes: >On 9/14/2011 2:22 PM, Ryan Johnson wrote: >> On 14/09/2011 1:43 AM, Marco atzeri wrote: >>> Hi Paul, >>> your problem is a new one >>> >>> max.oct is a dll of octave, and its base address is not 004F0000 >>> >>> $ objdump -p /lib/octave/3.4.2/oct/i686-pc-cygwin/max.oct |grep ImageBase >>> >>> ImageBase 686c0000 >>> >>> I guess that another dll is loaded at 686c0000, so max.oct >>> is loaded too near at 004000000, the base address of any exe >>> >>> $ objdump -p /bin/gnuplot.exe |grep ImageBase >>> ImageBase 00400000 >>> >>> $ objdump -p /bin/octave-3.4.2.exe |grep ImageBase >>> ImageBase 00400000 >>> >>> So when octave fork gnuplot, gnuplot take that address space >>> and max.oct can not be loaded at the previous 004F0000. >>> >>> peflagsall is not aware that .oct are also dll, so you could try with >>> >>> $ peflagsall -s 'exe|dll|so|oct' >> Wouldn't rebaseall need similar treatment? My understanding from Corinna >> is that peflagsall is not particularly helpful (though not harmful either). > > Hi Ryan, > PEBKC on this side. > I was thinking of rebaseall and writing of peflagsall. > > The right command should be: > > $ rebaseall -s 'dll|so|oct' Thanks again, Marco. Unfortunately, still no joy after redoing you rebaseall & peflagsall statements and rebooting. I got the same error as before: octave:1> plot(1:5,1:5) 9 [main] octave-3.4.2 5952 child_info_fork::abort: address space needed by 'cellfun.oct' (00570000) is already occupied error: popen2: process creation failed -- Resource temporarily unavailable error: called from: error: /usr/share/octave/3.4.2/m/plot/__gnuplot_open_stream__.m at line 30, column 44 error: /usr/share/octave/3.4.2/m/plot/__gnuplot_drawnow__.m at line 72, column 19 -- 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