[Bug 883] New: Java JVM aborts in glibc due to an invalid pointer passed to an attempt to free memory.

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Feb 22 14:28:23 PST 2012


             Bug #: 883
           Summary: Java JVM aborts in glibc due to an invalid pointer
                    passed to an attempt to free memory.
    Classification: Unclassified
           Product: MIPS Port
           Version: unspecified
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: general
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: Gary.Mohr at bull.com

Created attachment 667
  --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=667
Example plugin project that will reproduce the problem.

I have an Eclipse RCP application that creates a view that contains a
treeViewer.  The treeViewer is created with 4 columns and using foreground
color to display the column text values.  If an attempt is made to add another
column to this treeViewer, the Java JVM is aborted by glibc because it passes
an invalid pointer to a memory free function.

This problem happens every time on Linux but never occurs on Windows.  In
addition if the column text is highlighted with background color instead of
displayed using a foregroung color, the problem goes away.

I am running:

Eclipse for RCP and RAP Developers
Version: Helios Service Release 2
Build id: 20110218-0911

java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.4) (rhel-1.21.b17.el6-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Linux sulu 2.6.32-71.el6.Bull.1.x86_64 #1 SMP Mon Nov 8 17:16:27 MST 2010
x86_64 x86_64 x86_64 GNU/Linux

[sulu] (hpctk) gam> rpm -q gcc glibc gtk2

I have attached a zip file which if expanded and loaded into an Eclipse plugin
project will easily reproduce the problem.  You simply have to launch it from
Eclipse and then pull down the File menu and select 'Add Column' then the JVM
will abort.

There is also a comment block in this View.java source file inside the zip file
which describes all I know about the problem (including where the free call is
that leads to the abort).

I do not know if this is a problem in Eclipse, Java, or the Linux gtk2 native
library.  But if this is the wrong place to report the problem please point me
to the right place.


Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the distro-pkg-dev mailing list