From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21583 invoked by alias); 20 Jul 2011 14:04:43 -0000 Received: (qmail 21571 invoked by uid 22791); 20 Jul 2011 14:04:42 -0000 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 Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jul 2011 14:04:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QjXNf-0006iT-Cp for cygwin@cygwin.com; Wed, 20 Jul 2011 07:04:07 -0700 Message-ID: <32099409.post@talk.nabble.com> Date: Wed, 20 Jul 2011 14:04:00 -0000 From: Gaurav Chhabra To: cygwin@cygwin.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.post@talk.nabble.com> <31732007.post@talk.nabble.com> <31733309.post@talk.nabble.com> <32068639.post@talk.nabble.com> <32068663.post@talk.nabble.com> 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-07/txt/msg00269.txt.bz2 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