From owner-freebsd-questions@FreeBSD.ORG Sat Mar 26 08:41:19 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 789E616A4CE for ; Sat, 26 Mar 2005 08:41:19 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 417F443D2F for ; Sat, 26 Mar 2005 08:41:18 +0000 (GMT) (envelope-from "cyb."@gmx.net) Received: (qmail invoked by alias); 26 Mar 2005 08:41:16 -0000 Received: from pD9E28AF2.dip0.t-ipconnect.de (EHLO localhost.localdomain) [217.226.138.242] by mail.gmx.net (mp021) with SMTP; 26 Mar 2005 09:41:16 +0100 X-Authenticated: #4870692 From: cyb <"cyb."@gmx.net> To: freebsd-questions@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8kUf9JEzChUopHGpZ4B4" Date: Sat, 26 Mar 2005 09:41:15 +0100 Message-Id: <1111826475.514.26.camel@p4-3200.local> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Subject: java / azureus core dumps if cputype is set in make.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 08:41:19 -0000 --=-8kUf9JEzChUopHGpZ4B4 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello everyone, I recently rebuilt my FreeBSD 5.3 system. I updated the source with cvsup to RELENG_5_3 (security branch). This time i added the CPUTYPE, CFLAGS and NOPROFILE variables to my /etc/make.conf so it would look like this: CPUTYPE=3D p4 CFLAGS=3D -O -pipe NOPROFILE=3D true PERL_VER=3D5.8.6 PERL_VERSION=3D5.8.6 Building and installing world and kernel went well, everything works fine. I installed Azureus (java bittorrent client). The problem is, if I scroll a scrollbar or just go to the Azureus option menu, I get a core dump of java and Azureus will give me the following messages in the error log: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 10 occurred at PC=3D0x34C0CB3A Function=3D_gtk_tree_view_queue_draw_node+0x1B5B Library=3D/usr/X11R6/lib/libgtk-x11-2.0.so.600 ... Heap at VM Abort: Heap def new generation total 576K, used 250K [0x2c470000, 0x2c510000, 0x2c95= 0000) eden space 512K, 47% used [0x2c470000, 0x2c4acd58, 0x2c4f0000) from space 64K, 11% used [0x2c500000, 0x2c501e08, 0x2c510000) to space 64K, 0% used [0x2c4f0000, 0x2c4f0000, 0x2c500000) tenured generation total 5156K, used 4372K [0x2c950000, 0x2ce59000, 0x30= 470000) the space 5156K, 84% used [0x2c950000, 0x2cd95148, 0x2cd95200, 0x2ce590= 00) compacting perm gen total 9216K, used 9013K [0x30470000, 0x30d70000, 0x34= 470000) the space 9216K, 97% used [0x30470000, 0x30d3d718, 0x30d3d800, 0x30d700= 00) Local Time =3D Sat Mar 26 00:34:53 2005 Elapsed Time =3D 12 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p7-cyb_25_mar_2005_18_25 mixed= mode) # After a lot of testing I was able to narrow the problem down to gtk-2.6.4_1 which i had to built with this /etc/make.conf #CPUTYPE=3D p4 CFLAGS=3D -O -pipe NOPROFILE=3D true PERL_VER=3D5.8.6 PERL_VERSION=3D5.8.6 Now my question, is it usefull to set the CPUTYPE in make.conf to activate prozessor-specific optimizations at all? taken from the example make.conf: > # The CPUTYPE variable controls which processor should be targeted for > # generated code. This controls processor-specific optimizations in > # certain code (currently only OpenSSL) as well as modifying the value > # of CFLAGS to contain the appropriate optimization directive to gcc. Has someone else had problems with Azureus/gtk2 if the CPUTYPE was set? Is there a known bug in Azureus/gtk2 preventing the use of CPUTYPE? Regards, Andreas --=20 GnuPG key : 0xD25FCC81 | http://cyb.websimplex.de/pubkey.asc Fingerprint: D182 6F22 7EEC DD4C 0F6E 564C 691B 0372 D25F CC81 --=-8kUf9JEzChUopHGpZ4B4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCRSAraRsDctJfzIERAomkAJsEg4mAS9BxkzAhGuDuNiDGZ03rEACZAVUe 4ofwJr0oDHsDMhuuqmM+qAw= =vH5o -----END PGP SIGNATURE----- --=-8kUf9JEzChUopHGpZ4B4--