From owner-freebsd-java@FreeBSD.ORG Sat Oct 9 10:52:17 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABBEC106564A for ; Sat, 9 Oct 2010 10:52:17 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from fep12.mx.upcmail.net (fep12.mx.upcmail.net [62.179.121.32]) by mx1.freebsd.org (Postfix) with ESMTP id 2338D8FC14 for ; Sat, 9 Oct 2010 10:52:16 +0000 (UTC) Received: from edge05.upcmail.net ([192.168.13.212]) by viefep12-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20101009105215.JIBI1480.viefep12-int.chello.at@edge05.upcmail.net> for ; Sat, 9 Oct 2010 12:52:15 +0200 Received: from pinky ([213.46.23.80]) by edge05.upcmail.net with edge id GasD1f00R1jgp3H05asEDB; Sat, 09 Oct 2010 12:52:15 +0200 X-SourceIP: 213.46.23.80 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-java@freebsd.org References: Date: Sat, 09 Oct 2010 12:52:13 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/10.62 (Win32) X-Cloudmark-Analysis: v=1.1 cv=BBXmjR/jrMMj1wHBsuD7Cdv69cLzNztNz9uR8CXiauo= c=1 sm=0 a=bgpUlknNv7MA:10 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=cexIBkohAAAA:8 a=Ab0ZGvI_bZeB9sRpn3IA:9 a=PG7q7rrBKlFjGT9ggdMA:7 a=jFdMPj2RxYw9EL62lKSmzaxb-6MA:4 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Subject: Re: NetBeans crashes in openjdk6 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2010 10:52:17 -0000 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. Ronald. On Sat, 09 Oct 2010 01:48:08 +0200, Ivan Voras wrote: > I've just rebuilt my whole desktop system cleanly from scratch, > including openjdk6 and NetBeans 6.8 crashes on startup with 100% > reliability. Openjdk6 was built with default options. > > Removing ~/.netbeans doesn't help. > > Any ideas how to make it work again? > > The debug file contains: > > # > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x000000080225dd34, pid=22028, tid=35064510080 > # > # JRE version: 6.0-b20 > # Java VM: OpenJDK 64-Bit Server VM (17.0-b16 mixed 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 (0x0000000827da2800): JavaThread "AWT-EventQueue-1" > [_thread_in_Java, id=704771712, > stack(0x00007ffffa7e2000,0x00007ffffabe2000)] > > siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), > si_addr=0x00007fff00000018 > > Registers: > RAX=0x00000000ff08f000, RBX=0x0000000806d023a0, RCX=0x00007ffffabe0e2c, > RDX=0x0000000000000001 > RSP=0x00007ffffabe0e20, RBP=0x00007fff00000000, RSI=0x0000000000000002, > RDI=0x00007ffffabe0e10 > R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x0000000000000000, > R11=0x000000080225af1b > R12=0x0000000827da2800, R13=0x0000000806d023a0, R14=0x00007ffffabe0ea8, > R15=0x0000000827da2800 > RIP=0x000000080225dd34, EFL=0x0000000000000001, ERR=0x0000000000000004 > TRAPNO=0x000000000000000c > > Top of Stack: (sp=0x00007ffffabe0e20) > 0x00007ffffabe0e20: 00000000ff08f000 000000080225db26 > 0x00007ffffabe0e30: 000000003f400000 000000080225dc88 > 0x00007ffffabe0e40: 000000010000000c 00007ffffabe0e48 > 0x00007ffffabe0e50: 0000000806d023a0 00007ffffabe0ea8 > 0x00007ffffabe0e60: 0000000806d03aa0 0000000000000000 > 0x00007ffffabe0e70: 0000000806d023a0 0000000000000000 > 0x00007ffffabe0e80: 00007ffffabe0ea8 00007ffffabe0f10 > 0x00007ffffabe0e90: 000000080224d3eb 0000000000000000 > 0x00007ffffabe0ea0: 000000080225af17 000000081f2a1cd0 > 0x00007ffffabe0eb0: 0000000800001fa2 000000080224d369 > 0x00007ffffabe0ec0: 00007ffffabe1190 0000000000000001 > 0x00007ffffabe0ed0: 0000000827da2800 0000000827ced470 > 0x00007ffffabe0ee0: 00007ffffabe0f60 00007ffffabe12a8 > 0x00007ffffabe0ef0: 000000080000000b 0000000806d023a0 > 0x00007ffffabe0f00: 000000080225da00 00007ffffabe1198 > 0x00007ffffabe0f10: 00007ffffabe1000 0000000801214fb8 > 0x00007ffffabe0f20: 0000000800000001 0000000827da2800 > 0x00007ffffabe0f30: 0000000827ced4e8 00007ffffabe0f60 > 0x00007ffffabe0f40: 00007ffffabe0fa0 00007ffffabe12a8 > 0x00007ffffabe0f50: 000000080225da00 000000080000000b > 0x00007ffffabe0f60: 0000000827da2800 0000000826b97880 > 0x00007ffffabe0f70: 0000000806d023a0 000000081f2a1cd0 > 0x00007ffffabe0f80: 00007ffffabe13f0 000000080225dc5b > 0x00007ffffabe0f90: 00007ffffabe1448 00007ffffabe12a0 > 0x00007ffffabe0fa0: 0000000827da2800 000000082b74ddf0 > 0x00007ffffabe0fb0: 0000000827ced400 0000000827ced478 > 0x00007ffffabe0fc0: 0000000827ced7e8 00007ffffabe1c60 > 0x00007ffffabe0fd0: 00007ffffabe0ff0 0000000000000001 > 0x00007ffffabe0fe0: 00007ffffabe12a0 0000000827ced460 > 0x00007ffffabe0ff0: 0000000827ced440 0000000827ced468 > 0x00007ffffabe1000: 00007ffffabe1020 0000000801213f58 > 0x00007ffffabe1010: 0000000827ced458 0000000827ced470 > > Instructions: (pc=0x000000080225dd34) > 0x000000080225dd24: 00 00 00 00 00 00 49 bb 1b af 25 02 08 00 00 00 > 0x000000080225dd34: 4c 3b 5d 18 0f 85 20 00 00 00 48 8b 04 24 48 83 > > Stack: [0x00007ffffa7e2000,0x00007ffffabe2000], sp=0x00007ffffabe0e20, > 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 ) > 0x000000082c303000 JavaThread "Parsing & Indexing Loop > (200912041610)" daemon [_thread_in_vm, id=740966912, > stack(0x00007ffff73d5000,0x00007ffff77d5000)] > 0x0000000827129000 JavaThread "Inactive RequestProcessor thread > [Was:JarFs - modification > watcher/org.openide.filesystems.JarFileSystem$2]" daemon > [_thread_blocked, id=653789120, > stack(0x00007ffff77d6000,0x00007ffff7bd6000)] > 0x0000000831d97000 JavaThread "Load Open Projects" daemon > [_thread_in_native, id=731120640, > stack(0x00007ffff7bd7000,0x00007ffff7fd7000)] > 0x00000008308ed000 JavaThread "Path Registry Request Processor" > daemon [_thread_blocked, id=814729920, > stack(0x00007ffff87da000,0x00007ffff8bda000)] > 0x0000000831d98000 JavaThread "Subversion - ANY_URL" daemon > [_thread_blocked, id=731122880, > stack(0x00007ffff8bdb000,0x00007ffff8fdb000)] > 0x0000000831d98800 JavaThread "Default RequestProcessor" daemon > [_thread_blocked, id=731123328, > stack(0x00007ffff97de000,0x00007ffff9bde000)] > 0x0000000801cf2800 JavaThread "DestroyJavaVM" [_thread_blocked, > id=12627520, stack(0x00007fffff7ff000,0x00007fffffbff000)] > 0x0000000827da2000 JavaThread "Flushing caches" [_thread_blocked, > id=704769472, stack(0x00007ffff9bdf000,0x00007ffff9fdf000)] > 0x00000008277ed800 JavaThread "Image Fetcher 0" daemon > [_thread_blocked, id=653901440, > stack(0x00007ffff9fe0000,0x00007ffffa3e0000)] > 0x0000000831d99800 JavaThread "MercurialRefresh" daemon > [_thread_blocked, id=731123776, > stack(0x00007ffffa3e1000,0x00007ffffa7e1000)] > =>0x0000000827da2800 JavaThread "AWT-EventQueue-1" [_thread_in_Java, > id=704771712, stack(0x00007ffffa7e2000,0x00007ffffabe2000)] > 0x0000000827da3800 JavaThread "TimerQueue" daemon [_thread_blocked, > id=704773952, stack(0x00007ffffabe3000,0x00007ffffafe3000)] > 0x0000000827da4000 JavaThread "Inactive RequestProcessor thread > [Was:Default > RequestProcessor/org.netbeans.modules.parsing.impl.Installer$1$1]" > daemon [_thread_blocked, id=704774400, > stack(0x00007ffffafe4000,0x00007ffffb3e4000)] > 0x0000000827da5000 JavaThread "Thread-2" daemon [_thread_blocked, > id=704776640, stack(0x00007ffffb3e5000,0x00007ffffb7e5000)] > 0x0000000827da6800 JavaThread "AWT-Shutdown" [_thread_blocked, > id=704781120, stack(0x00007ffffbbe7000,0x00007ffffbfe7000)] > 0x0000000827da8000 JavaThread "AWT-XAWT" daemon [_thread_in_native, > id=704782912, stack(0x00007ffffbfe8000,0x00007ffffc3e8000)] > 0x0000000827da8800 JavaThread "Java2D Disposer" daemon > [_thread_blocked, id=704786048, > stack(0x00007ffffc3e9000,0x00007ffffc7e9000)] > 0x0000000801ce9800 JavaThread "Inactive RequestProcessor thread > [Was:Mercurial.cacheNG/org.netbeans.modules.mercurial.FileStatusCacheNewGeneration$1]" > 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_in_vm, 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 34752K, used 21228K [0x00000008237b0000, > 0x0000000826250000, 0x0000000826250000) > eden space 26816K, 49% used > [0x00000008237b0000,0x00000008244ade08,0x00000008251e0000) > from space 7936K, 99% used > [0x00000008251e0000,0x000000082599d378,0x00000008259a0000) > to space 8896K, 0% used > [0x00000008259a0000,0x00000008259a0000,0x0000000826250000) > PSOldGen total 69056K, used 40479K [0x000000081e250000, > 0x00000008225c0000, 0x00000008237b0000) > object space 69056K, 58% used > [0x000000081e250000,0x00000008209d7e40,0x00000008225c0000) > PSPermGen total 106624K, used 58052K [0x0000000805250000, > 0x000000080ba70000, 0x000000081e250000) > object space 106624K, 54% used > [0x0000000805250000,0x0000000808b01c48,0x000000080ba70000) > > 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 > 0x0000000827e00000 /usr/local/openjdk6/jre/lib/amd64/libnet.so > 0x0000000827f14000 /usr/local/openjdk6/jre/lib/amd64/libnio.so > 0x000000082801c000 /usr/local/openjdk6/jre/lib/amd64/libawt.so > 0x000000082a200000 /usr/local/openjdk6/jre/lib/amd64/xawt/libmawt.so > 0x000000082a34f000 /usr/local/lib/libXext.so.6 > 0x000000082a460000 /usr/local/lib/libX11.so.6 > 0x000000082a692000 /usr/local/lib/libXtst.so.6 > 0x000000082a798000 /usr/local/lib/libXi.so.6 > 0x000000082a8a6000 /usr/local/lib/libxcb.so.2 > 0x000000082a9c1000 /usr/local/lib/libXau.so.6 > 0x000000082aac4000 /usr/local/lib/libXdmcp.so.6 > 0x000000082abc9000 /usr/local/lib/libpthread-stubs.so.0 > 0x000000082acca000 /usr/lib/librpcsvc.so.5 > 0x000000082add3000 /usr/local/openjdk6/jre/lib/amd64/libfontmanager.so > 0x000000082af1f000 /usr/local/lib/libfreetype.so.9 > 0x000000082b0aa000 /usr/local/openjdk6/jre/lib/amd64/liblcms.so > 0x000000082ba00000 /usr/local/openjdk6/jre/lib/amd64/libjpeg.so > 0x000000082b1e3000 /usr/local/lib/libXcursor.so.1 > 0x000000082bb2f000 /usr/local/lib/libXrender.so.1 > 0x000000082bc38000 /usr/local/lib/libXfixes.so.3 > 0x000000082bedb000 /usr/local/openjdk6/jre/lib/amd64/libmanagement.so > 0x000000082e600000 /usr/local/openjdk6/jre/lib/amd64/libmlib_image.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 -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 3135096k(783774k 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: Sat Oct 9 01:43:13 2010 > elapsed time: 19 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"