X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <32099409.post@talk.nabble.com> Date: Wed, 20 Jul 2011 07:04:07 -0700 (PDT) From: Gaurav Chhabra To: cygwin AT cygwin DOT com Subject: Re: Error when Perl calling shell scipt using Cygwin >>> c:\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <31714033 DOT post AT talk DOT nabble DOT com> <31732007 DOT post AT talk DOT nabble DOT com> <31733309 DOT post AT talk DOT nabble DOT com> <32068639 DOT post AT talk DOT nabble DOT com> <32068663 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 2011/7/15 Gaurav Chhabra: > Sorry, i forgot mentioning that i have attached the log files > (perlrebase and main error that i am getting) for reference in my > last post. >> The perlrebase log looks good, but the other log indicates that you need to do a rebaseall. http://old.nabble.com/file/p32099409/rebaseall_log.txt rebaseall_log.txt http://old.nabble.com/file/p32099409/fork_error_log.txt fork_error_log.txt Hi Reini, Thanks for your reply! I tried running rebaseall. I faced few issues because of some DLLs. After some Google, I found out that the issue was because the DLLs were read-only. Assigning proper permissions to those DLLs made it work. However, the problem is that the fork issue still exists. I have attached the log files for reference. Any suggestions? Thanks, Gaurav -- View this message in context: http://old.nabble.com/Error-when-Perl-calling-shell-scipt-using-Cygwin-%3E%3E%3E-c%3A%5Ccygwin%5Cbin%5Csh.exe%3A-***-fatal-error---couldn%27t-allocate-heap%2C-Win32-error-487-tp31714033p32099409.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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