JDK 1.5 & Eclipse on amd64 Problem...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

JDK 1.5 & Eclipse on amd64 Problem...

Ralf Folkerts
Hi,

I recently (well, one week ago) moved from i386 to amd64 on my machine.
Before the re-install Eclipse worked 1a (used JDK 1.4.2, however). After
the re-install I cvsupped to 6.0-STABLE, performed a build-/
installworld, cvsupped ports and ran "portupgrade -fa". I had to compile
Eclipse using WITHOUT_CAIRO, as it didn't link properly against the
cairo-Libs. Java 1.5 compiled fine - as the "WITHOU_WEB" is being turned
on automagically on amd64...

Well, with amd64 I don't have JDK 1.4.2 any longer and so use 1.5.
Unfortunately, Eclipse always crashes with with a Signal 6 shortly after
starting up and compiling the Workspace (used to pull a project from
CVS). My first "action" was to remove .eclipse - however, that didn't
help.

Now, I read some hints regarding libz.so - Problems here in the list.
However, the JDK 1.5 I installed is "jdk-1.5.0p2_3" - and if I got the
(latest) commit-comment right, that JDK should not show these
libz-Problems any longer (btw: Eclipse it @ "eclipse-3.1.1_2")?!

Does anyone have a hint? The crash always happens in "Java indexing"; I
enclosed one hs_err - File...

Thanks in advance,
cheers,
_ralf_


_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: JDK 1.5 & Eclipse on amd64 Problem...

Ralf Folkerts
Hi,

[...]
> Does anyone have a hint? The crash always happens in "Java indexing"; I
> enclosed one hs_err - File...

