Re: ac18: change in fs/read_write.c

From: Michael T. Gilmore (mgilmore@zk3.dec.com)
Date: Wed Jun 14 2000 - 12:17:59 EST


Ivan Kokshaysky wrote:

> On Wed, Jun 14, 2000 at 02:50:46PM +0100, Alan Cox wrote:
> > Ok I'd like to know why its breaking stuff, and who is queueing negative
> > length I/O's.
> >
> strace netscape:
> ...
> socket(PF_UNIX, SOCK_STREAM, 0) = 10
> ...
> connect(10, {sin_family=AF_UNIX, path="/tmp/.X11-unix/X0"}, 19) = 0
> ...
> [lots of successfull socket reads/writes snipped]
> ...
> writev(10, [{"1\0\t\0\377\377\34\0", 4294967304}, {"-*-*-*-*-*-*-*-*-*-*-*-*-*-*", 18446462624502644764}], 2) = -1 EINVAL (Invalid argument)
>
> Same with acrobat reader:
> ...
> writev(3, [{"1\0\r\0\1\0,\0", 18446744069414584328}, {"-*-*-medium-r-normal-*-*-*-*-*-*"..., 18446744069414584364}], 2) = -1 EINVAL (Invalid argument)
>
> All these huge numbers have valid low 32 bits and a junk in the upper 32 bits.
> Looks like the int/long bug in some lib, probably motif.

Looks more like the results of a bad "cast". Follow the trail.

 - mike

>
>
> Ivan.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:34 EST