X-Spam-Check-By: sourceware.org Message-ID: <1166709020.458a911c4c444@easymail-old.hol.gr> Date: Thu, 21 Dec 2006 15:50:20 +0200 From: moka AT hol DOT gr To: cygwin AT cygwin DOT com Subject: Re: perl script dies with The instruction at "0x28089a3d" referenced memory at "0x0000004". The memory could not be "written". MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Virus-Status: Clean 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 >>>> I am having problems with a perl script. For no apparent reason I get >>>> The instruction at "0x28089a3d" referenced memory at "0x0000004". The memory >>>> could not be "written". >>>> >>>> I used to have Activestate and then installed cygwin. Can I maybe >> de-install >>>> cygwin's perl(if so, how) or is that not the problem? >>>> >>>> The only thing I really need from cygwin for this is acces to grace (which > in >>>> turn needs a X-server) > > >>> If you can post a simple test case, others here might be able to help you >>> (i.e. ). > >> The problem is that I was getting no such problems before installing cygwin >> and no, this is not a simple testcase, it's something I get from a complex >> script >> doing DBI queries; apparently the crash occurs when reading the query rows >> and writing to a hash. I also get an error >> kgefec: fatal error 0 >> kgepop: no error frame to pop ro for error 0 >> I did a google search and though I did not find the exact same error, >> some posts indicated that this is a cygwin perl- Activestate perl problem >> ; Since the modules I installed(e.g. DBI) with activestate seem to work >> I thought this means the activestate perl is the one actually running >Don't mix and match perl modules. If you're using Cygwin's perl, use modules >built and be sure _not_ to use any ActiveState Perl modules and vice-versa. Well, I did not mean to mix. In fact I think I did not ask cygwin to install perl, but I am not sure. I do not find any perl in c:\cygwin\bin There is a perl file directory in c:\cygwin\lib though I just didn't deinstall Activestate Now when I do from a DOS prompt, even in a c:\cygwin subdirectory which perl I get back \cygdisk\c\perl\bin\perl which is C:\perl\bin\perl.exe, i.e. the activestate one Originally I thought this was a path problem, i.e. if I put c:\perl\bin first in the path, only the activestate perl would be used. >> Anyway, can I deinstall cygwin perl without affecting anything else? >Yes, with the exception of any other Cygwin package depending on Perl that >you've installed. There aren't many of these though. How do I do that?? -- 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/