urgs -- seems the Error-Log in my previous post got lost :-(

Cheers,
_ralf_

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x0000000804e8d111, pid=22304, tid=0x1174400
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM
(1.5.0-p2-toor_14_dec_2005_13_44 mixed mode)
# Problematic frame:
# J
org.eclipse.jdt.internal.core.util.CommentRecorderScanner.recordComment(I)V
#

---------------  T H R E A D  ---------------

Current thread (0x0000000001174000):  JavaThread "Java indexing" daemon
[_thread_in_Java, id=18301952]

siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x0000002964893ac0

Registers:
RAX=0x000000085752aae8, RBX=0x00007fffff1ec428, RCX=0x000000000000014a,
RDX=0x00000008474ea448
RSP=0x00007fffff1ec3d0, RBP=0x0000000000000000, RSI=0x00000000ffff26be,
RDI=0x00007fffff1ec3e0
R8 =0x000000000000014a, R9 =0x0000000000000001, R10=0x0000000000000001,
R11=0x00000008474ea988
R12=0x000000000000014a, R13=0x000000085782c910, R14=0x00007fffff1ec438,
R15=0x0000000001174000
RIP=0x0000000804e8d111, EFL=0x0000000000000000,
CSGSFS=0x0000ffff00001f80, ERR=0x0000000000000000
  TRAPNO=0x0000000000000000

Top of Stack: (sp=0x00007fffff1ec3d0)
0x00007fffff1ec3d0:   00000008474a4b38 00000008000003e9
0x00007fffff1ec3e0:   0000000804e8cf90 00007fffff1ec3e8
0x00007fffff1ec3f0:   000000085782c910 00000008049a4121
0x00007fffff1ec400:   0000000000000000 000000085782c910
0x00007fffff1ec410:   0000000000000000 00007fffff1ec428
0x00007fffff1ec420:   0000000000000000 00000008049808fc
0x00007fffff1ec430:   0000002a000003e9 00000008474a4b38
0x00007fffff1ec440:   00000008474a4bd4 000000000000d943
0x00007fffff1ec450:   00000008474c5cc0 00000008474a4720
0x00007fffff1ec460:   0000000000000173 0000000804e7b91c
0x00007fffff1ec470:   00000008474a4b38 0000000000000000
0x00007fffff1ec480:   00000008474a4c08 0000d90b00000042
0x00007fffff1ec490:   00000008474a4c0f 0000000000000001
0x00007fffff1ec4a0:   00000008474a1548 00000008474a4bd4
0x00007fffff1ec4b0:   00000008474a4b48 00000008474a1548
0x00007fffff1ec4c0:   00000008474a4720 000000000000010f
0x00007fffff1ec4d0:   000000085747e5df 0000000804deabf8
0x00007fffff1ec4e0:   0000000000000044 00000008000000ff
0x00007fffff1ec4f0:   000000000000d647 000000000000325a
0x00007fffff1ec500:   000000007fffffff 00007fffff1ec5b0
0x00007fffff1ec510:   000000085747fff0 000000085779fd20
0x00007fffff1ec520:   00000008474a1490 0000067b0000314b
0x00007fffff1ec530:   000000085752e4c8 00000008049c221e
0x00007fffff1ec540:   00007fffff1ec5b0 00007fffff1ec560
0x00007fffff1ec550:   00007fffff1ec5b0 00007fffff1ec568
0x00007fffff1ec560:   000000000000db3e 000000080490fd36
0x00007fffff1ec570:   00000008474a1490 00007fffff1ec578
0x00007fffff1ec580:   000000085747fff0 00007fffff1ec5e0
0x00007fffff1ec590:   0000000857515e20 000000085779fd20
0x00007fffff1ec5a0:   00000008574800f8 00007fffff1ec5d0
0x00007fffff1ec5b0:   00007fffff1ec620 000000080490fd36
0x00007fffff1ec5c0:   0000000000000000 0000000000000000

Instructions: (pc=0x0000000804e8d111)
0x0000000804e8d101:   4d 8b 5b 28 45 8b 43 10 45 3b d0 73 13 4d 63 d2
0x0000000804e8d111:   41 f7 5c 93 18 48 83 c4 28 85 05 e0 2e 6b fb c3

Stack: [0x00007fffff1ad000,0x00007fffff1ed000),  sp=0x00007fffff1ec3d0,
free space=252k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
J
org.eclipse.jdt.internal.core.util.CommentRecorderScanner.recordComment(I)V

[error occurred during error reporting, step 120, id 0xb]


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0000000000d04400 JavaThread "Worker-3" daemon [_thread_in_native,
id=13649920]
=>0x0000000001174000 JavaThread "Java indexing" daemon [_thread_in_Java,
id=18301952]
  0x0000000000ff6400 JavaThread "Worker-2" daemon [_thread_blocked,
id=16738304]
  0x0000000001447400 JavaThread "Worker-1" daemon [_thread_blocked,
id=21264384]
  0x0000000001396800 JavaThread "Worker-0" daemon [_thread_blocked,
id=20540416]
  0x0000000000a46400 JavaThread "Start Level Event Dispatcher" daemon
[_thread_blocked, id=10774528]
  0x0000000000967c00 JavaThread "Framework Event Dispatcher" daemon
[_thread_blocked, id=10250240]
  0x0000000000872000 JavaThread "Low Memory Detector" daemon
[_thread_blocked, id=8858624]
  0x000000000086c000 JavaThread "CompilerThread1" daemon
[_thread_blocked, id=8834048]
  0x0000000000865000 JavaThread "CompilerThread0" daemon
[_thread_blocked, id=8805376]
  0x0000000000841000 JavaThread "AdapterThread" daemon [_thread_blocked,
id=8657920]
  0x0000000000840000 JavaThread "Signal Dispatcher" daemon
[_thread_blocked, id=8653824]
  0x0000000000838400 JavaThread "Finalizer" daemon [_thread_blocked,
id=8621056]
  0x00000000007f0c00 JavaThread "Reference Handler" daemon
[_thread_blocked, id=8617984]
  0x000000000051a800 JavaThread "main" [_thread_in_native, id=5349376]

Other Threads:
  0x00000000007dec00 VMThread [id=8325120]
  0x0000000000520c00 WatcherThread [id=8879104]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 39424K, used 33347K [0x0000000845910000,
0x00000008483d0000, 0x000000084ae60000)
  eden space 35072K,  82% used [0x0000000845910000, 0x0000000847560f10,
0x0000000847b50000)
  from space 4352K, 100% used [0x0000000847b50000, 0x0000000847f90000,
0x0000000847f90000)
  to   space 4352K,   0% used [0x0000000847f90000, 0x0000000847f90000,
0x00000008483d0000)
 tenured generation   total 87424K, used 73301K [0x000000084ae60000,
0x00000008503c0000, 0x0000000855910000)
   the space 87424K,  83% used [0x000000084ae60000, 0x000000084f5f54b0,
0x000000084f5f5600, 0x00000008503c0000)
 compacting perm gen  total 32128K, used 31992K [0x0000000855910000,
0x0000000857870000, 0x000000085ab10000)
   the space 32128K,  99% used [0x0000000855910000, 0x000000085784e288,
0x000000085784e400, 0x0000000857870000)
No shared spaces configured.

Dynamic libraries:
0x0000000000400000 /usr/local/jdk1.5.0/bin/java
0x0000000800638000 /usr/lib/libpthread.so.2
0x0000000800763000 /lib/libc.so.6
0x0000000800968000 /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so
0x00000008013a1000 /usr/lib/libstdc++.so.5
0x000000080159f000 /lib/libm.so.4
0x00000008016bf000
        /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi.so
0x00000008017cb000 /usr/local/jdk1.5.0/jre/lib/amd64/libverify.so
0x00000008018da000 /usr/local/jdk1.5.0/jre/lib/amd64/libjava.so
0x0000000801a02000 /usr/local/jdk1.5.0/jre/lib/amd64/libzip.so
0x000000085adb1000 /usr/local/jdk1.5.0/jre/lib/amd64/libnet.so
0x000000085aec4000 /usr/local/jdk1.5.0/jre/lib/amd64/libnio.so
0x000000085d0c1000
        /home/ralf/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/24/1/.cp/libswt-pi-gtk-3139.so
0x000000085d219000 /usr/X11R6/lib/libgtk-x11-2.0.so.0
0x000000085d654000 /usr/local/lib/libgthread-2.0.so.0
0x000000085d758000 /usr/X11R6/lib/libXtst.so.6
0x000000085d85e000 /usr/X11R6/lib/libgdk_pixbuf-2.0.so.0
0x000000085d976000 /usr/X11R6/lib/libgdk-x11-2.0.so.0
0x000000085db0d000 /usr/X11R6/lib/libXrandr.so.2
0x000000085dc10000 /usr/X11R6/lib/libXrender.so.1
0x000000085dd19000 /usr/X11R6/lib/libXi.so.6
0x000000085de22000 /usr/X11R6/lib/libXinerama.so.1
0x000000085df24000 /usr/X11R6/lib/libXext.so.6
0x000000085e035000 /usr/X11R6/lib/libX11.so.6
0x000000085e215000 /usr/X11R6/lib/libpangocairo-1.0.so.0
0x000000085e31d000 /usr/X11R6/lib/libpangoft2-1.0.so.0
0x000000085e449000 /usr/X11R6/lib/libfontconfig.so.1
0x000000085e589000 /usr/local/lib/libfreetype.so.9
0x000000085e703000 /lib/libz.so.3
0x000000085e816000 /usr/X11R6/lib/libpango-1.0.so.0
0x000000085e956000 /usr/local/lib/libatk-1.0.so.0
0x000000085ea75000 /usr/local/lib/libgobject-2.0.so.0
0x000000085ebb5000 /usr/local/lib/libgmodule-2.0.so.0
0x000000085ecb8000 /usr/local/lib/libglib-2.0.so.0
0x000000085ee48000 /usr/local/lib/libiconv.so.3
0x000000085f03b000 /usr/local/lib/libcairo.so.2
0x000000085f199000 /usr/local/lib/libintl.so.6
0x000000085f2a3000 /usr/X11R6/lib/libXcursor.so.1
0x000000085f3ad000 /usr/X11R6/lib/libXfixes.so.3
0x000000085f4b2000 /usr/local/lib/libexpat.so.5
0x000000085f5d7000 /usr/local/lib/libpng.so.5
0x000000085f6fe000 /usr/local/lib/libglitz.so.1
0x000000085f824000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
0x000000085f94e000
        /home/ralf/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/24/1/.cp/libswt-gtk-3139.so
0x000000085fb64000 /usr/X11R6/lib/pango/1.4.0/modules/pango-basic-fc.so
0x000000080050c000 /libexec/ld-elf.so.1

VM Arguments:
jvm_args: -Xms128m -Xmx256m
java_command: /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch
amd64 -launcher /usr/local/eclipse/eclipse -name Eclipse -showsplash 600
-exitdata 20008 -data /home/ralf/workspace
-vm /usr/local/jdk1.5.0/bin/java -vmargs -Xms128m -Xmx256m
-jar /usr/local/eclipse/startup.jar

Environment Variables:
JAVA_HOME=/usr/local/jdk1.5.0
PATH=/usr/local/jdk1.5.0/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/ralf/bin
LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/amd64/server:/usr/local/jdk1.5.0/jre/lib/amd64:/usr/local/jdk1.5.0/jre/../lib/amd64:/usr/X11R6/lib/firefox::/usr/X11R6/lib/firefox
SHELL=/usr/local/bin/bash
DISPLAY=:0.0


---------------  S Y S T E M  ---------------

OS:FreeBSD
uname:FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 19:42:02 CET
2005     [hidden email]:/usr/obj/usr/src/sys/GENERIC
amd64
rlimit: STACK 524288k, CORE infinity, NOFILE 11095
CPU:total 1

Memory: 4k page, physical 262144k

vm_info: Java HotSpot(TM) 64-Bit Server VM
(1.5.0-p2-toor_14_dec_2005_13_44) for freebsd-amd64, built on Dec 14
2005 14:07:03 by root with gcc 3.4.4 [FreeBSD] 20050518





_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: JDK 1.5 & Eclipse on amd64 Problem...

Panagiotis Astithas
Ralf Folkerts wrote:
> Hi,
>
> [...]
>
>>Does anyone have a hint? The crash always happens in "Java indexing"; I
>>enclosed one hs_err - File...

Does increasing the maximum heap size help?

Cheers,
Panagiotis
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"