Gentoo Archives: gentoo-amd64

From: Darragh Bailey <felix@×××××××××××××××××.ie>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] bug report help
Date: Fri, 28 Jan 2011 16:03:23
In Reply to: Re: [gentoo-amd64] bug report help by Paul Hartman
On Thu, Jan 27, 2011 at 04:19:18PM -0600, Paul Hartman wrote:
> On Fri, Jan 21, 2011 at 5:57 AM, Fernando Boaglio <boaglio@×××××.com> 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- free(): invalid > > pointer: 0x00000000456f30d0 *** > > ======= Backtrace: ========= > > /lib/[0x7f7c039593c6] > > /opt/sun-jdk-[0x7f7c0341a879] > > /opt/sun-jdk-[0x7f7c0323c44f] > > /home/fb/eclipseWTP3.2.3/configuration/org.eclipse.osgi/bundles/151/1/.cp/[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/ > 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/ against /usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/151/1/.cp/ 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."


Subject Author
Re: [gentoo-amd64] bug report help Fernando Boaglio <boaglio@×××××.com>