From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PiqnD-0003kA-0p for garchives@archives.gentoo.org; Fri, 28 Jan 2011 16:03:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F820E09CC for ; Fri, 28 Jan 2011 16:03:22 +0000 (UTC) Received: from mx1.nuigalway.ie (mx1.nuigalway.ie [140.203.201.100]) by pigeon.gentoo.org (Postfix) with ESMTP id 1AAF6E0AE9 for ; Fri, 28 Jan 2011 15:12:43 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An4FANZrQk2Myzge/2dsb2JhbACWYY8Su3eFTwSTAg X-IronPort-AV: E=Sophos;i="4.60,392,1291593600"; d="scan'208";a="162460366" Received: from frink.nuigalway.ie (HELO riviera.nuigalway.ie) ([140.203.56.30]) by mx1.nuigalway.ie with ESMTP; 28 Jan 2011 15:12:43 +0000 Received: from felix by riviera.nuigalway.ie with local (Exim 4.69) (envelope-from ) id 1Piq0A-00006X-RD for gentoo-amd64@lists.gentoo.org; Fri, 28 Jan 2011 15:12:42 +0000 Date: Fri, 28 Jan 2011 15:12:42 +0000 From: Darragh Bailey To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] bug report help Message-ID: <20110128151242.GA22949@compsoc.nuigalway.ie> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Archives-Salt: X-Archives-Hash: 47e3dda9dc7d3ded68a80eba3ff54f4d On Thu, Jan 27, 2011 at 04:19:18PM -0600, Paul Hartman wrote: > On Fri, Jan 21, 2011 at 5:57 AM, Fernando Boaglio wrote: > > Hi, > > > > There is a recent update which broke my Java IDE (Eclipse - not from > > portage) . > > > > I've seen this strange behavior in 2 different machines, both ADM64, but I'm > > not sure which package should I inform to this error: > > > > > > *** glibc detected *** /opt/sun-jdk-1.6.0.23/bin/java: free(): invalid > > pointer: 0x00000000456f30d0 *** > > ======= Backtrace: ========= > > /lib/libc.so.6(+0x783c6)[0x7f7c039593c6] > > /opt/sun-jdk-1.6.0.23/jre/lib/amd64/server/libjvm.so(+0x61b879)[0x7f7c0341a879] > > /opt/sun-jdk-1.6.0.23/jre/lib/amd64/server/libjvm.so(+0x43d44f)[0x7f7c0323c44f] > > /home/fb/eclipseWTP3.2.3/configuration/org.eclipse.osgi/bundles/151/1/.cp/libswt-pi-gtk-3657.so(Java_org_eclipse_swt_internal_gtk_OS__1g_1data_1input_1stream_1read_1line+0xe7)[0x7f7bf5267d04] > > [0x7f7bfebeaca8] > > > Is it glibc ? > > glibc is reporting to you about the error, FYI you can control its > behavior (ignore, warn, abort) with the MALLOC_CHECK_ variable. See > "man malloc" and scroll to the last paragraph. Maybe running as root > operated under a different malloc mode? > > Looks like maybe your file > /home/fb/eclipseWTP3.2.3/configuration/org.eclipse.osgi/bundles/151/1/.cp/libswt-pi-gtk-3657.so > is the common thread... > > I think the only way to really know exactly where it's crashing is to > build everything involved with debug symbols and debug the coredump or > use valgrind or something like that. If Eclipse is a binary install > then I guess report it to whoever makes it (I don't know anything > about Java or Eclipse). Given that in another email he mentioned that running eclipse as root doesn't crash, then it's more likely that the problem is due to the updating of various eclipse files in the user workspace. To confirm, just try starting eclipse with a different workspace, using the following (untested) $ eclipse -data /home/fb/eclipse_test_workspace Also compare /home/fb/eclipseWTP3.2.3/configuration/org.eclipse.osgi/bundles/151/1/.cp/libswt-pi-gtk-3657.so against /usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/151/1/.cp/libswt-pi-gtk-3657.so and see if the corresponding one on the system both exists and is the same. (particularly since this appears to be your problem file) I suspect not. I thought that updating of various core libraries/bundles of eclipse was disabled on most linux distros due to eclipse being built against the system version of glibc, but a update there is the only way I can think that it could go from working to crashing after an eclipse update. -- Darragh "Nothing is foolproof to a sufficiently talented fool."