MAXPACKET changes and Netscape java-vm
Dmitry V. Levin
ldv@altlinux.org
Tue Sep 24 04:48:00 GMT 2002
On Tue, Sep 24, 2002 at 01:41:41PM +0200, Thorsten Kukuk wrote:
> We have 4 patches, where we increased the minimum value of
> MAXPACKET from 1024 to 65536, to avoid a buffer overrun.
>
> with this changes, the java vm from netscape crashes with a seg.fault,
> if it calls gethostbyname(). It looks like it overrides the stack.
Yes, this MAXPACKET change breaks many existing threaded applications.
For example, mysqld sets the size of created thread's stack to 64K
(on ia32) by default.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020924/729e4b1c/attachment.sig>
More information about the Libc-alpha
mailing list