Mail Archives: cygwin/2000/02/17/16:28:18
------_=_NextPart_001_01BF798E.8D2AAA66
Content-Type: text/plain;
charset="ISO-8859-1"
Just wanted to follow up to myself and say that the version of libnet I had
installed, 1.0607, was causing the core dump from Perl and downgrading to
1.0506 solved the problem. Both versions are available from CPAN. I do not
know whether libnet-1.0607 normally works on newer cygwin systems, unix
systems, etc. but it doesn't work for me. I've included the output of perl
-v for reference in case someone else runs into this.
This is perl, version 5.005_03 built for cygwin32
Copyright 1987-1999, Larry Wall
Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5.0 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/ <http://www.perl.com/>
, the Perl Home Page.
Brian
-----Original Message-----
From: Christopher Jones [mailto:cbjones AT nortelnetworks DOT com]
Sent: Friday, February 04, 2000 12:53 PM
To: Cygwin (E-mail)
Subject: cygwin perl exception
Hello,
I have a weird situation where on two boxes with cygwin b20.1 full.exe a
Perl program fails with an exception STATUS_ACCESS_VIOLATION (which from a
previous message on the list means it attempted to access some part of
memory it shouldn't or similar?) and on a third (where it was developed) the
program executes perfectly. To complicate matters when running the Perl
interpreter in debug mode or when running it in gdb this exception never
occurs on either of the two boxes which fail normal execution. I have
installed the 011599 cygwin1.dll on one of the failing boxes to see if
anything changed and it still fails with the same exception during normal
execution but works just fine in a debugger. Any ideas what might cause
something like this? I'm working on narrowing down the exact line of Perl
which causes the problem but it's taking longer than usual given how the
problem is manifesting itself.
I took a glance at the output of cygcheck on the passing box and a failing
box and couldn't discern anything of interest although I can post those if
it helps. The box which the script works on without causing Perl to go nuts
does not have the 011599 cygwin1 dll. There is also a perl.exe.core which
I've attached but I don't know if it is useful or not.
Thanks,
Brian
------_=_NextPart_001_01BF798E.8D2AAA66
Content-Type: text/html;
charset="ISO-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<TITLE>cygwin perl exception</TITLE>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY>
<DIV><SPAN class=835382821-17022000><FONT color=#0000ff face=Arial size=2>Just
wanted to follow up to myself and say that the version of libnet I had
installed, 1.0607, was causing the core dump from Perl and downgrading to 1.0506
solved the problem. Both versions are available from CPAN. I do not
know whether libnet-1.0607 normally works on newer cygwin systems, unix systems,
etc. but it doesn't work for me. I've included the output of perl -v for
reference in case someone else runs into this.</FONT></SPAN></DIV>
<DIV><SPAN class=835382821-17022000><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT color=#0000ff size=2>This is perl, version 5.005_03 built for
cygwin32</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT> </DIV>
<DIV><FONT color=#0000ff size=2>Copyright 1987-1999, Larry Wall</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT> </DIV>
<DIV><FONT color=#0000ff size=2>Perl may be copied only under the terms of
either the Artistic License or the<BR>GNU General Public License, which may be
found in the Perl 5.0 source kit.</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT> </DIV>
<DIV><FONT color=#0000ff size=2>Complete documentation for Perl, including FAQ
lists, should be found on<BR>this system using `man perl' or `perldoc
perl'. If you have access to the<BR>Internet, point your browser at <A
href="http://www.perl.com/">http://www.perl.com/</A>, the Perl Home
Page.</FONT></DIV>
<DIV><SPAN class=835382821-17022000><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=835382821-17022000><FONT color=#0000ff face=Arial
size=2>Brian</FONT></SPAN></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2>-----Original Message-----<BR><B>From:</B> Christopher Jones
[mailto:cbjones AT nortelnetworks DOT com]<BR><B>Sent:</B> Friday, February 04,
2000 12:53 PM<BR><B>To:</B> Cygwin (E-mail)<BR><B>Subject:</B> cygwin perl
exception<BR><BR></FONT></DIV>
<P><FONT size=2>Hello,</FONT> </P>
<P><FONT size=2>I have a weird situation where on two boxes with cygwin
b20.1 full.exe a Perl program fails with an exception
STATUS_ACCESS_VIOLATION (which from a previous message on the list means it
attempted to access some part of memory it shouldn't or similar?) and on a
third (where it was developed) the program executes perfectly. To
complicate matters when running the Perl interpreter in debug mode or when
running it in gdb this exception never occurs on either of the two boxes
which fail normal execution. I have installed the 011599 cygwin1.dll
on one of the failing boxes to see if anything changed and it still fails
with the same exception during normal execution but works just fine in a
debugger. Any ideas what might cause something like this? I'm
working on narrowing down the exact line of Perl which causes the problem
but it's taking longer than usual given how the problem is manifesting
itself.</FONT></P>
<P><FONT size=2>I took a glance at the output of cygcheck on the passing box
and a failing box and couldn't discern anything of interest although I can
post those if it helps. The box which the script works on without
causing Perl to go nuts does not have the 011599 cygwin1 dll. There is
also a perl.exe.core which I've attached but I don't know if it is useful or
not.</FONT></P>
<P><FONT size=2>Thanks,</FONT> <BR><FONT size=2>Brian</FONT> </P>
<P><FONT color=#000000 face=Arial size=2></FONT>
</P></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01BF798E.8D2AAA66--
- Raw text -