This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: perl script dies with The instruction at "0x28089a3d" referenced memory at "0x0000004". The memory could not be "written".



>>>> 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. <http://cygwin.com/problems.html>).
> 
>> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]