ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK

Nicolas Le Scouarnec nlsn at free.fr
Wed Sep 22 22:20:18 UTC 2004


>Number:         72014
>Category:       ports
>Synopsis:       Eclipse doesn't work (SigBus 10) if it has been built with GTK
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 22 22:20:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Le Scouarnec
>Release:        FreeBSD 5.3-BETA5 i386
>Organization:
>Environment:
System: FreeBSD shiva.india.ath.cx 5.3-BETA5 FreeBSD 5.3-BETA5 #1: Sun Sep 19 13:07:42 CEST 2004 root at shiva.india.ath.cx:/usr/obj/usr/src/sys/SHIVA i386

	I'm using and Pentium4 with a recent FreeBSD Releng5.

>Description:
	If you have built Eclipse (/usr/ports/java/eclipse) with GTK and 
	GnomeVFS, it doesn't work, it crash on sigbus 10 while starting.
	I've updated many of my libraries, and all dependencies are satisfied.
	I use a native FreeBSD JavaVM and compiler (SunJDK1.4.2) which works
	with other programs.
	
	Versions of some of my libraries:
	0x34bf6000      /usr/X11R6/lib/libgtk-x11-2.0.so.400
	0x34ecb000      /usr/X11R6/lib/libgdk-x11-2.0.so.400
	0x34f55000      /usr/local/lib/libatk-1.0.so.600
	0x35195000      /usr/local/lib/libgmodule-2.0.so.400
	....

	Here is the trace of the crash:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 10 occurred at PC=0x34DFADEF
Function=_gtk_tree_view_queue_draw_node+0x1716
Library=/usr/X11R6/lib/libgtk-x11-2.0.so.400

Current Java thread:
        at org.eclipse.swt.internal.gtk.OS.gtk_container_add(Native Method)
        - locked <0x30840450> (a java.lang.Class)
        at org.eclipse.swt.widgets.Tree.createHandle(Tree.java:249)
        at org.eclipse.swt.widgets.Widget.createWidget(Widget.java:321)
        at org.eclipse.swt.widgets.Control.createWidget(Control.java:306)
	[...]
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
        at org.eclipse.core.launcher.Main.run(Main.java:644)
        at org.eclipse.core.launcher.Main.main(Main.java:628)

Dynamic libraries:
0x8048000       /usr/local/jdk1.4.2/bin/java
0x28086000      /usr/lib/libpthread.so.1
0x280ab000      /lib/libc.so.5
...
0x2804e000      /libexec/ld-elf.so.1

Heap at VM Abort:
Heap
 def new generation   total 640K, used 432K [0x2c480000, 0x2c530000, 0x2c960000)
  eden space 576K,  65% used [0x2c480000, 0x2c4deba8, 0x2c510000)
  from space 64K,  83% used [0x2c520000, 0x2c52d510, 0x2c530000)
  to   space 64K,   0% used [0x2c510000, 0x2c510000, 0x2c520000)
 tenured generation   total 8120K, used 5303K [0x2c960000, 0x2d14e000, 0x30480000)
   the space 8120K,  65% used [0x2c960000, 0x2ce8de40, 0x2ce8e000, 0x2d14e000)
 compacting perm gen  total 9728K, used 9660K [0x30480000, 0x30e00000, 0x34480000)
   the space 9728K,  99% used [0x30480000, 0x30def010, 0x30def200, 0x30e00000)

Local Time = Tue Sep 21 22:59:55 2004
Elapsed Time = 15
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_21_sep_2004_19_58 mixed mode)
#


>How-To-Repeat:
	Build Eclipse with GTK and GNOMEVFS2 (default options if you type make)


>Fix:
	It's just a work around, and it doesn't resolve the problem at all.
	You can use Eclipse if you install it without GTK:
	make WITH_MOTIF=1 WITHOUT_GNOMEVFS=1 install
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list