X-Spam-Check-By: sourceware.org Message-ID: <440C9ED9.7040708@buddydog.org> Date: Mon, 06 Mar 2006 15:43:05 -0500 From: Jonathan Arnold User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: bash "Couldn't Allocate Heap" error - info. References: <20060306172214 DOT 83264 DOT qmail AT web86915 DOT mail DOT ukl DOT yahoo DOT com> In-Reply-To: <20060306172214.83264.qmail@web86915.mail.ukl.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Note-from-DJ: This may be spam Antony Baxter wrote: > Hello, > > This afternoon, for the first time, I began > experiencing the > > C:\cygwin\bin\bash.exe: *** fatal error - couldn't > allocate heap .... > ... child_copy: stack write copy failed,... > > errors that have been reported on this list before. I > am getting these errors on every '#! /bin/bash' > script, though I can initially open a bash shell. > > I tried changing the heap sizes, and tried rebaseall - > neither made a difference. > > Earlier today I had installed the drivers for my new > Logitech webcam. Suspecting that these might be the > problem, I killed all the Logitech processes, > restarted all my Cygwin services, restarted Cygwin/X, > and lo & behold, all the errors disappeared and > everything worked fine. > > It'd be great to get these to work together, but not > the end of the world if its not possible. Any > thoughts? Thank you Thank you Thank you! That's it exactly. I was wondering why my Cygwin/X stuff started behaving badly. Unfortunately, I had just done a big update, so I blamed that for awhile. But this is definitely it. And after much experimentation, I think you just need to stop one file from running. I'm not sure what was causing it to run, as it wasn't in any of my startup folder. But if you rename /program files/common/logitech/LVMVFM/LVPrcSrv.exe to something else (I called it LVPrcSrv.exe.old), Cygwin/X starts working again, and there is no loss of functionality that I can tell. -- Jonathan Arnold (mailto:jdarnold AT buddydog DOT org) Jiggle The Handle, a personal blog http://jiggle.anaze.us Procrastination is the art of keeping up with yesterday. - Don Marquis -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/