On Fri 03 May 2002 12:42, Hunt, Bryan made the point that:
> Anyone have any experience of java thread problems on linux ?
> Specifically problems with compiling glibc from source on redhat 73
> platform ?
>
There was a message about this on the KDE mailing list recently - here's the
text:
---------------------------------------------------------------------------------
Re: [kde] Trouble building kdebindings
Date: Fri, 3 May 2002 15:03:27 +0100
From: Alasdair Campbell <alasdair.campbell4 at btinternet.com>
To: kde at mail.kde.org
Reply to: kde at mail.kde.org
On Thursday 02 May 2002 10:41, Alasdair Campbell wrote:
> When I try to build kdegbindings (KDE 3.0), make segfaults in
> qtjava/javalib/org/kde/qt
>> I am using make 3.79.1
> jdk 1.3.1
> qt 3.0.3
> gcc 2.95.3
>> I have searched the bugs reports but have found nothing similar.
> I wonder if anyone can help me?
> I am attaching the out of make -d (sorry it is so long)
>> TIA
OK, I have found the reason for this. I am surprised noone else has
experienced the problem.
If anyone is interested, the following from java.sun explains:
<quote>
The newer glibc-2.2.x libraries cannot correctly handle initial thread stack
sizes larger than 6 MB.
This can cause a segmentation fault on come Linux platforms that use the
newer
libraries.
Such platforms include Red Hat 7.0, Mandrake 8.0, SuSe 7.2, and Debian 2.2.
The problem will not occur on Linux platforms that are using glibc-2.1.x such
as Red Hat 6.1 and 6.2.
It will also not affect Red Hat 7.1 because it uses a different thread stack
layout.
This problem is being tracked as bug 4466587.
Workaround - Use "ulimit -s 2048" in bash shell or "limit stacksize 2048" in
tcsh to limit the initial thread stack to 2 MB.
</quote>
--
Kind Regards,
Alasdair Campbell
___________________________________________________
This message is from the kde mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!