[Orca-users] Re: Error: Use of uninitialized value in array ...
Blair Zajac
blair at akamai.com
Mon Feb 5 12:34:40 PST 2001
Jayme,
The attached patch should fix this problem.
The warnings you are seeing are normal behavior for Orca and just
show when particular plots cannot be created because the input data
files do not have the data mentioned in the Orca configuration file.
Regards,
Blair
Jayme Cox wrote:
>
> Hi,
>
> I'm also seeing this problem and when I turn on verbosity (-v -v) I
> also get the following errors (which I think are the real cause):
> ------------------------------------------------------------------
> /opt/orca/bin/orca: warning: no substitutions performed for `data
> #httpds' in plot #4 in
> `/opt/orca/var/orca/orcallator/cicero/percol-2001-01-05.gz'.
> /opt/orca/bin/orca: warning: cannot compile `sub { #httpds }' for
> plot
> #4 `data #httpds': Missing right curly or square bracket at (eval 16)
> line 2, at end of line
> syntax error at (eval 16) line 2, at EOF
> /opt/orca/bin/orca: warning: no substitutions performed for `data
> #httpds' in plot #5 in
> `/opt/orca/var/orca/orcallator/cicero/percol-2001-01-05.gz'.
> /opt/orca/bin/orca: warning: no substitutions performed for `data
> httpop/s' in plot #6 in
> `/opt/orca/var/orca/orcallator/cicero/percol-2001-01-05.gz'.
> /opt/orca/bin/orca: warning: no substitutions performed for `data
> http/p5s' in plot #6 in
> `/opt/orca/var/orca/orcallator/cicero/percol-2001-01-05.gz'.
> /opt/orca/bin/orca: warning: cannot compile `sub { httpop/s }' for
> plot #6 `data httpop/s': Substitution pattern not terminated at (eval
> 17) line 1.
> /opt/orca/bin/orca: warning: cannot compile `sub { http/p5s }' for
> plot #6 `data http/p5s': Bareword "http" not allowed while "strict
> subs" in use at (eval 18) line 1.
> Bareword "p5s" not allowed while "strict subs" in use at (eval 18)
> line 1.
> /opt/orca/bin/orca: warning: no substitutions performed for `data
> %to1KB' in plot #7 in
> `/opt/orca/var/orca/orcallator/cicero/percol-2001-01-05.gz'.
> ------------------------------------------------------------------
>
> --- In orca-users at egroups.com, Blair Zajac <blair at a...> wrote:
> > Hi,
> >
> > I've seen these also and have spent some time looking for the cause
> > but so far I have been unsuccessful. I think the problem is in an
> > anonymous subroutine compiled with eval. If anybody finds out the
> > problem and has some patches, please submit them :)
> >
> > Regards,
> > Blair
> >
> > Vadim Dostman wrote:
> > >
> > > Hi, I'm getting this also on brand new installation. RedHat 7.
> Perl
> > > v5.6.0, gcc v.2.96, make v.791. Anyone know where these come from?
> > >
> > > Finding files and setting up data structures at Sat Dec 30
> 00:10:32
> > > 2000.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > > Use of uninitialized value in array element at (eval 4) line 1.
> > >
> > > thanks!
> > >
> > > --vadim
> > >
> > > --- In orca-users at egroups.com, jon.tankersley at s... wrote:
> > > > In moving up to Perl 5.6.0 I ran across this also. It looks
> like
> > > > there are other problems, at least on the SGI that I'm running
> orca
> > > > on. There is a memory leak also.
> > > >
> > > > The errors I get over and over are:
> > > > Finding files and setting up data structures at Sat Dec 23
> 20:29:55
> > > > 2000.
> > > > Use of uninitialized value in array element at (eval 6) line 1,
> > > > <DATA>
> > > > line 1022.
> > > > .
> > > > .
> > > > .
> > > > Finding files and setting up data structures at Sat Dec 23
> 20:36:40
> > > > 2000.
> > > > Use of uninitialized value in array element at (eval 6) line 1.
> > > >
> > > > The memory grew to 38M before we had to reboot. Here is an
> example
> > > > of the growth I've seen:
> > > >
> > > > F S UID PID PPID C PRI NI P SZ:RSS
> WCHAN
> > > > TTY TIME CMD
> > > > 0 S 2570 975540 974992 0 16 24 * 683:602
> 354feb90
> > > > pts/4 0:25 orca
> > > > 4 S 2570 975540 1 0 16 24 * 2028:1521
> 354feb90
> > > > pts/4 6:39 orca
> > > >
> > > > I wasn't able to get the error messages to show up at all when I
> > > used
> > > > the Perl debugger.
> > > >
> > > > I'm not sure if it is the compiler, perl, or orca.pl that might
> be
> > > at
> > > > fault.
> > >
More information about the Orca-users
mailing list