Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2010 22:47:04 +0200
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        freebsd-java@freebsd.org
Subject:   Re: NetBeans crashes in openjdk6
Message-ID:  <op.vkdn0qqs8527sy@pinky>
In-Reply-To: <i8t7um$9dp$1@dough.gmane.org>
References:  <i8oajp$pv5$1@dough.gmane.org> <op.vka1tbq38527sy@pinky> <i8t7um$9dp$1@dough.gmane.org>

index | next in thread | previous in thread | raw e-mail


On Sun, 10 Oct 2010 22:33:24 +0200, Ivan Voras <ivoras@freebsd.org> wrote:

> On 10/09/10 12:52, Ronald Klop wrote:
>> Hi,
>>
>> I have no idea about the proble, but you can try running with the -Xint
>> option, so it doesn't use the hotspot compiler. It will run slow, but
>> might work and give others a clue.
>
> It doesn't help :(
>
> Note that it is using the interpreted mode and that it *is* slower as  
> expected, but that the crash is about the same.
>
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x000000080225d714, pid=43864, tid=35029578624
> #
> # JRE version: 6.0-b20
> # Java VM: OpenJDK 64-Bit Server VM (17.0-b16 interpreted mode bsd-amd64  
> )
> # Problematic frame:
> #
> [error occurred during error reporting (printing problematic frame), id  
> 0xb]
>
> # An error report file with more information is saved as:
> # /home/ivoras/hs_err_pid43864.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
> Abort trap (core dumped)
> betelgeuse:~> cat /home/ivoras/hs_err_pid43864.log
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x000000080225d714, pid=43864, tid=35029578624
> #
> # JRE version: 6.0-b20
> # Java VM: OpenJDK 64-Bit Server VM (17.0-b16 interpreted mode bsd-amd64  
> )
> # Problematic frame:
> #
> [error occurred during error reporting (printing problematic frame), id  
> 0xb]
>
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> ---------------  T H R E A D  ---------------
>
> Current thread (0x0000000827aff000):  JavaThread "AWT-EventQueue-1"  
> [_thread_in_Java, id=669840256,  
> stack(0x00007ffffa7e2000,0x00007ffffabe2000)]
>
> siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),  
> si_addr=0x00007fff00000018
>
> Registers:
> RAX=0x00000000ff08f000, RBX=0x0000000806bcc288, RCX=0x00007ffffabe0c2c,  
> RDX=0x0000000000000001
> RSP=0x00007ffffabe0c20, RBP=0x00007fff00000000, RSI=0x0000000000000002,  
> RDI=0x00007ffffabe0c10
> R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x0000000000000000,  
> R11=0x000000080225af1b
> R12=0x0000000827aff000, R13=0x0000000806bcc288, R14=0x00007ffffabe0ca8,  
> R15=0x0000000827aff000
> RIP=0x000000080225d714, EFL=0x0000000000000001, ERR=0x0000000000000004
>    TRAPNO=0x000000000000000c
>
> Top of Stack: (sp=0x00007ffffabe0c20)
> 0x00007ffffabe0c20:   00000000ff08f000 000000080225d506
> 0x00007ffffabe0c30:   0000000000000000 000000080225d668
> 0x00007ffffabe0c40:   000000010000000c 00007ffffabe0c48
> 0x00007ffffabe0c50:   0000000806bcc288 00007ffffabe0ca8
> 0x00007ffffabe0c60:   0000000806bcd988 0000000000000000
> 0x00007ffffabe0c70:   0000000806bcc288 0000000000000000
> 0x00007ffffabe0c80:   00007ffffabe0ca8 00007ffffabe0d10
> 0x00007ffffabe0c90:   000000080224d3eb 0000000000000000
> 0x00007ffffabe0ca0:   000000080225af17 000000081ff1eac8
> 0x00007ffffabe0cb0:   0000000800001fa2 000000080224d369
> 0x00007ffffabe0cc0:   00007ffffabe0f90 0000000000000001
> 0x00007ffffabe0cd0:   0000000827aff000 0000000827a9c870
> 0x00007ffffabe0ce0:   00007ffffabe0d60 00007ffffabe10a8
> 0x00007ffffabe0cf0:   000000080000000b 0000000806bcc288
> 0x00007ffffabe0d00:   000000080225d400 00007ffffabe0f98
> 0x00007ffffabe0d10:   00007ffffabe0e00 0000000801214fb8
> 0x00007ffffabe0d20:   0000000800000001 0000000827aff000
> 0x00007ffffabe0d30:   0000000827a9c8e8 00007ffffabe0d60
> 0x00007ffffabe0d40:   00007ffffabe0da0 00007ffffabe10a8
> 0x00007ffffabe0d50:   000000080225d400 00007fff0000000b
> 0x00007ffffabe0d60:   0000000827aff000 00000008292469c0
> 0x00007ffffabe0d70:   0000000806bcc288 000000081ff1eac8
> 0x00007ffffabe0d80:   00007ffffabe11f0 000000080225d63b
> 0x00007ffffabe0d90:   00007ffffabe1248 00007ffffabe10a0
> 0x00007ffffabe0da0:   0000000827aff000 00000008292476d0
> 0x00007ffffabe0db0:   0000000827a9c800 0000000827a9c878
> 0x00007ffffabe0dc0:   0000000827a9cbe8 00007ffffabe1a60
> 0x00007ffffabe0dd0:   00007ffffabe0df0 0000000000000001
> 0x00007ffffabe0de0:   00007ffffabe10a0 0000000827a9c860
> 0x00007ffffabe0df0:   0000000827a9c840 0000000827a9c868
> 0x00007ffffabe0e00:   00007ffffabe0e20 0000000801213f58
> 0x00007ffffabe0e10:   0000000827a9c858 0000000827a9c870
>
> Instructions: (pc=0x000000080225d714)
> 0x000000080225d704:   00 00 00 00 00 00 49 bb 1b af 25 02 08 00 00 00
> 0x000000080225d714:   4c 3b 5d 18 0f 85 20 00 00 00 48 8b 04 24 48 83
>
> Stack: [0x00007ffffa7e2000,0x00007ffffabe2000],  sp=0x00007ffffabe0c20,  
>   free space=ffb0000000000000001k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,  
> C=native code)
>
> [error occurred during error reporting (printing native stack), id 0xb]
>
>
> ---------------  P R O C E S S  ---------------
>
> Java Threads: ( => current thread )
>    0x000000082a4dd000 JavaThread "Inactive RequestProcessor thread  
> [Was:Default  
> RequestProcessor/org.netbeans.modules.localhistory.LocalHistory$2$1]"  
> daemon [_thread_blocked, id=697666240,  
> stack(0x00007ffff9bdf000,0x00007ffff9fdf000)]
>    0x0000000801cf2800 JavaThread "DestroyJavaVM" [_thread_blocked,  
> id=12627520, stack(0x00007fffff7ff000,0x00007fffffbff000)]
>    0x0000000827afe000 JavaThread "Flushing caches" [_thread_blocked,  
> id=717267456, stack(0x00007ffff9fe0000,0x00007ffffa3e0000)]
>    0x0000000829fb1800 JavaThread "Image Fetcher 0" daemon  
> [_thread_blocked, id=691869056,  
> stack(0x00007ffffa3e1000,0x00007ffffa7e1000)]
> =>0x0000000827aff000 JavaThread "AWT-EventQueue-1" [_thread_in_Java,  
> id=669840256, stack(0x00007ffffa7e2000,0x00007ffffabe2000)]
>    0x0000000827aff800 JavaThread "TimerQueue" daemon [_thread_blocked,  
> id=691870400, stack(0x00007ffffabe3000,0x00007ffffafe3000)]
>    0x0000000827b00800 JavaThread "Thread-2" daemon [_thread_blocked,  
> id=669842496, stack(0x00007ffffafe4000,0x00007ffffb3e4000)]
>    0x0000000827b01000 JavaThread "Default RequestProcessor" daemon  
> [_thread_in_native, id=669845632,  
> stack(0x00007ffffb3e5000,0x00007ffffb7e5000)]
>    0x0000000827b06800 JavaThread "AWT-Shutdown" [_thread_blocked,  
> id=669859072, stack(0x00007ffffbbe7000,0x00007ffffbfe7000)]
>    0x0000000827b08000 JavaThread "AWT-XAWT" daemon [_thread_in_native,  
> id=669861312, stack(0x00007ffffbfe8000,0x00007ffffc3e8000)]
>    0x0000000827b08800 JavaThread "Java2D Disposer" daemon  
> [_thread_blocked, id=669864448,  
> stack(0x00007ffffc3e9000,0x00007ffffc7e9000)]
>    0x0000000801ce9800 JavaThread "Inactive RequestProcessor thread  
> [Was:Load Open  
> Projects/org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects]"  
> daemon [_thread_blocked, id=647356288,  
> stack(0x00007ffffcbeb000,0x00007ffffcfeb000)]
>    0x0000000801cea800 JavaThread "CLI Requests Server" daemon  
> [_thread_in_native, id=647358528,  
> stack(0x00007ffffcfec000,0x00007ffffd3ec000)]
>    0x0000000801cec000 JavaThread "Active Reference Queue Daemon" daemon  
> [_thread_blocked, id=647360768,  
> stack(0x00007ffffd3ed000,0x00007ffffd7ed000)]
>    0x0000000801cec800 JavaThread "Timer-0" daemon [_thread_blocked,  
> id=647363008, stack(0x00007ffffd7ee000,0x00007ffffdbee000)]
>    0x0000000801ced800 JavaThread "Low Memory Detector" daemon  
> [_thread_blocked, id=647367488,  
> stack(0x00007ffffdcf0000,0x00007ffffe0f0000)]
>    0x0000000801cee000 JavaThread "CompilerThread1" daemon  
> [_thread_blocked, id=647369728,  
> stack(0x00007ffffe0f1000,0x00007ffffe1f1000)]
>    0x0000000801cef000 JavaThread "CompilerThread0" daemon  
> [_thread_blocked, id=647371968,  
> stack(0x00007ffffe1f2000,0x00007ffffe2f2000)]
>    0x0000000801cef800 JavaThread "Signal Dispatcher" daemon  
> [_thread_blocked, id=647374208,  
> stack(0x00007ffffe2f3000,0x00007ffffe6f3000)]
>    0x0000000801cf0800 JavaThread "Finalizer" daemon [_thread_blocked,  
> id=29610880, stack(0x00007ffffe6f4000,0x00007ffffeaf4000)]
>    0x0000000801cf2000 JavaThread "Reference Handler" daemon  
> [_thread_blocked, id=29613120,  
> stack(0x00007ffffeaf5000,0x00007ffffeef5000)]
>
> Other Threads:
>    0x0000000801d2b000 VMThread [stack:  
> 0x00007ffffeef6000,0x00007ffffeff6000] [id=29615360]
>    0x0000000801d2a800 WatcherThread [stack:  
> 0x00007ffffdbef000,0x00007ffffdcef000] [id=647365696]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
>   PSYoungGen      total 16768K, used 9568K [0x00000008237b0000,  
> 0x0000000824e10000, 0x0000000826250000)
>    eden space 11008K, 58% used  
> [0x00000008237b0000,0x0000000823df2758,0x0000000824270000)
>    from space 5760K, 54% used  
> [0x0000000824870000,0x0000000824b85a90,0x0000000824e10000)
>    to   space 5952K, 0% used  
> [0x0000000824270000,0x0000000824270000,0x0000000824840000)
>   PSOldGen        total 43712K, used 30792K [0x000000081e250000,  
> 0x0000000820d00000, 0x00000008237b0000)
>    object space 43712K, 70% used  
> [0x000000081e250000,0x0000000820062380,0x0000000820d00000)
>   PSPermGen       total 65536K, used 32866K [0x0000000805250000,  
> 0x0000000809250000, 0x000000081e250000)
>    object space 65536K, 50% used  
> [0x0000000805250000,0x0000000807268a58,0x0000000809250000)
>
> Dynamic libraries:
> 0x0000000000400000 	/usr/local/openjdk6/bin/java
> 0x0000000800650000 	/lib/libz.so.5
> 0x0000000800765000 	/lib/libthr.so.3
> 0x000000080087e000 	/lib/libc.so.7
> 0x0000000800e00000 	/usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
> 0x0000000801840000 	/usr/lib/libstdc++.so.6
> 0x0000000800abf000 	/lib/libm.so.5
> 0x0000000801a50000 	/lib/libgcc_s.so.1
> 0x0000000801e00000 	/usr/local/openjdk6/jre/lib/amd64/libverify.so
> 0x0000000801f0f000 	/usr/local/openjdk6/jre/lib/amd64/libjava.so
> 0x000000080203a000  
> /usr/local/openjdk6/jre/lib/amd64/native_threads/libhpi.so
> 0x0000000802146000 	/usr/local/openjdk6/jre/lib/amd64/libzip.so
> 0x0000000827c00000 	/usr/local/openjdk6/jre/lib/amd64/libnet.so
> 0x0000000828000000 	/usr/local/openjdk6/jre/lib/amd64/libawt.so
> 0x00000008281c7000 	/usr/local/openjdk6/jre/lib/amd64/xawt/libmawt.so
> 0x0000000828316000 	/usr/local/lib/libXext.so.6
> 0x0000000828427000 	/usr/local/lib/libX11.so.6
> 0x0000000828659000 	/usr/local/lib/libXtst.so.6
> 0x000000082875f000 	/usr/local/lib/libXi.so.6
> 0x000000082886d000 	/usr/local/lib/libxcb.so.2
> 0x0000000828988000 	/usr/local/lib/libXau.so.6
> 0x0000000828a8b000 	/usr/local/lib/libXdmcp.so.6
> 0x0000000828b90000 	/usr/local/lib/libpthread-stubs.so.0
> 0x0000000828c91000 	/usr/lib/librpcsvc.so.5
> 0x0000000828d9a000 	/usr/local/openjdk6/jre/lib/amd64/libfontmanager.so
> 0x0000000828ee6000 	/usr/local/lib/libfreetype.so.9
> 0x0000000829607000 	/usr/local/openjdk6/jre/lib/amd64/liblcms.so
> 0x0000000829a00000 	/usr/local/openjdk6/jre/lib/amd64/libjpeg.so
> 0x0000000829071000 	/usr/local/lib/libXcursor.so.1
> 0x0000000829400000 	/usr/local/lib/libXrender.so.1
> 0x0000000829b2f000 	/usr/local/lib/libXfixes.so.3
> 0x0000000829c34000 	/usr/local/openjdk6/jre/lib/amd64/libnio.so
> 0x000000082a292000 	/usr/local/openjdk6/jre/lib/amd64/libmanagement.so
> 0x000000080050a000 	/libexec/ld-elf.so.1
>
> VM Arguments:
> jvm_args: -Djdk.home=/usr/local/openjdk6  
> -Dnetbeans.dirs=/usr/local/netbeans68/nb6.8:/usr/local/netbeans68/ergonomics2:/usr/local/netbeans68/ide12:/usr/local/netbeans68/java3:/usr/local/netbeans68/bin/../xml2:/usr/local/netbeans68/apisupport1:/usr/local/netbeans68/bin/../webcommon1:/usr/local/netbeans68/websvccommon1:/usr/local/netbeans68/enterprise6:/usr/local/netbeans68/mobility8:/usr/local/netbeans68/profiler3:/usr/local/netbeans68/ruby2:/usr/local/netbeans68/bin/../python1:/usr/local/netbeans68/php1:/usr/local/netbeans68/bin/../visualweb2:/usr/local/netbeans68/bin/../soa2:/usr/local/netbeans68/identity2:/usr/local/netbeans68/bin/../uml6:/usr/local/netbeans68/harness:/usr/local/netbeans68/cnd3:/usr/local/netbeans68/dlight2:/usr/local/netbeans68/groovy2:/usr/local/netbeans68/bin/../extra:/usr/local/netbeans68/bin/../javafx2:/usr/local/netbeans68/bin/../javacard1:  
> -Dnetbeans.home=/usr/local/netbeans68/platform11  
> -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade  
> -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense  
> -Xmx128m -Xverify:none -Xint -Xss4m -Xms64m -XX:PermSize=64m  
> -XX:MaxPermSize=400m -Dapple.laf.useScreenMenuBar=true  
> -Dsun.java2d.noddraw=true -XX:+HeapDumpOnOutOfMemoryError  
> -XX:HeapDumpPath=/home/ivoras/.netbeans/6.8/var/log/heapdump.hprof
> java_command: org.netbeans.Main --userdir /home/ivoras/.netbeans/6.8  
> --branding nb
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/ivoras/bin:/usr/local/kde4/bin
> LD_LIBRARY_PATH=/usr/local/openjdk6/jre/lib/amd64/server:/usr/local/openjdk6/jre/lib/amd64:/usr/local/openjdk6/jre/../lib/amd64
> SHELL=/bin/tcsh
> DISPLAY=:0.0
> HOSTTYPE=FreeBSD
> OSTYPE=FreeBSD
> MACHTYPE=unknown
>
> Signal Handlers:
> SIGSEGV: [libjvm.so+0x740a70], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
> SIGBUS: [libjvm.so+0x740a70], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
> SIGFPE: [libjvm.so+0x5f9140], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
> SIGPIPE: [libjvm.so+0x5f9140], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
> SIGXFSZ: [libjvm.so+0x5f9140], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
> SIGILL: [libjvm.so+0x5f9140], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
> SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002
> SIGUSR2: [libjvm.so+0x5fbc30], sa_mask[0]=0x00000000, sa_flags=0x00000042
> SIGHUP: [libjvm.so+0x5fa610], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
> SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
> SIGTERM: [libjvm.so+0x5fa610], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
> SIGQUIT: [libjvm.so+0x5fa610], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>
>
> ---------------  S Y S T E M  ---------------
>
> OS:Bsd
> uname:FreeBSD 8.1-STABLE FreeBSD 8.1-STABLE #6: Wed Sep 29 21:49:49 CEST  
> 2010     ivoras@betelgeuse.cosmos:/usr/obj/usr/src/sys/GENERIC amd64
> rlimit: STACK 524288k, CORE infinity, NPROC 5547, NOFILE 11095
> CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 23  
> stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1
>
> Memory: 4k page, physical 3511892k(877973k free)
>
> vm_info: OpenJDK 64-Bit Server VM (17.0-b16) for bsd-amd64 JRE  
> (1.6.0-b20), built on Oct  9 2010 00:34:50 by "ivoras" with gcc 4.2.1  
> 20070719  [FreeBSD]
>
> time: Sun Oct 10 22:30:30 2010
> elapsed time: 34 seconds
>
>
> _______________________________________________
> freebsd-java@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"


Can you rebuild openjdk6 with DEBUG=yes?
cd /usr/ports/java/openjdk6
make config
-> select DEBUG
<reinstall the port>

That might give some info in stead of:
> [error occurred during error reporting (printing native stack), id 0xb]

NB: I'm not into the inner workings of the jdk, so this might not be  
helpful, but it sounds to me as an good option to try.

Ronald.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.vkdn0qqs8527sy>