From: bi-google on
On Dec 31 2009, 5:17 pm, Casper H.S. Dik <Casper....(a)Sun.COM> wrote:
> maps <mapsiddi...(a)gmail.com> writes:
> >> Do I assume that 0.0178 is a line number rather than a part of the fstat
> >> call? =A0Where did the value 0x00028C28 come from? =A0I assume it's a
> >> pointer to something, but what?
> >thats the timestamp from truss output; it wasnt a part of the fstat
> >call.
> >> I really don't want to try to go back to the beginning of this thread in
> >> order to make sense of your post. =A0Try posting a "reproducer"; e.g..
> >> reproduce the error with fewer than, say, fifteen lines of code.
> >Well this error didnt come up while executing a code. It started
> >appearing all of a sudden on one of our production servers whenever we
> >used a pipe ( | ). In the specific case I quoted above, it occurred in
> >the following manner :
> >zcat foo.txt.Z | diff foo.txt -
> >diff: stdin: value too large for defined data type.
>
> Since a pipe is a file with a small number of bytes, the only possible issue
> is the dev number of the pipe.
>
> Is this a 64 bit and is the system up for quite some time?
>
> Casper
> --
> Expressed in this posting are my opinions.  They are in no way related
> to opinions held by my employer, Sun Microsystems.
> Statements on Sun products included here are not gospel and may
> be fiction rather than truth.

Hi Casper

We have had the same problem with using PHP-mail(). The server was
running over 1000 days without a reboot. The PHP-mail() has stopping
suddenly at 2. Jan 2010. After a reboot yesterday it works fine again.

Regards Ruedi :-)
From: maps on
> He is suggesting that you unset LD_LIBRARY_PATH and run the command
> again.  Unexpected things can happen when you populate
> LD_LIBRARY_PATH.
>
> Does the behavior change?

No it does not.

-maps.
From: tony_curtis32 on
gerg(a)panix.com (Greg Andrews) writes:

> But the real head scratcher is why the Solaris /usr/bin/diff would be
> searching for libs under "/opt/app/xxxxx/ncr/tbuild/12.00.00.00", which
> looks like an application's build directory.
>
> Has the environment variable LD_LIBRARY_PATH been set to something on
> this server? If so, what happens when it is removed?

Is diff being called from within the app, where a
different environment has been set (e.g. through a shell
script wrapper?).

Also, what does "crle" say?

hth
t