Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Norbert Mikula <mikula>
To: andersdc@net-works.net
Subject: Re: Getopts Problem on OSF/1
Date: 1995/07/06	[thread overview]
Message-ID: <3tgckc$oj6@phcoms4.seri.philips.nl> (raw)
In-Reply-To: 3tep2f$6bk@cheetah.net-works.net

Daniel Anderson <andersdc@net-works.net> wrote:

>I am having a problem with Getopts running perl5 on a DEC Alpha 
>with OSF/1.  The script core dumps in the Getopts routine...
>
>Here is the smallest code segment I could make it happen with:
>------------------------------------
>#!/usr/local/bin/perl  -d
> 
>require "getopts.pl";
> 
>&a;
> 
>sub a{
>&Getopts('hvnd:A:D:H:R:M:W:C:i:s:b:f:o:t:');
>}
>------------------------------------
>The results:
>------------------------------------
>Unaligned access pid=4621 <fred> va=14009040b pc=120065f58 
>ra=12001c060 type=ldl
>Unaligned access pid=4621 <fred> va=1400903ff pc=120066018 
>ra=12001c060 type=ldq
>------------------------------------

I am not running OSF/1, I have HP-UX, but I had the same problem.

When I traced the exececution with the debugger (perl -d) I saw
that the script always crashed at an "eval" statement. The
newgetopt.pl had the same problem.

The solution for my system was to install the latest Perl
patch. -> perl 5.001m. After I did that it worked fine.

I found this version at : ftp://ftp.cis.ufl.edu/pub/perl/src/5.0/

Hope I could help.

-- 

Best regards,

Norbert H. Mikula
Philips Semiconductors
Marketing & Sales Communications 
Building BE-22
P.O. Box 218
5600 MD Eindhoven
The Netherlands

Fax:            +31 40 724825
Phone:          +31 40 724684
Internet:       mikula@beatrix.philips.nl




  reply	other threads:[~1995-07-06  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-05  4:00 Getopts Problem on OSF/1 Daniel Anderson
1995-07-06  4:00 ` Norbert Mikula [this message]
1995-07-06  4:00 ` Peter Marksteiner
1995-07-07  4:00   ` Hugh Messenger
1995-07-10  4:00     ` Guenter Schmidt
1995-07-10  4:00     ` Hans Mulder
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox