Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 2009 15:37:14 -0800
From:      Brian Gardner <openjdk@getsnappy.com>
To:        Patrick Mackinlay <patrick@spacesurfer.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: jvm crash using eclipse
Message-ID:  <E563A87A-B216-477B-BB57-D66171B16765@getsnappy.com>
In-Reply-To: <4AEB3720.2000301@spacesurfer.com>
References:  <4AEB3720.2000301@spacesurfer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You should give it a try with openjdk6-b17 pre release 2, it is  
available for download here:

http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-port-java-openjdk6-from-b16-to-b17/

On Oct 30, 2009, at 11:57 AM, Patrick Mackinlay wrote:

> Hello,
>
> I am still getting jvm crashes when using eclipse on my amd64  
> machine. I
> reported this some time ago. I have attached a new crash dump. My  
> system
> has the following packages on it:
> diablo-jdk-1.6.0.07.02_6
> jdk-1.6.0.3p4_12
> eclipse-3.4.2
>
> regards,
> Patrick
>
> -- 
> Patrick Mackinlay                              patrick@spacesurfer.com
> http://patrick.spacesurfer.com/                    tel: +44.7050699851
> Yahoo messenger: patrick00_uk                      fax: +44.7050699852
> SpaceSurfer Limited                           http://www.spacereg.com/
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x0000000800d0c724, pid=12395, tid=0x181e820
> #
> # Java VM: Diablo Java HotSpot(TM) 64-Bit Server VM (10.0-b23 mixed  
> mode bsd-amd64)
> # Problematic frame:
> # V  [libjvm.so+0x20c724]
> #
> # Please submit bug reports to freebsd-java@FreeBSD.org
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
>
> ---------------  T H R E A D  ---------------
>
> Current thread (0x000000082545a800):  JavaThread "CompilerThread1"  
> daemon [_thread_in_native, id=25290784,  
> stack(0x00007ffffecf1000,0x00007ffffedf1000)]
>
> siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),  
> si_addr=0x0000000000000000
>
> Registers:
> RAX=0x0000000000000000, RBX=0x0000000829412e40,  
> RCX=0x00007ffffedef330, RDX=0x000000000000004d
> RSP=0x00007ffffededbe0, RBP=0x00007ffffededc40,  
> RSI=0x0000000000000001, RDI=0x00000008250d1ba8
> R8 =0x00007ffffedef330, R9 =0x0000000000000000,  
> R10=0x0000000000000002, R11=0x00000008010dea70
> R12=0x0000000000000000, R13=0x0000000829412e78,  
> R14=0x0000000000000001, R15=0x00000008250d1ba8
> RIP=0x0000000800d0c724, EFL=0x0000000000000002, ERR=0x0000000000000004
>  TRAPNO=0x000000000000000c
>
> Top of Stack: (sp=0x00007ffffededbe0)
> 0x00007ffffededbe0:   01007ffffedef330 00007ffffedef330
> 0x00007ffffededbf0:   000000070001dd20 00000008290cebf0
> 0x00007ffffededc00:   00000002fededc40 ffffffff00000001
> 0x00007ffffededc10:   0000000825540860 00007ffffedef3f8
> 0x00007ffffededc20:   00007ffffedef330 0000000801383dc0
> 0x00007ffffededc30:   000000082c139400 00007ffffededc90
> 0x00007ffffededc40:   00007ffffedede40 0000000800d0e392
> 0x00007ffffededc50:   00000008298d64b0 00000008290ca9d0
> 0x00007ffffededc60:   00007ffffededdb0 00007ffffededdf0
> 0x00007ffffededc70:   00007ffffededd50 00000000000000a2
> 0x00007ffffededc80:   000000082c1397e8 000000082c139410
> 0x00007ffffededc90:   00000008012b12d0 00007fff0000000e
> 0x00007ffffededca0:   00007ffffedf0130 00007ffffedef330
> 0x00007ffffededcb0:   00007fff000009b1 000000080181e820
> 0x00007ffffededcc0:   00007ffffededce0 0000000801804420
> 0x00007ffffededcd0:   00007ffffededce0 000000080181e820
> 0x00007ffffededce0:   00007ffffededd00 000000082c9ee000
> 0x00007ffffededcf0:   00007ffffededd00 00000008010d8eb7
> 0x00007ffffededd00:   00007ffffededd40 0000000800cb52cd
> 0x00007ffffededd10:   000000082d13f610 00007ffffedef498
> 0x00007ffffededd20:   00007ffffededd40 00007ffffedef3f8
> 0x00007ffffededd30:   00000008253ffca0 0000000000007fd8
> 0x00007ffffededd40:   00007ffffededd80 0000000800cb53a7
> 0x00007ffffededd50:   00007fff0000000c 00007ffffedf0130
> 0x00007ffffededd60:   00000008297ad010 000000082bb6b010
> 0x00007ffffededd70:   000000082f34c010 000000082f34cc20
> 0x00007ffffededd80:   0000000829002010 00007ffffedef450
> 0x00007ffffededd90:   00007ffffedef3f8 0000000000000312
> 0x00007ffffededda0:   00007ffffededdf0 0000000800d0b71f
> 0x00007ffffededdb0:   000000080000000d 00007ffffedf0130
> 0x00007ffffededdc0:   000000082be2b010 3f589374bc6a7e00
> 0x00007ffffededdd0:   0000000829402010 000000080000056d
>
> Instructions: (pc=0x0000000800d0c724)
> 0x0000000800d0c714:   48 89 43 18 49 8b 07 ff 90 80 00 00 00 49 89 c4
> 0x0000000800d0c724:   8b 00 21 43 38 41 8b 44 24 04 21 43 3c 4c 89 ef
>
> Stack: [0x00007ffffecf1000,0x00007ffffedf1000],   
> sp=0x00007ffffededbe0,  free space=1010k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,  
> C=native code)
> V  [libjvm.so+0x20c724]
> V  [libjvm.so+0x20e392]
> V  [libjvm.so+0x25e303]
> V  [libjvm.so+0x25f948]
> V  [libjvm.so+0x1fac98]
> V  [libjvm.so+0x26377d]
> V  [libjvm.so+0x264505]
> V  [libjvm.so+0x5d6bad]
> V  [libjvm.so+0x4e53f6]
>
>
> Current CompileTask:
> C2:965       
> org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith([Lorg/ 
> eclipse/core/internal/dtree/AbstractDataTreeNode;[Lorg/eclipse/core/ 
> internal/dtree/AbstractDataTreeNode;Lorg/eclipse/core/internal/dtree/ 
> IComparator;)[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;  
> (469 bytes)
>
>
> ---------------  P R O C E S S  ---------------
>
> Java Threads: ( => current thread )
>  0x000000082b411000 JavaThread "Timer-15" daemon [_thread_blocked,  
> id=729334336, stack(0x00007ffffd9de000,0x00007ffffdade000)]
>  0x000000082b90e000 JavaThread "Worker-8" [_thread_blocked,  
> id=730969440, stack(0x00007ffffdadf000,0x00007ffffdbdf000)]
>  0x000000082b90d800 JavaThread "Worker-7" [_thread_blocked,  
> id=730969040, stack(0x00007ffffdbe0000,0x00007ffffdce0000)]
>  0x000000082c608800 JavaThread "Worker-6" [_thread_blocked,  
> id=744595632, stack(0x00007ffffdce1000,0x00007ffffdde1000)]
>  0x000000082b90d000 JavaThread "Worker-5" [_thread_blocked,  
> id=730968640, stack(0x00007ffffdde2000,0x00007ffffdee2000)]
>  0x000000082b90c800 JavaThread "Worker-4" [_thread_blocked,  
> id=730968240, stack(0x00007ffffdee3000,0x00007ffffdfe3000)]
>  0x000000082caa0800 JavaThread "Worker-3" [_thread_blocked,  
> id=688350160, stack(0x00007ffffdfe4000,0x00007ffffe0e4000)]
>  0x000000082a2d1800 JavaThread "Worker-2" [_thread_blocked,  
> id=25295184, stack(0x00007ffffe0e5000,0x00007ffffe1e5000)]
>  0x000000082b412800 JavaThread "Thread-3" daemon [_thread_blocked,  
> id=729333936, stack(0x00007ffffe1e6000,0x00007ffffe2e6000)]
>  0x0000000830083000 JavaThread "Java indexing" daemon  
> [_thread_blocked, id=25295584,  
> stack(0x00007ffffe2e7000,0x00007ffffe3e7000)]
>  0x000000082b161000 JavaThread "Worker-1" [_thread_blocked,  
> id=688349760, stack(0x00007ffffe4e9000,0x00007ffffe5e9000)]
>  0x0000000828adb800 JavaThread "Worker-0" [_thread_blocked,  
> id=25293984, stack(0x00007ffffe6eb000,0x00007ffffe7eb000)]
>  0x000000082551b000 JavaThread "Start Level Event Dispatcher" daemon  
> [_thread_blocked, id=25292384,  
> stack(0x00007ffffe7ec000,0x00007ffffe8ec000)]
>  0x0000000825459000 JavaThread "Framework Event Dispatcher" daemon  
> [_thread_blocked, id=25291984,  
> stack(0x00007ffffe8ed000,0x00007ffffe9ed000)]
>  0x0000000825458800 JavaThread "State Data Manager" daemon  
> [_thread_blocked, id=25291584,  
> stack(0x00007ffffe9ee000,0x00007ffffeaee000)]
>  0x0000000801825000 JavaThread "Low Memory Detector" daemon  
> [_thread_blocked, id=25291184,  
> stack(0x00007ffffebf0000,0x00007ffffecf0000)]
> =>0x000000082545a800 JavaThread "CompilerThread1" daemon  
> [_thread_in_native, id=25290784,  
> stack(0x00007ffffecf1000,0x00007ffffedf1000)]
>  0x000000082545a000 JavaThread "CompilerThread0" daemon  
> [_thread_blocked, id=25290384,  
> stack(0x00007ffffedf2000,0x00007ffffeef2000)]
>  0x0000000825459800 JavaThread "Signal Dispatcher" daemon  
> [_thread_blocked, id=25289984,  
> stack(0x00007ffffeef3000,0x00007ffffeff3000)]
>  0x000000080182a800 JavaThread "Finalizer" daemon [_thread_blocked,  
> id=25289584, stack(0x00007ffffeff4000,0x00007fffff0f4000)]
>  0x000000080182a000 JavaThread "Reference Handler" daemon  
> [_thread_blocked, id=25289184,  
> stack(0x00007fffff0f5000,0x00007fffff1f5000)]
>  0x0000000801824800 JavaThread "main" [_thread_in_native,  
> id=10494528, stack(0x00007fffffaff000,0x00007fffffbff000)]
>
> Other Threads:
>  0x0000000801829800 VMThread [stack:  
> 0x00007fffff1f6000,0x00007fffff2f6000] [id=25288784]
>  0x000000082545b000 WatcherThread [stack:  
> 0x00007ffffeaef000,0x00007ffffebef000] [id=25285184]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
> PSYoungGen      total 73728K, used 9907K [0x000000081f920000,  
> 0x0000000824e70000, 0x0000000824e70000)
>  eden space 61376K, 16% used  
> [0x000000081f920000,0x00000008202ccf98,0x0000000823510000)
>  from space 12352K, 0% used  
> [0x0000000824260000,0x0000000824260000,0x0000000824e70000)
>  to   space 12992K, 0% used  
> [0x0000000823510000,0x0000000823510000,0x00000008241c0000)
> PSOldGen        total 73280K, used 40763K [0x0000000814e70000,  
> 0x0000000819600000, 0x000000081f920000)
>  object space 73280K, 55% used  
> [0x0000000814e70000,0x000000081763edb0,0x0000000819600000)
> PSPermGen       total 121216K, used 61413K [0x0000000804e70000,  
> 0x000000080c4d0000, 0x0000000814e70000)
>  object space 121216K, 50% used  
> [0x0000000804e70000,0x0000000808a697e8,0x000000080c4d0000)
>
> Dynamic libraries:
> 0x0000000000400000 	/usr/local/diablo-jdk1.6.0/bin/java
> 0x0000000800643000 	/lib/libthr.so.3
> 0x000000080075b000 	/lib/libc.so.7
> 0x0000000800b00000 	/usr/local/diablo-jdk1.6.0/jre/lib/amd64/server/ 
> libjvm.so
> 0x00000008013a4000 	/usr/lib/libstdc++.so.6
> 0x00000008015b0000 	/lib/libm.so.5
> 0x00000008016ca000 	/lib/libgcc_s.so.1
> 0x0000000801900000 	/usr/local/diablo-jdk1.6.0/jre/lib/amd64/ 
> native_threads/libhpi.so
> 0x0000000801a0d000 	/usr/local/diablo-jdk1.6.0/jre/lib/amd64/ 
> libverify.so
> 0x0000000801b1e000 	/usr/local/diablo-jdk1.6.0/jre/lib/amd64/ 
> libjava.so
> 0x0000000801c52000 	/usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so
> 0x0000000801d5b000 	/lib/libz.so.4
> 0x0000000825700000 	/usr/local/eclipse/plugins/ 
> org 
> .eclipse.equinox.launcher.gtk.freebsd.x86_64_1.0.101.R34x_v20080731/ 
> eclipse_1116.so
> 0x000000082580e000 	/usr/local/lib/libgobject-2.0.so.0
> 0x000000082594f000 	/usr/local/lib/libglib-2.0.so.0
> 0x0000000825b08000 	/usr/local/lib/libintl.so.8
> 0x0000000825c11000 	/usr/local/lib/libiconv.so.3
> 0x0000000825e0b000 	/usr/local/lib/libpcre.so.0
> 0x0000000825f38000 	/usr/local/lib/libgdk-x11-2.0.so.0
> 0x00000008260d5000 	/usr/local/lib/libpangocairo-1.0.so.0
> 0x00000008261e1000 	/usr/local/lib/libpangoft2-1.0.so.0
> 0x000000082630f000 	/usr/local/lib/libpango-1.0.so.0
> 0x0000000826456000 	/usr/local/lib/libXinerama.so.1
> 0x0000000826558000 	/usr/local/lib/libXi.so.6
> 0x0000000826661000 	/usr/local/lib/libXrandr.so.2
> 0x0000000826769000 	/usr/local/lib/libXcursor.so.1
> 0x0000000826873000 	/usr/local/lib/libXcomposite.so.1
> 0x0000000826976000 	/usr/local/lib/libXext.so.6
> 0x0000000826a87000 	/usr/local/lib/libXdamage.so.1
> 0x0000000826b89000 	/usr/local/lib/libXfixes.so.3
> 0x0000000826c8e000 	/usr/local/lib/libcairo.so.2
> 0x0000000826e0b000 	/usr/local/lib/libpixman-1.so.9
> 0x0000000826f60000 	/usr/local/lib/libfontconfig.so.1
> 0x000000082708f000 	/usr/local/lib/libfreetype.so.9
> 0x000000082720e000 	/usr/local/lib/libexpat.so.6
> 0x0000000827331000 	/usr/local/lib/libglitz.so.1
> 0x000000082745a000 	/usr/local/lib/libpng.so.5
> 0x0000000827580000 	/usr/local/lib/libxcb-render-util.so.0
> 0x0000000827683000 	/usr/local/lib/libxcb-render.so.0
> 0x000000082778b000 	/usr/local/lib/libXrender.so.1
> 0x0000000827894000 	/usr/local/lib/libX11.so.6
> 0x0000000827ac2000 	/usr/local/lib/libxcb.so.2
> 0x0000000827bdc000 	/usr/local/lib/libXau.so.6
> 0x0000000827cdf000 	/usr/local/lib/libXdmcp.so.6
> 0x0000000827de4000 	/usr/lib/librpcsvc.so.4
> 0x0000000827eed000 	/usr/local/lib/libgdk_pixbuf-2.0.so.0
> 0x0000000828007000 	/usr/local/lib/libgio-2.0.so.0
> 0x0000000828179000 	/usr/local/lib/libgmodule-2.0.so.0
> 0x000000082827c000 	/usr/local/lib/libgtk-x11-2.0.so.0
> 0x000000082874d000 	/usr/local/lib/libatk-1.0.so.0
> 0x000000082886b000 	/usr/local/lib/gtk-2.0/2.10.0/loaders/ 
> libpixbufloader-bmp.so
> 0x0000000828c00000 	/usr/local/diablo-jdk1.6.0/jre/lib/amd64/libnet.so
> 0x0000000828d17000 	/usr/local/diablo-jdk1.6.0/jre/lib/amd64/libnio.so
> 0x000000082a300000 	/mnt/data/home/pim/.eclipse/ 
> org.eclipse.platform_3.4.0_185596441/configuration/org.eclipse.osgi/ 
> bundles/129/1/.cp/libswt-gtk-3452.so
> 0x000000082a445000 	/mnt/data/home/pim/.eclipse/ 
> org.eclipse.platform_3.4.0_185596441/configuration/org.eclipse.osgi/ 
> bundles/129/1/.cp/libswt-pi-gtk-3452.so
> 0x000000082a5b5000 	/usr/local/lib/libgthread-2.0.so.0
> 0x000000082a6b9000 	/usr/local/lib/libXtst.so.6
> 0x000000082a8aa000 	/usr/local/lib/pango/1.6.0/modules/pango-basic- 
> fc.so
> 0x000000082a9cb000 	/usr/local/lib/gtk-2.0/2.10.0/loaders/ 
> libpixbufloader-gif.so
> 0x000000082aad1000 	/usr/local/lib/gtk-2.0/2.10.0/loaders/ 
> libpixbufloader-png.so
> 0x000000082ad00000 	/mnt/data/home/pim/.eclipse/ 
> org.eclipse.platform_3.4.0_185596441/configuration/org.eclipse.osgi/ 
> bundles/23/1/.cp/os/freebsd/x86_64/liblocalfile_1_0_0.so
> 0x000000082c200000 	/mnt/data/home/pim/.eclipse/ 
> org.eclipse.platform_3.4.0_185596441/configuration/org.eclipse.osgi/ 
> bundles/129/1/.cp/libswt-atk-gtk-3452.so
> 0x000000082c307000 	/mnt/data/home/pim/.eclipse/ 
> org.eclipse.platform_3.4.0_185596441/configuration/org.eclipse.osgi/ 
> bundles/129/1/.cp/libswt-cairo-gtk-3452.so
> 0x000000082f000000 	/var/tmp/jna40979.tmp
> 0x0000000800511000 	/libexec/ld-elf.so.1
>
> VM Arguments:
> jvm_args: -Xms40m -Xmx256m -XX:MaxPermSize=256m
> java_command: /usr/local/eclipse//plugins/ 
> org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -os freebsd - 
> ws gtk -arch x86_64 -showsplash -launcher /usr/local/eclipse/eclipse  
> -name Eclipse --launcher.library /usr/local/eclipse//plugins/ 
> org 
> .eclipse.equinox.launcher.gtk.freebsd.x86_64_1.0.101.R34x_v20080731/ 
> eclipse_1116.so -startup /usr/local/eclipse//plugins/ 
> org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -exitdata  
> 3000a -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m - 
> XX:MaxPermSize=256m -jar /usr/local/eclipse//plugins/ 
> org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=/usr/local/diablo-jdk1.6.0
> PATH=/usr/local/bin:.:.:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/ 
> usr/local/sbin:/usr/local/bin:/home/pim/bin:/home/pim/local/bin:/ 
> home/pim/local/bin
> LD_LIBRARY_PATH=/usr/local/diablo-jdk1.6.0/jre/lib/amd64/server:/usr/ 
> local/diablo-jdk1.6.0/jre/lib/amd64:/usr/local/diablo-jdk1.6.0/ 
> jre/../lib/amd64::/usr/local/lib/libxul:/usr/local/lib/libxul
> SHELL=/usr/local/bin/bash
> DISPLAY=:0.0
>
> Signal Handlers:
> SIGSEGV: [libjvm.so+0x617aa0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
> SIGBUS: [libjvm.so+0x617aa0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
> SIGFPE: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
> SIGPIPE: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
> SIGXFSZ: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
> SIGILL: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
> SIGUSR1: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000
> SIGUSR2: [libjvm.so+0x4e3fa0], sa_mask[0]=0x00000000,  
> sa_flags=0x00000042
> SIGHUP: [libjvm.so+0x4e2ca0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
> SIGINT: [libjvm.so+0x4e2ca0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
> SIGTERM: [libjvm.so+0x4e2ca0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
> SIGQUIT: [libjvm.so+0x4e2ca0], sa_mask[0]=0xfffefeff,  
> sa_flags=0x00000042
>
>
> ---------------  S Y S T E M  ---------------
>
> OS:Bsd
> uname:FreeBSD 7.2-STABLE FreeBSD 7.2-STABLE #2: Sat Jun 27 22:30:28  
> BST 2009     root@new.uknet.spacesurfer.com:/usr/obj/usr/src/sys/ 
> PATRICK amd64
> rlimit: STACK 524288k, CORE infinity, NPROC 5547, NOFILE 11095
> CPU:total 8 (8 cores per cpu, 2 threads per core) family 6 model 10  
> stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, ht
>
> Memory: 4k page, physical 5619184k(1404796k free)
>
> vm_info: Diablo Java HotSpot(TM) 64-Bit Server VM (10.0-b23) for bsd- 
> amd64 JRE (1.6.0_07-b02), built on May 12 2008 20:56:50 by "truk"  
> with gcc 4.2.1 20070719  [FreeBSD]
>
> time: Mon Sep 21 18:45:21 2009
> elapsed time: 27 seconds
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E563A87A-B216-477B-BB57-D66171B16765>