From owner-freebsd-java@FreeBSD.ORG Mon Dec 26 11:02:22 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F70E16A41F for ; Mon, 26 Dec 2005 11:02:22 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5016D43D66 for ; Mon, 26 Dec 2005 11:02:22 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBQB2KBM018126 for ; Mon, 26 Dec 2005 11:02:20 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBQB2JVt018120 for freebsd-java@freebsd.org; Mon, 26 Dec 2005 11:02:19 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 26 Dec 2005 11:02:19 GMT Message-Id: <200512261102.jBQB2JVt018120@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 26 Dec 2005 11:02:22 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/05/19] ports/81272 java JDK 1.5 port doesn't build. f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing o [2005/09/29] java/86700 java SIGSEGV in native jdk15 o [2005/12/21] java/90743 java jdk-1.5.0p2_3 compilation failure 7 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters o [2005/09/02] ports/85626 java java/jdk15 compile error o [2005/10/01] java/86804 java [PATCH] Install a desktop icon for the ja o [2005/10/17] java/87552 java Enable multi-job builds for CPP files in 7 problems total. From owner-freebsd-java@FreeBSD.ORG Tue Dec 27 14:44:34 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1095D16A41F for ; Tue, 27 Dec 2005 14:44:34 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id D665143D5E for ; Tue, 27 Dec 2005 14:44:31 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.1.5] (unknown [61.144.137.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id A44D838CB41 for ; Tue, 27 Dec 2005 22:44:26 +0800 (CST) Message-ID: <43B15343.5@gddsn.org.cn> Date: Tue, 27 Dec 2005 22:44:19 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051212) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: java Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: Subject: getLocation() problem when using -Dawt.toolkit=sun.awt.X11.XToolkit under JDK1.5.0-p2 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: Tue, 27 Dec 2005 14:44:34 -0000 hi, When JFrame resize, JFrame.getLocation() will return same location. using MToolkit or using JDK1.4.2 do not have this problem. there is the little samples: #cat WelcomeFrame.java import java.awt.*; import java.awt.event.*; import javax.swing.*; public class WelcomeFrame extends JFrame { JPanel contentPane; BorderLayout borderLayout1 = new BorderLayout(); JMenuBar jMenuBar1 = new JMenuBar(); JMenu jMenuFile = new JMenu(); JMenuItem jMenuFileExit = new JMenuItem(); JMenu jMenuHelp = new JMenu(); JMenuItem jMenuHelpAbout = new JMenuItem(); /** * Construct the frame */ public WelcomeFrame() { enableEvents(AWTEvent.WINDOW_EVENT_MASK); try { jbInit(); } catch (Exception e) { e.printStackTrace(); } } /** * Component initialization * * @throws Exception exception */ private void jbInit() throws Exception { contentPane = (JPanel) this.getContentPane(); contentPane.setLayout(borderLayout1); this.setTitle("Welcome to JBuilder"); this.addComponentListener(new ComponentAdapter() { public void componentResized(ComponentEvent e) { this_componentResized(e); } }); this.setJMenuBar(jMenuBar1); this.setSize(new Dimension(400, 300)); jMenuFile.setText("File"); jMenuFileExit.setText("Exit"); jMenuFileExit.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jMenuFileExit_actionPerformed(e); } }); jMenuFile.add(jMenuFileExit); jMenuHelp.setText("Help"); jMenuHelpAbout.setText("About"); jMenuHelpAbout.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jMenuHelpAbout_actionPerformed(e); } }); jMenuHelp.add(jMenuHelpAbout); jMenuBar1.add(jMenuFile); jMenuBar1.add(jMenuHelp); } /** * Overridden so we can exit when window is closed * * @param e WindowEvent */ protected void processWindowEvent(WindowEvent e) { super.processWindowEvent(e); if (e.getID() == WindowEvent.WINDOW_CLOSING) { System.exit(0); } } /** * File | Exit action performed * * @param e ActionEvent */ public void jMenuFileExit_actionPerformed(ActionEvent e) { System.exit(0); } /** * Help | About action performed * * @param e ActionEvent */ public void jMenuHelpAbout_actionPerformed(ActionEvent e) { } public void this_componentResized(ComponentEvent e) { if(this.isShowing()){ System.out.println("JFrame location: " + this.getLocation()); System.out.println("JFrame locationOnScreen: " + this.getLocationOnScreen()); } } } #cat WelcomeApp.java import java.awt.*; import javax.swing.UIManager; public class WelcomeApp { boolean packFrame = false; /** * Construct the application */ public WelcomeApp() { WelcomeFrame frame = new WelcomeFrame(); //Pack frames that have useful preferred size info, e.g. from their layout //Validate frames that have preset sizes if (packFrame) frame.pack(); else frame.validate(); // Center the frame Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Dimension frameSize = frame.getSize(); if (frameSize.height > screenSize.height) frameSize.height = screenSize.height; if (frameSize.width > screenSize.width) frameSize.width = screenSize.width; frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2); frame.setVisible(true); } /** * Main method * * @param args String[] */ static public void main(String[] args) { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) { e.printStackTrace(); } new WelcomeApp(); } } output: JFrame location: java.awt.Point[x=600,y=450] JFrame locationOnScreen: java.awt.Point[x=600,y=450] JFrame location: java.awt.Point[x=600,y=450] JFrame locationOnScreen: java.awt.Point[x=0,y=34] JFrame location: java.awt.Point[x=600,y=450] JFrame locationOnScreen: java.awt.Point[x=600,y=450] From owner-freebsd-java@FreeBSD.ORG Wed Dec 28 12:45:25 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CF6A16A41F for ; Wed, 28 Dec 2005 12:45:25 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D4BF43D67 for ; Wed, 28 Dec 2005 12:45:24 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.168.71] (unknown [211.96.21.221]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id 2D53138CB41 for ; Wed, 28 Dec 2005 20:45:20 +0800 (CST) Message-ID: <43B288DC.9040008@gddsn.org.cn> Date: Wed, 28 Dec 2005 20:45:16 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051212) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: java Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: Subject: jdk1.5.0-p2 crash on EMT64 box. 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: Wed, 28 Dec 2005 12:45:25 -0000 hi, I try to use jdk1.5.0-p2 on EMT64 box, got this problem: #/usr/local/jdk1.5.0/bin/java_g -Djava.awt.headless=true -Xmx256m -jar Wave2Gif.jar o497 Prefetch === o781 o103 o496 [[o458 327 ]] --N: o497 Prefetch === o781 o103 o496 [[o458 327 ]] --N: o496 AddP === _ o464 o467 o495 [[o497 ]] ANY_REGP 115 addP_rReg_imm RREGP 115 addP_rReg_imm NO_RAX_REGP 115 addP_rReg_imm NO_RAX_RBX_REGP 115 addP_rReg_imm RAX_REGP 115 addP_rReg_imm RBX_REGP 115 addP_rReg_imm RSI_REGP 115 addP_rReg_imm RDI_REGP 115 addP_rReg_imm RBP_REGP 115 addP_rReg_imm INDIRECT 115 addP_rReg_imm INDOFFSET32 15 INDOFFSET32 INDINDEX 80 INDINDEX STACKSLOTP 215 storeSSP MEMORY 15 INDOFFSET32 __intop0 70 __intop0 --N: o467 AddP === _ o1 o464 o466 [[o468 o473 o496 ]] ANY_REGP 0 ANY_REGP RREGP 0 RREGP NO_RAX_REGP 0 NO_RAX_REGP NO_RAX_RBX_REGP 0 NO_RAX_RBX_REGP RAX_REGP 0 RAX_REGP RBX_REGP 0 RBX_REGP RSI_REGP 0 RSI_REGP RDI_REGP 0 RDI_REGP RBP_REGP 0 RBP_REGP INDIRECT 0 INDIRECT STACKSLOTP 100 storeSSP MEMORY 0 INDIRECT --N: o495 ConL === o0 [[o496 ]] #long:256 IMML 20 IMML IMMUL32 10 IMMUL32 IMML32 15 IMML32 RREGL 70 loadConUL32 NO_RAX_RDX_REGL 70 loadConUL32 NO_RAX_REGL 70 loadConUL32 RAX_REGL 70 loadConUL32 RDX_REGL 70 loadConUL32 STACKSLOTL 170 storeSSL # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/matcher.cpp:1326] # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (/usr/ports/java/jdk15/work/hotspot/src/share/vm/opto/matcher.cpp, 1326), pid=50765, tid=0x6f5200 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-hwh_28_dec_2005_15_28-debug mixed mode) # # Error: assert(v_false,"bad AD file") # An error report file with more information is saved as hs_err_pid50765.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # Current thread is 0x6f5200 Dumping core ... Abort trap (core dumped) wfdb2# gdb -core java_g.core /usr/local/jdk1.5.0/bin/java_g GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Core was generated by `java_g'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/libthr.so.2...done. Loaded symbols for /usr/lib/libthr.so.2 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm_g.so Reading symbols from /usr/lib/libstdc++.so.5...done. Loaded symbols for /usr/lib/libstdc++.so.5 Reading symbols from /lib/libm.so.4...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libverify_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libverify_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libjava_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libjava_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libzip_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libzip_g.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x000000080079f89c in thr_kill () from /lib/libc.so.6 [New Thread 0x6f5a00 (LWP 100456)] [New Thread 0x6f5600 (LWP 100452)] [New Thread 0x6f5200 (LWP 100451)] [New Thread 0x6d4e00 (LWP 100450)] [New Thread 0x6d4a00 (LWP 100376)] [New Thread 0x6d4600 (LWP 100335)] [New Thread 0x6c6a00 (LWP 100318)] [New Thread 0x6c6400 (LWP 100250)] [New Thread 0x6c3000 (LWP 100242)] [New Thread 0x514000 (LWP 100271)] (gdb) bt #0 0x000000080079f89c in thr_kill () from /lib/libc.so.6 #1 0x0000000800643731 in pthread_kill () from /usr/lib/libthr.so.2 #2 0x0000000800641ed3 in raise () from /usr/lib/libthr.so.2 #3 0x00000008008144ad in abort () from /lib/libc.so.6 #4 0x000000080128dd51 in os::abort (dump_core=21615891) at /usr/ports/java/jdk15/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1330 #5 0x00000008013fa0e9 in VMError::report_and_die (this=0x7fffff836790) at /usr/ports/java/jdk15/work/hotspot/src/share/vm/utilities/vmError.cpp:697 #6 0x0000000800ee3eb0 in report_assertion_failure (file_name=0x801490668 "/usr/ports/java/jdk15/work/hotspot/src/share/vm/opto/matcher.cpp", line_no=1326, message=0x80149140f "assert(v_false,\"bad AD file\")") at /usr/ports/java/jdk15/work/hotspot/src/share/vm/utilities/debug.cpp:210 #7 0x0000000801220990 in Matcher::Label_Root (this=0x7fffff8372a0, n=0x7b7e90, svec=0x7fffff8368b0, control=0x7cb4b8, mem=0x1) at /usr/ports/java/jdk15/work/hotspot/src/share/vm/opto/matcher.cpp:1326 #8 0x0000000801220f50 in Matcher::match_tree (this=0x7fffff8372a0, n=0x7b7e90) at node.hpp:286 #9 0x0000000801222b53 in Matcher::xform (this=0x7fffff8372a0, n=0x7b7e90, max_stack=100451) at /usr/ports/java/jdk15/work/hotspot/src/share/vm/opto/matcher.cpp:753 #10 0x000000080122454c in Matcher::match (this=0x7fffff8372a0) at compile.hpp:342 #11 0x0000000800e97ca1 in Compile::Code_Gen (this=0x7fffff837b70) at /usr/ports/java/jdk15/work/hotspot/src/share/vm/opto/compile.cpp:1406 #12 0x0000000800e9b87c in Compile (this=0x7fffff837b70, ci_env=0x0, compiler=0x6d5bd8, target=0x697830, osr_bci=-8161568, subsume_loads=7288856) at /usr/ports/java/jdk15/work/hotspot/src/share/vm/opto/compile.cpp:441 #13 0x0000000800de7ac1 in C2Compiler::compile_method (this=0x6d5bd8, env=0x7fffff838b00, target=0x663578, entry_bci=-1) at /usr/ports/java/jdk15/work/hotspot/src/share/vm/opto/c2compiler.cpp:31 #14 0x0000000800ea4fab in CompileBroker::invoke_compiler_on_method (task=0x700718) at compileBroker.hpp:305 #15 0x0000000800ea5826 in CompileBroker::compiler_thread_loop () at /usr/ports/java/jdk15/work/hotspot/src/share/vm/compiler/compileBroker.cpp:1439 #16 0x00000008013a5e1f in JavaThread::thread_main_inner (this=0x6f3818) at thread.hpp:751 #17 0x000000080128d89e in _start (data=0x6f3818) at /usr/ports/java/jdk15/work/hotspot/src/os/bsd/vm/os_bsd.cpp:619 #18 0x000000080064a9c9 in pthread_create () from /usr/lib/libthr.so.2 #19 0x0000000000000000 in ?? () Cannot access memory at address 0x7fffff839000 (gdb) quit # cat hs_err_pid50765.log # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (/usr/ports/java/jdk15/work/hotspot/src/share/vm/opto/matcher.cpp, 1326), pid=50765, tid=0x6f5200 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-hwh_28_dec_2005_15_28-debug mixed mode) # # Error: assert(v_false,"bad AD file") --------------- T H R E A D --------------- Current thread (0x00000000006f3818): JavaThread "CompilerThread1" daemon [_thread_in_native, id=7295488] Stack: [0x00007fffff739000,0x00007fffff839000), sp=0x00007fffff836700, free space=1013k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm_g.so+0xaabea6] V [libjvm_g.so+0x595eb0] V [libjvm_g.so+0x8d2990] V [libjvm_g.so+0x8d2f50] V [libjvm_g.so+0x8d4b53] V [libjvm_g.so+0x8d654c] V [libjvm_g.so+0x549ca1] V [libjvm_g.so+0x54d87c] V [libjvm_g.so+0x499ac1] V [libjvm_g.so+0x556fab] V [libjvm_g.so+0x557826] V [libjvm_g.so+0xa57e1f] V [libjvm_g.so+0x93f89e] Current CompileTask: opto: 1 java.util.Properties$LineReader.readLine()I (383 bytes) --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x00000000006fb018 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7296512] =>0x00000000006f3818 JavaThread "CompilerThread1" daemon [_thread_in_native, id=7295488] 0x00000000006f2018 JavaThread "CompilerThread0" daemon [_thread_in_native, id=7163392] 0x00000000006ec818 JavaThread "AdapterThread" daemon [_thread_blocked, id=7162368] 0x00000000006d6018 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7161344] 0x00000000006d1018 JavaThread "Finalizer" daemon [_thread_blocked, id=7105024] 0x0000000000677818 JavaThread "Reference Handler" daemon [_thread_blocked, id=7103488] 0x0000000000545818 JavaThread "main" [_thread_in_vm, id=5324800] Other Threads: 0x00000000006bae18 VMThread [id=7090176] 0x0000000000544e18 WatcherThread [id=7297536] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 2368K, used 829K [0x0000000845d20000, 0x0000000845fb0000, 0x000000084b270000) eden space 2112K, 39% used [0x0000000845d20000, 0x0000000845def518, 0x0000000845f30000) from space 256K, 0% used [0x0000000845f30000, 0x0000000845f30000, 0x0000000845f70000) to space 256K, 0% used [0x0000000845f70000, 0x0000000845f70000, 0x0000000845fb0000) tenured generation total 1792K, used 0K [0x000000084b270000, 0x000000084b430000, 0x0000000855d20000) the space 1792K, 0% used [0x000000084b270000, 0x000000084b270000, 0x000000084b270200, 0x000000084b430000) compacting perm gen total 21248K, used 2977K [0x0000000855d20000, 0x00000008571e0000, 0x000000085af20000) the space 21248K, 14% used [0x0000000855d20000, 0x00000008560087f8, 0x0000000856008800, 0x00000008571e0000) No shared spaces configured. Dynamic libraries: 0x0000000000400000 /usr/local/jdk1.5.0/bin/java_g 0x000000080063a000 /usr/lib/libthr.so.2 0x0000000800751000 /lib/libc.so.6 0x000000080094e000 /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm_g.so 0x00000008017af000 /usr/lib/libstdc++.so.5 0x00000008019a6000 /lib/libm.so.4 0x0000000801ac2000 /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi_g.so 0x0000000801bcf000 /usr/local/jdk1.5.0/jre/lib/amd64/libverify_g.so 0x0000000801ce1000 /usr/local/jdk1.5.0/jre/lib/amd64/libjava_g.so 0x0000000801e0d000 /usr/local/jdk1.5.0/jre/lib/amd64/libzip_g.so 0x0000000800510000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Djava.awt.headless=true -Xmx256m java_command: Wave2Gif.jar Environment Variables: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/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 SHELL=/bin/csh HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=unknown --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Thu Dec 15 18:56:26 CST 2005 wsk@wfdb2.gddsn.org.cn:/usr/obj/usr/src/sys/WFDB2 amd64 rlimit: STACK 524288k, CORE infinity, NOFILE 11095 CPU:total 4 Memory: 4k page, physical 262144k vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-hwh_28_dec_2005_15_28) for freebsd-amd64, built on Dec 28 2005 16:49:04 by root with gcc 3.4.4 [FreeBSD] 20050518 From owner-freebsd-java@FreeBSD.ORG Thu Dec 29 13:57:28 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE81516A422 for ; Thu, 29 Dec 2005 13:57:28 +0000 (GMT) (envelope-from fborghesi@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F14943D7C for ; Thu, 29 Dec 2005 13:57:10 +0000 (GMT) (envelope-from fborghesi@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so1764188nzo for ; Thu, 29 Dec 2005 05:57:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=UuMy985mIRSAh+6Wqlvz38rSA94fzAi9+wIa7071Lvc7y/LbF6s37dEZk5cVkaHv8ls8W84e1QeBz0rJs6+ks8F+I4681+A9W2EPvADZEaHIfI1ikuF+O9yRM509q+bw9tBTm7i52NSMEPcoEjoEVnUK8XeKCWRrMHe5QzUax9Q= Received: by 10.65.132.5 with SMTP id j5mr1430312qbn; Thu, 29 Dec 2005 05:57:09 -0800 (PST) Received: by 10.64.220.20 with HTTP; Thu, 29 Dec 2005 05:57:09 -0800 (PST) Message-ID: Date: Thu, 29 Dec 2005 10:57:09 -0300 From: Franco Bruno Borghesi To: FreeBSD-Java In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Still doesn't work 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: Thu, 29 Dec 2005 13:57:28 -0000 2005/12/23, Franco Bruno Borghesi : > > Hi again. I'm still having problems with eclipse + jdk15 on amd64. Eclips= e > crashes continuously and the only thing that seems to make it work (at le= ast > for a couple of hours) is erasing the .metadata directory (and loosing al= l > the configuration settings). > > Panagiotis said it was a gc problem, and suggested me to look herefor a switch that makes j= ava > work.I tried different switches, some from that page and some I found > googling (not many), but nothing seems to work. > > The fact that only Panagiotis answered my questions makes me think that > none of you have experienced this kind of problem, although Panagiotis sa= id > it was a common problem (is it?). > > So, my question is: has anyone experienced this problem? how do you deal > with it? have you found any switch to make java work? > I'm thinking maybe I shoud go back and use freebsd 32 on my amd64... is > this what you people do? > > Thanks... and merry Christmas to all of you :-) > Googling around I've found this jdk bug 5060628( http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=3D5060628). I don't know if the problem they describe there is the same problem that Panagiotis was talking about, and I also ignore if it is actually my problem, but I decided to give a try to the proposed fixes. Running eclipse with "-vmargs -Djava.compiler=3D" seems to solve the problem.Eclipse runs slower but stable, no hangs at all (at least for the last couple of days). The other proposed solution was to create a file called ".hotspot_compiler" with the following contents: exclude org/eclipse/jdt/internal/compiler/parser/Scanner optimizedCurrentTokenSource3 exclude org/eclipse/jdt/internal/core/util/CommentRecorderScanner recordComment This is said to be a better solution, but it didn't work for me. It's not clear to me where I should create the file, so I tryed with /usr/local/eclipse/.hotspot_compiler, ~/.hotspot_compiler and ~/.eclipse/.hotspot_compiler. Hope this helps anyone with the same problem. Cheers. From owner-freebsd-java@FreeBSD.ORG Thu Dec 29 18:22:59 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0326B16A41F for ; Thu, 29 Dec 2005 18:22:59 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFC2943D78 for ; Thu, 29 Dec 2005 18:22:53 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id jBTIMoAF017244; Thu, 29 Dec 2005 20:22:50 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id jBTINbkH073059; Thu, 29 Dec 2005 20:23:37 +0200 (EET) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.1.371 [267.14.9/216]); Thu, 29 Dec 2005 20:22:47 +0200 Message-ID: <43B42977.40404@ebs.gr> Date: Thu, 29 Dec 2005 20:22:47 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Franco Bruno Borghesi References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Java Subject: Re: Still doesn't work 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: Thu, 29 Dec 2005 18:22:59 -0000 Franco Bruno Borghesi wrote: > 2005/12/23, Franco Bruno Borghesi : > >>Hi again. I'm still having problems with eclipse + jdk15 on amd64. Eclipse >>crashes continuously and the only thing that seems to make it work (at least >>for a couple of hours) is erasing the .metadata directory (and loosing all >>the configuration settings). >> >>Panagiotis said it was a gc problem, and suggested me to look herefor a switch that makes java >>work.I tried different switches, some from that page and some I found >>googling (not many), but nothing seems to work. >> >>The fact that only Panagiotis answered my questions makes me think that >>none of you have experienced this kind of problem, although Panagiotis said >>it was a common problem (is it?). >> >>So, my question is: has anyone experienced this problem? how do you deal >>with it? have you found any switch to make java work? >>I'm thinking maybe I shoud go back and use freebsd 32 on my amd64... is >>this what you people do? >> >>Thanks... and merry Christmas to all of you :-) >> > > > > Googling around I've found this jdk bug > 5060628( > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5060628). > > I don't know if the problem they describe there is the same problem that > Panagiotis was talking about, and I also ignore if it is actually my > problem, but I decided to give a try to the proposed fixes. > > Running eclipse with "-vmargs -Djava.compiler=" seems to solve the > problem.Eclipse runs slower but stable, no hangs at all (at least for the > last couple of days). > > The other proposed solution was to create a file called ".hotspot_compiler" > with the following contents: > exclude org/eclipse/jdt/internal/compiler/parser/Scanner > optimizedCurrentTokenSource3 > exclude org/eclipse/jdt/internal/core/util/CommentRecorderScanner > recordComment > > This is said to be a better solution, but it didn't work for me. It's not > clear to me where I should create the file, so I tryed with > /usr/local/eclipse/.hotspot_compiler, ~/.hotspot_compiler and > ~/.eclipse/.hotspot_compiler. > > Hope this helps anyone with the same problem. > Cheers. Interesting. So this is a bug in hostspot:compiler2 on amd64 that is fixed in jdk 1.5 update 6 (build 4) and mustang (build 59). Since the mustang source is available perhaps we could obtain the relevant fix. However it is available under the JRL not SCSL. Can we do this and then legally distribute the jdk? Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Fri Dec 30 05:21:36 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E397316A41F for ; Fri, 30 Dec 2005 05:21:36 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FB3843D58 for ; Fri, 30 Dec 2005 05:21:36 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id 65D3A22B10 for ; Fri, 30 Dec 2005 06:21:35 +0100 (CET) Received: from koala.ipv6.droso.net (localhost [IPv6:::1]) by mail.droso.net (Postfix) with ESMTP id 8BF1D22B1C for ; Fri, 30 Dec 2005 06:21:33 +0100 (CET) From: linimon@FreeBSD.org To: java@freebsd.org Message-Id: <20051230052133.8BF1D22B1C@mail.droso.net> Date: Fri, 30 Dec 2005 06:21:33 +0100 (CET) X-Virus-Scanned: by amavisd 0.1 Cc: Subject: FreeBSD ports that you maintain which are currently marked forbidden 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: Fri, 30 Dec 2005 05:21:37 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we are attempting to notify maintainers of ports that are marked as "forbidden" in their Makefiles. Often, these ports are so marked due to security concerns, such as known exploits. An overview of the port, including errors seen on the build farm, is included below. portname: java/linux-blackdown-jdk13 forbidden because: Vulnerabilities in the browser plugin build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=java&portname=linux-blackdown-jdk13 portname: java/linux-ibm-jdk13 forbidden because: Vulnerabilities in the browser plugin build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=java&portname=linux-ibm-jdk13 If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-java@FreeBSD.ORG Fri Dec 30 20:13:25 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB80316A422 for ; Fri, 30 Dec 2005 20:13:25 +0000 (GMT) (envelope-from ddurham@vailsys.com) Received: from dfrobd01.vailsys.com (chrobd01.vailsys.com [63.210.102.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8772043D49 for ; Fri, 30 Dec 2005 20:13:25 +0000 (GMT) (envelope-from ddurham@vailsys.com) Received: from dfsfbd06.vail (dfsfbd06.vail [192.168.129.190]) by dfrobd01.vailsys.com (Postfix) with ESMTP id 7A047FF36 for ; Fri, 30 Dec 2005 14:13:24 -0600 (CST) Received: from [192.168.129.15] (ltwddurham.vail [192.168.129.15]) by dfsfbd06.vail (Postfix) with ESMTP id 9726252A6 for ; Fri, 30 Dec 2005 14:03:28 -0600 (CST) Message-ID: <43B59293.7050907@vailsys.com> Date: Fri, 30 Dec 2005 14:03:31 -0600 From: David Durham User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: file not found (jdk 1_5 bin scsl download) 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: Fri, 30 Dec 2005 20:13:26 -0000 Anyone else getting a File Not Found error when trying to download the 1_5 bin scsl from Sun? Regards, Dave From owner-freebsd-java@FreeBSD.ORG Sat Dec 31 03:30:27 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 324D816A41F for ; Sat, 31 Dec 2005 03:30:27 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id E689C43D49 for ; Sat, 31 Dec 2005 03:30:25 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.168.131] (unknown [218.19.164.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id 1103538CB41 for ; Sat, 31 Dec 2005 11:30:22 +0800 (CST) Message-ID: <43B5FB4B.5090605@gddsn.org.cn> Date: Sat, 31 Dec 2005 11:30:19 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051212) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: java Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Cc: Subject: JDK1.5.0-p2/amd64 offen crash 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, 31 Dec 2005 03:30:27 -0000 I offen got crash on EM64T box(DELL 2850) using jdk1.5.0-p2, Has anyone look at this? all of Internal Error ID are same "4E4D4554484F440E435050051B". --hwh # more hs_err_pid1091.log # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4E4D4554484F440E435050051B), pid=1091, tid=0x8c1c00 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-hwh_28_dec_2005_15_28 mixed mode) --------------- T H R E A D --------------- Current thread (0x00000000007f5c00): JavaThread "SendSeedDataThread" [_thread_in_Java, id=9182208] Stack: [0x00007fffff575000,0x00007fffff5b5000), sp=0x00007fffff5b3c10, free space=251k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x79063e] V [libjvm.so+0x465c56] V [libjvm.so+0x698eab] V [libjvm.so+0x70aa78] V [libjvm.so+0x6ac3e4] V [libjvm.so+0x6aae1e] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x000000000051a400 JavaThread "DestroyJavaVM" [_thread_blocked, id=5308416] 0x00000000006dd800 JavaThread "EventRecordThread" [_thread_blocked, id=10456064] 0x0000000000a19000 JavaThread "RealTimeStreamThread" [_thread_blocked, id=10453504] =>0x00000000007f5c00 JavaThread "SendSeedDataThread" [_thread_in_Java, id=9182208] 0x0000000000702c00 JavaThread "Thread-0" daemon [_thread_blocked, id=7345152] 0x0000000000679c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=6781440] 0x0000000000679000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=6780416] 0x0000000000674400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6779392] 0x000000000066f800 JavaThread "AdapterThread" daemon [_thread_blocked, id=6614528] 0x000000000064bc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6613504] 0x000000000064b400 JavaThread "Finalizer" daemon [_thread_blocked, id=6610944] 0x000000000064b000 JavaThread "Reference Handler" daemon [_thread_blocked, id=6597120] Other Threads: 0x000000000063e800 VMThread [id=6547968] 0x000000000051d800 WatcherThread [id=6782464] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x0000000000517300/0x0000000000517380] Safepoint_lock - owner thread: 0x000000000063e800 [0x0000000000517480/0x0000000000517500] Threads_lock - owner thread: 0x000000000063e800 Heap def new generation total 5184K, used 4148K [0x00000008458f0000, 0x0000000845e80000, 0x000000084ae40000) eden space 4672K, 77% used [0x00000008458f0000, 0x0000000845c7d278, 0x0000000845d80000) from space 512K, 99% used [0x0000000845e00000, 0x0000000845e7ffe8, 0x0000000845e80000) to space 512K, 0% used [0x0000000845d80000, 0x0000000845d80000, 0x0000000845e00000) tenured generation total 11276K, used 9285K [0x000000084ae40000, 0x000000084b943000, 0x00000008558f0000) the space 11276K, 82% used [0x000000084ae40000, 0x000000084b751778, 0x000000084b751800, 0x000000084b943000) compacting perm gen total 21248K, used 7552K [0x00000008558f0000, 0x0000000856db0000, 0x000000085aaf0000) the space 21248K, 35% used [0x00000008558f0000, 0x0000000856050020, 0x0000000856050200, 0x0000000856db0000) No shared spaces configured. Dynamic libraries: 0x0000000000400000 /usr/local/jdk1.5.0/bin/java 0x0000000800636000 /usr/lib/libthr.so.2 0x000000080074d000 /lib/libc.so.6 0x000000080094a000 /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so 0x0000000801383000 /usr/lib/libstdc++.so.5 0x000000080157a000 /lib/libm.so.4 0x0000000801696000 /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi.so 0x00000008017a2000 /usr/local/jdk1.5.0/jre/lib/amd64/libverify.so 0x00000008018b1000 /usr/local/jdk1.5.0/jre/lib/amd64/libjava.so 0x00000008019d9000 /usr/local/jdk1.5.0/jre/lib/amd64/libzip.so 0x000000085b984000 /usr/local/jdk1.5.0/jre/lib/amd64/libnet.so 0x000000080050c000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xmx256m java_command: rts.jar -nogui Environment Variables: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/rts/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 SHELL=/bin/csh DISPLAY=:0 HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=unknown --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #2: Thu Dec 29 17:31:58 CST 2005 hwh@rts.gddsn.org.cn:/usr/obj/usr/src/sys/RTS amd64 rlimit: STACK 524288k, CORE infinity, NOFILE 11095 CPU:total 2 Memory: 4k page, physical 262144k vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-hwh_28_dec_2005_15_28) for freebsd-amd64, built on Dec 28 2005 16:04:19 by root with gcc 3.4.4 [FreeBSD] 20050518 # cat hs_err_pid4013.log # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (/usr/ports/java/jdk15/work/hotspot/src/share/vm/code/nmethod.cpp, 1307), pid=4013, tid=0x736200 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-hwh_28_dec_2005_22_02-debug mixed mode) # # Error: unhandled implicit exception in compiled code --------------- T H R E A D --------------- Current thread (0x0000000000b5e018): JavaThread "SendSeedDataThread" [_thread_in_Java, id=7561728] Stack: [0x00007fffff4b2000,0x00007fffff4f2000), sp=0x00007fffff4f0ec0, free space=251k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm_g.so+0xaabdd6] V [libjvm_g.so+0x595e30] V [libjvm_g.so+0x912016] V [libjvm_g.so+0x9f1c98] V [libjvm_g.so+0x944d5a] C 0x00007fffffffffc4 j java.lang.Double.valueOf(Ljava/lang/String;)Ljava/lang/Double;+5 j java.lang.Double.(Ljava/lang/String;)V+2 j edu.iris.timeutils.TimeStamp.parseDateTime(Ljava/lang/String;Ljava/lang/String;)Ljava/util/ArrayList;+54 j edu.iris.timeutils.TimeStamp.buildTimestamp(Ljava/lang/String;)Ledu/iris/timeutils/TimeStamp;+80 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0000000000546818 JavaThread "DestroyJavaVM" [_thread_blocked, id=5324800] =>0x0000000000b5e018 JavaThread "SendSeedDataThread" [_thread_in_Java, id=7561728] 0x0000000000b38818 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=11792384] 0x0000000000b38018 JavaThread "AWT-Shutdown" [_thread_blocked, id=10729984] 0x0000000000a39018 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=10690048] 0x00000000007fb818 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=7776256] 0x000000000070f018 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7386112] 0x0000000000707818 JavaThread "CompilerThread1" daemon [_thread_blocked, id=7385088] 0x0000000000706018 JavaThread "CompilerThread0" daemon [_thread_blocked, id=7166976] 0x00000000006e0818 JavaThread "AdapterThread" daemon [_thread_blocked, id=7165952] 0x00000000006df018 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7164928] 0x00000000006d2018 JavaThread "Finalizer" daemon [_thread_blocked, id=7109120] 0x0000000000678818 JavaThread "Reference Handler" daemon [_thread_blocked, id=7107584] Other Threads: 0x00000000006bbe18 VMThread [id=7094272] 0x0000000000545e18 WatcherThread [id=7387136] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x0000000000519818/0x0000000000520398] Safepoint_lock - owner thread: 0x00000000006bbe18 [0x0000000000519918/0x0000000000520498] Threads_lock - owner thread: 0x00000000006bbe18 [0x0000000000520f18/0x0000000000520f98] Heap_lock - owner thread: 0x0000000000b38818 Heap def new generation total 7808K, used 7016K [0x0000000845d20000, 0x0000000846590000, 0x00000008487c0000) eden space 6976K, 100% used [0x0000000845d20000, 0x00000008463f0000, 0x00000008463f0000) from space 832K, 4% used [0x00000008463f0000, 0x00000008463fa368, 0x00000008464c0000) to space 832K, 0% used [0x00000008464c0000, 0x00000008464c0000, 0x0000000846590000) tenured generation total 17112K, used 10266K [0x00000008487c0000, 0x0000000849876000, 0x000000084dd20000) the space 17112K, 59% used [0x00000008487c0000, 0x00000008491c69a8, 0x00000008491c6a00, 0x0000000849876000) compacting perm gen total 21248K, used 13909K [0x000000084dd20000, 0x000000084f1e0000, 0x0000000852f20000) the space 21248K, 65% used [0x000000084dd20000, 0x000000084eab54a8, 0x000000084eab5600, 0x000000084f1e0000) No shared spaces configured. Dynamic libraries: 0x0000000000400000 /usr/local/jdk1.5.0/bin/java_g 0x000000080063a000 /usr/lib/libthr.so.2 0x0000000800751000 /lib/libc.so.6 0x000000080094e000 /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm_g.so 0x00000008017ae000 /usr/lib/libstdc++.so.5 0x00000008019a5000 /lib/libm.so.4 0x0000000801ac1000 /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi_g.so 0x0000000801bce000 /usr/local/jdk1.5.0/jre/lib/amd64/libverify_g.so 0x0000000801ce0000 /usr/local/jdk1.5.0/jre/lib/amd64/libjava_g.so 0x0000000801e0c000 /usr/local/jdk1.5.0/jre/lib/amd64/libzip_g.so 0x00000008532ba000 /usr/local/jdk1.5.0/jre/lib/amd64/libawt_g.so 0x00000008534b9000 /usr/local/jdk1.5.0/jre/lib/amd64/libmlib_image_g.so 0x000000085371b000 /usr/local/jdk1.5.0/jre/lib/amd64/xawt/libmawt_g.so 0x00000008538a8000 /usr/X11R6/lib/libXext.so.6 0x00000008539b9000 /usr/X11R6/lib/libX11.so.6 0x0000000853b96000 /usr/local/jdk1.5.0/jre/lib/amd64/libfontmanager_g.so 0x0000000853d3b000 /usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2 0x0000000853e3c000 /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2 0x0000000853f42000 /usr/X11R6/lib/libXcursor.so.1 0x000000085404c000 /usr/X11R6/lib/libXrender.so.1 0x0000000854155000 /usr/local/jdk1.5.0/jre/lib/amd64/libnet_g.so 0x0000000854268000 /usr/local/jdk1.5.0/jre/lib/amd64/libnio_g.so 0x000000085436f000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 0x0000000800510000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -XX:SuppressErrorAt=/matcher.hpp:365 -Xmx128m java_command: IPPlot.jar Environment Variables: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/rts/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 SHELL=/bin/csh DISPLAY=:0.0 HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=unknown --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #2: Thu Dec 29 17:31:58 CST 2005 hwh@rts.gddsn.org.cn:/usr/obj/usr/src/sys/RTS amd64 rlimit: STACK 524288k, CORE infinity, NOFILE 11095 CPU:total 2 Memory: 4k page, physical 262144k vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-hwh_28_dec_2005_22_02) for freebsd-amd64, built on Dec 28 2005 22:45:11 by root with gcc 3.4.4 [FreeBSD] 20050518 # gdb /usr/local/jdk1.5.0/bin/java_g -core java_g.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Core was generated by `java_g'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/libthr.so.2...done. Loaded symbols for /usr/lib/libthr.so.2 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm_g.so Reading symbols from /usr/lib/libstdc++.so.5...done. Loaded symbols for /usr/lib/libstdc++.so.5 Reading symbols from /lib/libm.so.4...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libverify_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libverify_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libjava_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libjava_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libzip_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libzip_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libawt_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libawt_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libmlib_image_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libmlib_image_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/xawt/libmawt_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/xawt/libmawt_g.so Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Loaded symbols for /usr/X11R6/lib/libXext.so.6 Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Loaded symbols for /usr/X11R6/lib/libX11.so.6 Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libfontmanager_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libfontmanager_g.so Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2 Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2 Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done. Loaded symbols for /usr/X11R6/lib/libXcursor.so.1 Reading symbols from /usr/X11R6/lib/libXrender.so.1...done. Loaded symbols for /usr/X11R6/lib/libXrender.so.1 Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libnet_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libnet_g.so Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libnio_g.so...done. Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libnio_g.so Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x000000080079ef2c in thr_kill () from /lib/libc.so.6 [New Thread 0x736200 (LWP 100215)] [New Thread 0xb3f000 (LWP 100213)] [New Thread 0xa3ba00 (LWP 100212)] [New Thread 0xa31e00 (LWP 100211)] [New Thread 0x76a800 (LWP 100210)] [New Thread 0x70b800 (LWP 100209)] [New Thread 0x70b400 (LWP 100208)] [New Thread 0x70b000 (LWP 100201)] [New Thread 0x6d5c00 (LWP 100195)] [New Thread 0x6d5800 (LWP 100192)] [New Thread 0x6d5400 (LWP 100179)] [New Thread 0x6c7a00 (LWP 100174)] [New Thread 0x6c7400 (LWP 100161)] [New Thread 0x6c4000 (LWP 100150)] [New Thread 0x514000 (LWP 100214)] (gdb) bt #0 0x000000080079ef2c in thr_kill () from /lib/libc.so.6 #1 0x0000000800641d4f in raise () from /usr/lib/libthr.so.2 #2 0x0000000800813d4d in abort () from /lib/libc.so.6 #3 0x000000080128dc81 in os::abort (dump_core=21615123) at /usr/ports/java/jdk15/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1330 #4 0x00000008013fa019 in VMError::report_and_die (this=0x7fffff4f0f50) at /usr/ports/java/jdk15/work/hotspot/src/share/vm/utilities/vmError.cpp:697 #5 0x0000000800ee3e30 in report_fatal ( file_name=0x801497090 "/usr/ports/java/jdk15/work/hotspot/src/share/vm/code/nmethod.cpp", line_no=1307, message=0x801498310 "unhandled implicit exception in compiled code") at /usr/ports/java/jdk15/work/hotspot/src/share/vm/utilities/debug.cpp:216 #6 0x0000000801260016 in nmethod::continuation_for_implicit_exception ( this=0x804e47690, pc=0x804e47809 "\205\005\uffff\uffffo\uffff¨´\uffff\uffff\uffff\uffffL\211\024$D\211\\$\b\220\uffff|\203\uffff\uffff\uffff\uffffSD\uffff\uffff\uffff\uffff\uffff\uffffL\211\024$D\211\\$\b\uffffd\203\uffff\uffff\uffff\217SD at /usr/ports/java/jdk15/work/hotspot/src/share/vm/code/nmethod.cpp:1307 #7 0x000000080133fc98 in SharedRuntime::continuation_for_implicit_exception ( thread=0xb5e018, faulting_pc=0x804e47809 "\205\005\uffff\uffffo\uffff¨´\uffff\uffff\uffff\uffffL\211\024$D\211\\$\b\220\uffff|\203\uffff\uffff\uffff\uffffSD\uffff\uffff\uffff\uffff\uffff\uffffL\211\024$D\211\\$\b\uffffd\203\uffff\uffff\uffff\217SD\uffff\uffff\uffff", exception_kind=IMPLICIT_NULL) at /usr/ports/java/jdk15/work/hotspot/src/share/vm/runtime/sharedRuntime.cpp:450 #8 0x0000000801292d5a in JVM_handle_bsd_signal (sig=10, info=0x7fffff4f1570, ucVoid=0x7fffff4f1200, abort_if_unrecognized=1) at /usr/ports/java/jdk15/work/hotspot/src/os_cpu/bsd_amd64/vm/os_bsd_amd64.cpp:490 #9 #10 0x0000000804e47809 in ?? () #11 0x0000000804e350c1 in ?? () #12 0x00007fffff4f16c0 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000000 in ?? () #15 0x00007fffff4f1670 in ?? () #16 0x0000000804d16ec5 in ?? () #17 0x0000000000000000 in ?? () #18 0x00000008463e18b8 in ?? () #19 0x00007fffff4f1688 in ?? () #20 0x000000084dfb415f in ?? () #21 0x00007fffff4f1760 in ?? () #22 0x000000084dfb5e30 in ?? () #23 0x000000084e996628 in ?? () #24 0x000000084dfb4410 in ?? () #25 0x00007fffff4f1760 in ?? () #26 0x00007fffff4f17b0 in ?? () #27 0x0000000804d16e53 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x00000008463e1910 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000004 in ?? () #42 0x0000000000000032 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x00000008463e18b8 in ?? () #47 0x00000008463e18f8 in ?? () #48 0x00000008463e18f8 in ?? () #49 0x00007fffff4f1778 in ?? () #50 0x000000084dda9e15 in ?? () #51 0x00007fffff4f17c0 in ?? () #52 0x000000084de19910 in ?? () #53 0x000000084e9d1660 in ?? () #54 0x000000084dda9e28 in ?? () #55 0x00007fffff4f17c0 in ?? () #56 0x00007fffff4f1808 in ?? () #57 0x0000000804d16e53 in ?? () #58 0x00000008463e18b8 in ?? () #59 0x00000008463e18e0 in ?? () #60 0x00007fffff4f17d0 in ?? () #61 0x000000084ddaa2c2 in ?? () #62 0x00007fffff4f1820 in ?? () #63 0x000000084de19910 in ?? () #64 0x000000084e9d15c0 in ?? () #65 0x000000084ddaa2d8 in ?? () #66 0x00007fffff4f1818 in ?? () #67 0x00007fffff4f1868 in ?? () #68 0x0000000804d16d36 in ?? () #69 0x00000008463e18b8 in ?? () #70 0x00000008463e18e0 in ?? () #71 0x00000008463e18e0 in ?? () #72 0x00007fffff4f1830 in ?? () #73 0x000000084e16f916 in ?? () #74 0x00007fffff4f18a0 in ?? () #75 0x000000084e939b20 in ?? () #76 0x000000084e9cc210 in ?? () #77 0x000000084e16f998 in ?? () #78 0x00007fffff4f1898 in ?? () #79 0x00007fffff4f18e0 in ?? () #80 0x0000000804d16e53 in ?? () #81 0x0000000000000000 in ?? () #82 0x00000008463e1878 in ?? () #83 0x0000000000000000 in ?? () #84 0x00000008463e17e8 in ?? () #85 0x000000084e93a5c0 in ?? () ---Type to continue, or q to quit--- #86 0x00000008463e0a78 in ?? () #87 0x00007fffff4f18a8 in ?? () #88 0x000000084e16e488 in ?? () #89 0x00007fffff4f1980 in ?? () #90 0x000000084e939b20 in ?? () #91 0x000000084ea74848 in ?? () #92 0x000000084e16e898 in ?? () #93 0x00007fffff4f1980 in ?? () #94 0x0000000000000000 in ?? () #95 0x0000000804e41b38 in ?? () #96 0x0000000000000000 in ?? () #97 0x0000000000000000 in ?? () #98 0x0000000000000000 in ?? () #99 0x0000000000000000 in ?? () #100 0x0000000000000000 in ?? () #101 0x0000000000000000 in ?? () #102 0x0000000000000000 in ?? () #103 0x0000000000000000 in ?? () #104 0x0000000000000000 in ?? () #105 0x0000000000000000 in ?? () #106 0x0000000000000000 in ?? () #107 0x0000000000000000 in ?? () #108 0x0000000000000000 in ?? () #109 0x0000000000000000 in ?? () #110 0x0000000000000001 in ?? () #111 0x0000000000000000 in ?? () #112 0x0000000000000001 in ?? () #113 0x00000000000007b2 in ?? () #114 0x00000008463e0a78 in ?? () #115 0x00007fffff4f1a28 in ?? () #116 0x000000084e14943b in ?? () #117 0x000000084eaa4d88 in ?? () #118 0x000000084e8cf23e in ?? () #119 0x0000000804e74e68 in ?? () #120 0x00007fffff4f1a28 in ?? () #121 0x0000000804e41d7e in ?? () #122 0x00007fffff4f1a28 in ?? () #123 0x00007fffff4f19d8 in ?? () #124 0x0000000000000007 in ?? () #125 0x00007fffff4f19e0 in ?? () #126 0x0000000804d16e53 in ?? () #127 0x0000000846364fe8 in ?? () #128 0x00007fffff4f19f0 in ?? () #129 0x000000084e14943b in ?? () #130 0x00007fffff4f1a58 in ?? () #131 0x000000084e6448b0 in ?? () #132 0x000000084eaa4d88 in ?? () #133 0x000000084e149520 in ?? () #134 0x00007fffff4f1a50 in ?? () #135 0x0000000000000000 in ?? () #136 0x0000000804e4cf7c in ?? () #137 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #138 0x0000000000000000 in ?? () #139 0x0000000846364fe8 in ?? () #140 0x0000000846368850 in ?? () #141 0x00000008489f8db0 in ?? () #142 0x000000000000001b in ?? () #143 0x0000000848c1e798 in ?? () #144 0x000000000000001b in ?? () #145 0x000000084e1bd1d0 in ?? () #146 0x0000000000000000 in ?? () #147 0x0000000804e733b0 in ?? () #148 0x0000000846368850 in ?? () #149 0x00007fff00000003 in ?? () #150 0x0000000804d16d36 in ?? () #151 0x00007fffff4f1b58 in ?? () #152 0x000000084e661139 in ?? () #153 0x000000084eab19b8 in ?? () #154 0x000000084e92fb3a in ?? () #155 0x00007fffff4f1b10 in ?? () #156 0x0000000000000001 in ?? () #157 0x0000000804e4a842 in ?? () #158 0x00007fffff4f1b58 in ?? () #159 0x00007fffff4f1b00 in ?? () #160 0x00007fffff4f1b58 in ?? () #161 0x00007fffff4f1b08 in ?? () #162 0x0000000846364fe8 in ?? () #163 0x0000000804d16d36 in ?? () #164 0x0000000846368850 in ?? () #165 0x0000000848c1e708 in ?? () #166 0x00007fffff4f1b20 in ?? () #167 0x000000084e661139 in ?? () #168 0x00007fffff4f1b78 in ?? () #169 0x000000084e685380 in ?? () #170 0x000000084eab19b8 in ?? () #171 0x000000084e661178 in ?? () #172 0x00007fffff4f1b78 in ?? () #173 0x00007fffff4f1be0 in ?? () #174 0x0000000804d1449d in ?? () #175 0x0000000846368850 in ?? () #176 0x0000000846364fe8 in ?? () #177 0x0000000848c1e670 in ?? () #178 0x0000000000001f80 in ?? () #179 0x00007fffff4f1e00 in ?? () #180 0x00007fffff4f1ec0 in ?? () #181 0x0000000000000001 in ?? () #182 0x0000000000b5e018 in ?? () #183 0x00000000007fb058 in ?? () #184 0x00007fffff4f1c70 in ?? () #185 0x00007fffff4f1ec8 in ?? () #186 0x000000000000000a in ?? () #187 0x000000084e66b658 in ?? () #188 0x0000000804d26e60 in ?? () #189 0x00007fffff4f1e10 in ?? () ---Type to continue, or q to quit--- #190 0x00007fffff4f1d00 in ?? () #191 0x0000000800fcc47c in JavaCalls::call_helper (result=0x7fffff4f1760, m=0x0, args=0xb5e018, __the_thread__=0x0) at stubRoutines.hpp:130 Previous frame inner to this frame (corrupt stack?) (gdb) (gdb) quit From owner-freebsd-java@FreeBSD.ORG Sat Dec 31 05:42:30 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8026916A41F for ; Sat, 31 Dec 2005 05:42:30 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7DDF43D49 for ; Sat, 31 Dec 2005 05:42:27 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id E09814D081; Sat, 31 Dec 2005 05:42:41 +0000 (GMT) Received: from [192.168.0.2] (ppp157-158.static.internode.on.net [150.101.157.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by p4.roq.com (Postfix) with ESMTP id 6A4154D078; Sat, 31 Dec 2005 05:42:39 +0000 (GMT) Message-ID: <43B61A3C.7010602@roq.com> Date: Sat, 31 Dec 2005 16:42:20 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Huang wen hui References: <43B5FB4B.5090605@gddsn.org.cn> In-Reply-To: <43B5FB4B.5090605@gddsn.org.cn> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: java Subject: Re: JDK1.5.0-p2/amd64 offen crash 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, 31 Dec 2005 05:42:30 -0000 Yes I have been able to crash it very easily with my own Java servlets as well. Firstly I recommend you do not use the libthr threading library for Java, especially on AMD64/EMT64 setups as it does indeed appear to be quite unstable. After some extensive benchmarking on my stuff I have decided libthr is not good with Java unlike using it for MySQL or Apache. With libthr it might help to increase your thread limits, I have this in sysctl.conf kern.threads.max_threads_per_proc=40000 kern.threads.max_groups_per_proc=40000 If you want to try alternative threading setups I recommend trying this one. [/usr/local/jdk1.5.0/] libc_r.so.6 libpthread.so.2 # Everything now uses 'libpthread' libc_r.so libpthread.so # Mike Huang wen hui wrote: >I offen got crash on EM64T box(DELL 2850) using jdk1.5.0-p2, Has anyone >look at this? all of Internal Error ID are >same "4E4D4554484F440E435050051B". > >--hwh > > ># more hs_err_pid1091.log ># ># An unexpected error has been detected by HotSpot Virtual Machine: ># ># Internal Error (4E4D4554484F440E435050051B), pid=1091, tid=0x8c1c00 ># ># Java VM: Java HotSpot(TM) 64-Bit Server VM >(1.5.0-p2-hwh_28_dec_2005_15_28 mixed mode) > >--------------- T H R E A D --------------- > >Current thread (0x00000000007f5c00): JavaThread "SendSeedDataThread" >[_thread_in_Java, id=9182208] > >Stack: [0x00007fffff575000,0x00007fffff5b5000), sp=0x00007fffff5b3c10, >free space=251k >Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, >C=native code) >V [libjvm.so+0x79063e] >V [libjvm.so+0x465c56] >V [libjvm.so+0x698eab] >V [libjvm.so+0x70aa78] >V [libjvm.so+0x6ac3e4] >V [libjvm.so+0x6aae1e] > > >--------------- P R O C E S S --------------- > >Java Threads: ( => current thread ) >0x000000000051a400 JavaThread "DestroyJavaVM" [_thread_blocked, id=5308416] >0x00000000006dd800 JavaThread "EventRecordThread" [_thread_blocked, >id=10456064] >0x0000000000a19000 JavaThread "RealTimeStreamThread" [_thread_blocked, >id=10453504] >=>0x00000000007f5c00 JavaThread "SendSeedDataThread" [_thread_in_Java, >id=9182208] >0x0000000000702c00 JavaThread "Thread-0" daemon [_thread_blocked, >id=7345152] >0x0000000000679c00 JavaThread "Low Memory Detector" daemon >[_thread_blocked, id=6781440] >0x0000000000679000 JavaThread "CompilerThread1" daemon [_thread_blocked, >id=6780416] >0x0000000000674400 JavaThread "CompilerThread0" daemon [_thread_blocked, >id=6779392] >0x000000000066f800 JavaThread "AdapterThread" daemon [_thread_blocked, >id=6614528] >0x000000000064bc00 JavaThread "Signal Dispatcher" daemon >[_thread_blocked, id=6613504] >0x000000000064b400 JavaThread "Finalizer" daemon [_thread_blocked, >id=6610944] >0x000000000064b000 JavaThread "Reference Handler" daemon >[_thread_blocked, id=6597120] > >Other Threads: >0x000000000063e800 VMThread [id=6547968] >0x000000000051d800 WatcherThread [id=6782464] > >VM state:synchronizing (normal execution) > >VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) >[0x0000000000517300/0x0000000000517380] Safepoint_lock - owner thread: >0x000000000063e800 >[0x0000000000517480/0x0000000000517500] Threads_lock - owner thread: >0x000000000063e800 > >Heap >def new generation total 5184K, used 4148K [0x00000008458f0000, >0x0000000845e80000, 0x000000084ae40000) >eden space 4672K, 77% used [0x00000008458f0000, 0x0000000845c7d278, >0x0000000845d80000) >from space 512K, 99% used [0x0000000845e00000, 0x0000000845e7ffe8, >0x0000000845e80000) >to space 512K, 0% used [0x0000000845d80000, 0x0000000845d80000, >0x0000000845e00000) >tenured generation total 11276K, used 9285K [0x000000084ae40000, >0x000000084b943000, 0x00000008558f0000) >the space 11276K, 82% used [0x000000084ae40000, 0x000000084b751778, >0x000000084b751800, 0x000000084b943000) >compacting perm gen total 21248K, used 7552K [0x00000008558f0000, >0x0000000856db0000, 0x000000085aaf0000) >the space 21248K, 35% used [0x00000008558f0000, 0x0000000856050020, >0x0000000856050200, 0x0000000856db0000) >No shared spaces configured. > >Dynamic libraries: >0x0000000000400000 /usr/local/jdk1.5.0/bin/java >0x0000000800636000 /usr/lib/libthr.so.2 >0x000000080074d000 /lib/libc.so.6 >0x000000080094a000 /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so >0x0000000801383000 /usr/lib/libstdc++.so.5 >0x000000080157a000 /lib/libm.so.4 >0x0000000801696000 >/usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi.so >0x00000008017a2000 /usr/local/jdk1.5.0/jre/lib/amd64/libverify.so >0x00000008018b1000 /usr/local/jdk1.5.0/jre/lib/amd64/libjava.so >0x00000008019d9000 /usr/local/jdk1.5.0/jre/lib/amd64/libzip.so >0x000000085b984000 /usr/local/jdk1.5.0/jre/lib/amd64/libnet.so >0x000000080050c000 /libexec/ld-elf.so.1 > >VM Arguments: >jvm_args: -Xmx256m >java_command: rts.jar -nogui > >Environment Variables: >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/rts/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 >SHELL=/bin/csh >DISPLAY=:0 >HOSTTYPE=FreeBSD >OSTYPE=FreeBSD >MACHTYPE=unknown > > >--------------- S Y S T E M --------------- > >OS:FreeBSD >uname:FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #2: Thu Dec 29 17:31:58 CST >2005 hwh@rts.gddsn.org.cn:/usr/obj/usr/src/sys/RTS amd64 >rlimit: STACK 524288k, CORE infinity, NOFILE 11095 >CPU:total 2 > >Memory: 4k page, physical 262144k > >vm_info: Java HotSpot(TM) 64-Bit Server VM >(1.5.0-p2-hwh_28_dec_2005_15_28) for freebsd-amd64, built on Dec 28 2005 >16:04:19 by root with gcc 3.4.4 [FreeBSD] 20050518 > > > ># cat hs_err_pid4013.log ># ># An unexpected error has been detected by HotSpot Virtual Machine: ># ># Internal Error >(/usr/ports/java/jdk15/work/hotspot/src/share/vm/code/nmethod.cpp, >1307), pid=4013, tid=0x736200 ># ># Java VM: Java HotSpot(TM) 64-Bit Server VM >(1.5.0-p2-hwh_28_dec_2005_22_02-debug mixed mode) ># ># Error: unhandled implicit exception in compiled code > >--------------- T H R E A D --------------- > >Current thread (0x0000000000b5e018): JavaThread "SendSeedDataThread" >[_thread_in_Java, id=7561728] > >Stack: [0x00007fffff4b2000,0x00007fffff4f2000), sp=0x00007fffff4f0ec0, >free space=251k >Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, >C=native code) >V [libjvm_g.so+0xaabdd6] >V [libjvm_g.so+0x595e30] >V [libjvm_g.so+0x912016] >V [libjvm_g.so+0x9f1c98] >V [libjvm_g.so+0x944d5a] >C 0x00007fffffffffc4 >j java.lang.Double.valueOf(Ljava/lang/String;)Ljava/lang/Double;+5 >j java.lang.Double.(Ljava/lang/String;)V+2 >j >edu.iris.timeutils.TimeStamp.parseDateTime(Ljava/lang/String;Ljava/lang/String;)Ljava/util/ArrayList;+54 >j >edu.iris.timeutils.TimeStamp.buildTimestamp(Ljava/lang/String;)Ledu/iris/timeutils/TimeStamp;+80 > > >--------------- P R O C E S S --------------- > >Java Threads: ( => current thread ) >0x0000000000546818 JavaThread "DestroyJavaVM" [_thread_blocked, id=5324800] >=>0x0000000000b5e018 JavaThread "SendSeedDataThread" [_thread_in_Java, >id=7561728] >0x0000000000b38818 JavaThread "AWT-EventQueue-0" [_thread_blocked, >id=11792384] >0x0000000000b38018 JavaThread "AWT-Shutdown" [_thread_blocked, id=10729984] >0x0000000000a39018 JavaThread "AWT-XAWT" daemon [_thread_blocked, >id=10690048] >0x00000000007fb818 JavaThread "Java2D Disposer" daemon [_thread_blocked, >id=7776256] >0x000000000070f018 JavaThread "Low Memory Detector" daemon >[_thread_blocked, id=7386112] >0x0000000000707818 JavaThread "CompilerThread1" daemon [_thread_blocked, >id=7385088] >0x0000000000706018 JavaThread "CompilerThread0" daemon [_thread_blocked, >id=7166976] >0x00000000006e0818 JavaThread "AdapterThread" daemon [_thread_blocked, >id=7165952] >0x00000000006df018 JavaThread "Signal Dispatcher" daemon >[_thread_blocked, id=7164928] >0x00000000006d2018 JavaThread "Finalizer" daemon [_thread_blocked, >id=7109120] >0x0000000000678818 JavaThread "Reference Handler" daemon >[_thread_blocked, id=7107584] > >Other Threads: >0x00000000006bbe18 VMThread [id=7094272] >0x0000000000545e18 WatcherThread [id=7387136] > >VM state:synchronizing (normal execution) > >VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) >[0x0000000000519818/0x0000000000520398] Safepoint_lock - owner thread: >0x00000000006bbe18 >[0x0000000000519918/0x0000000000520498] Threads_lock - owner thread: >0x00000000006bbe18 >[0x0000000000520f18/0x0000000000520f98] Heap_lock - owner thread: >0x0000000000b38818 > >Heap >def new generation total 7808K, used 7016K [0x0000000845d20000, >0x0000000846590000, 0x00000008487c0000) >eden space 6976K, 100% used [0x0000000845d20000, 0x00000008463f0000, >0x00000008463f0000) >from space 832K, 4% used [0x00000008463f0000, 0x00000008463fa368, >0x00000008464c0000) >to space 832K, 0% used [0x00000008464c0000, 0x00000008464c0000, >0x0000000846590000) >tenured generation total 17112K, used 10266K [0x00000008487c0000, >0x0000000849876000, 0x000000084dd20000) >the space 17112K, 59% used [0x00000008487c0000, 0x00000008491c69a8, >0x00000008491c6a00, 0x0000000849876000) >compacting perm gen total 21248K, used 13909K [0x000000084dd20000, >0x000000084f1e0000, 0x0000000852f20000) >the space 21248K, 65% used [0x000000084dd20000, 0x000000084eab54a8, >0x000000084eab5600, 0x000000084f1e0000) >No shared spaces configured. > >Dynamic libraries: >0x0000000000400000 /usr/local/jdk1.5.0/bin/java_g >0x000000080063a000 /usr/lib/libthr.so.2 >0x0000000800751000 /lib/libc.so.6 >0x000000080094e000 /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm_g.so >0x00000008017ae000 /usr/lib/libstdc++.so.5 >0x00000008019a5000 /lib/libm.so.4 >0x0000000801ac1000 >/usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi_g.so >0x0000000801bce000 /usr/local/jdk1.5.0/jre/lib/amd64/libverify_g.so >0x0000000801ce0000 /usr/local/jdk1.5.0/jre/lib/amd64/libjava_g.so >0x0000000801e0c000 /usr/local/jdk1.5.0/jre/lib/amd64/libzip_g.so >0x00000008532ba000 /usr/local/jdk1.5.0/jre/lib/amd64/libawt_g.so >0x00000008534b9000 /usr/local/jdk1.5.0/jre/lib/amd64/libmlib_image_g.so >0x000000085371b000 /usr/local/jdk1.5.0/jre/lib/amd64/xawt/libmawt_g.so >0x00000008538a8000 /usr/X11R6/lib/libXext.so.6 >0x00000008539b9000 /usr/X11R6/lib/libX11.so.6 >0x0000000853b96000 /usr/local/jdk1.5.0/jre/lib/amd64/libfontmanager_g.so >0x0000000853d3b000 /usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2 >0x0000000853e3c000 /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2 >0x0000000853f42000 /usr/X11R6/lib/libXcursor.so.1 >0x000000085404c000 /usr/X11R6/lib/libXrender.so.1 >0x0000000854155000 /usr/local/jdk1.5.0/jre/lib/amd64/libnet_g.so >0x0000000854268000 /usr/local/jdk1.5.0/jre/lib/amd64/libnio_g.so >0x000000085436f000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 >0x0000000800510000 /libexec/ld-elf.so.1 > >VM Arguments: >jvm_args: -XX:SuppressErrorAt=/matcher.hpp:365 -Xmx128m >java_command: IPPlot.jar > >Environment Variables: >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/rts/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 >SHELL=/bin/csh >DISPLAY=:0.0 >HOSTTYPE=FreeBSD >OSTYPE=FreeBSD >MACHTYPE=unknown > > >--------------- S Y S T E M --------------- > >OS:FreeBSD >uname:FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #2: Thu Dec 29 17:31:58 CST >2005 hwh@rts.gddsn.org.cn:/usr/obj/usr/src/sys/RTS amd64 >rlimit: STACK 524288k, CORE infinity, NOFILE 11095 >CPU:total 2 > >Memory: 4k page, physical 262144k > >vm_info: Java HotSpot(TM) 64-Bit Server VM >(1.5.0-p2-hwh_28_dec_2005_22_02) for freebsd-amd64, built on Dec 28 2005 >22:45:11 by root with gcc 3.4.4 [FreeBSD] 20050518 > ># gdb /usr/local/jdk1.5.0/bin/java_g -core java_g.core >GNU gdb 6.1.1 [FreeBSD] >Copyright 2004 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain >conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "amd64-marcel-freebsd"... >Core was generated by `java_g'. >Program terminated with signal 6, Aborted. >Reading symbols from /usr/lib/libthr.so.2...done. >Loaded symbols for /usr/lib/libthr.so.2 >Reading symbols from /lib/libc.so.6...done. >Loaded symbols for /lib/libc.so.6 >Reading symbols from >/usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm_g.so >Reading symbols from /usr/lib/libstdc++.so.5...done. >Loaded symbols for /usr/lib/libstdc++.so.5 >Reading symbols from /lib/libm.so.4...done. >Loaded symbols for /lib/libm.so.4 >Reading symbols from >/usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi_g.so...done. >Loaded symbols for >/usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi_g.so >Reading symbols from >/usr/local/jdk1.5.0/jre/lib/amd64/libverify_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libverify_g.so >Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libjava_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libjava_g.so >Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libzip_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libzip_g.so >Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libawt_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libawt_g.so >Reading symbols from >/usr/local/jdk1.5.0/jre/lib/amd64/libmlib_image_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libmlib_image_g.so >Reading symbols from >/usr/local/jdk1.5.0/jre/lib/amd64/xawt/libmawt_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/xawt/libmawt_g.so >Reading symbols from /usr/X11R6/lib/libXext.so.6...done. >Loaded symbols for /usr/X11R6/lib/libXext.so.6 >Reading symbols from /usr/X11R6/lib/libX11.so.6...done. >Loaded symbols for /usr/X11R6/lib/libX11.so.6 >Reading symbols from >/usr/local/jdk1.5.0/jre/lib/amd64/libfontmanager_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libfontmanager_g.so >Reading symbols from >/usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2...done. >Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2 >Reading symbols from >/usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2...done. >Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2 >Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done. >Loaded symbols for /usr/X11R6/lib/libXcursor.so.1 >Reading symbols from /usr/X11R6/lib/libXrender.so.1...done. >Loaded symbols for /usr/X11R6/lib/libXrender.so.1 >Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libnet_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libnet_g.so >Reading symbols from /usr/local/jdk1.5.0/jre/lib/amd64/libnio_g.so...done. >Loaded symbols for /usr/local/jdk1.5.0/jre/lib/amd64/libnio_g.so >Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done. >Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 >Reading symbols from /libexec/ld-elf.so.1...done. >Loaded symbols for /libexec/ld-elf.so.1 >#0 0x000000080079ef2c in thr_kill () from /lib/libc.so.6 >[New Thread 0x736200 (LWP 100215)] >[New Thread 0xb3f000 (LWP 100213)] >[New Thread 0xa3ba00 (LWP 100212)] >[New Thread 0xa31e00 (LWP 100211)] >[New Thread 0x76a800 (LWP 100210)] >[New Thread 0x70b800 (LWP 100209)] >[New Thread 0x70b400 (LWP 100208)] >[New Thread 0x70b000 (LWP 100201)] >[New Thread 0x6d5c00 (LWP 100195)] >[New Thread 0x6d5800 (LWP 100192)] >[New Thread 0x6d5400 (LWP 100179)] >[New Thread 0x6c7a00 (LWP 100174)] >[New Thread 0x6c7400 (LWP 100161)] >[New Thread 0x6c4000 (LWP 100150)] >[New Thread 0x514000 (LWP 100214)] >(gdb) bt >#0 0x000000080079ef2c in thr_kill () from /lib/libc.so.6 >#1 0x0000000800641d4f in raise () from /usr/lib/libthr.so.2 >#2 0x0000000800813d4d in abort () from /lib/libc.so.6 >#3 0x000000080128dc81 in os::abort (dump_core=21615123) >at /usr/ports/java/jdk15/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1330 >#4 0x00000008013fa019 in VMError::report_and_die (this=0x7fffff4f0f50) >at /usr/ports/java/jdk15/work/hotspot/src/share/vm/utilities/vmError.cpp:697 >#5 0x0000000800ee3e30 in report_fatal ( >file_name=0x801497090 >"/usr/ports/java/jdk15/work/hotspot/src/share/vm/code/nmethod.cpp", >line_no=1307, >message=0x801498310 "unhandled implicit exception in compiled code") >at /usr/ports/java/jdk15/work/hotspot/src/share/vm/utilities/debug.cpp:216 >#6 0x0000000801260016 in nmethod::continuation_for_implicit_exception ( >this=0x804e47690, >pc=0x804e47809 >"\205\005\uffff\uffffo\uffff¨´\uffff\uffff\uffff\uffffL\211\024$D\211\\$\b\220\uffff|\203\uffff\uffff\uffff\uffffSD\uffff\uffff\uffff\uffff\uffff\uffffL\211\024$D\211\\$\b\uffffd\203\uffff\uffff\uffff\217SD >at /usr/ports/java/jdk15/work/hotspot/src/share/vm/code/nmethod.cpp:1307 >#7 0x000000080133fc98 in >SharedRuntime::continuation_for_implicit_exception ( >thread=0xb5e018, >faulting_pc=0x804e47809 >"\205\005\uffff\uffffo\uffff¨´\uffff\uffff\uffff\uffffL\211\024$D\211\\$\b\220\uffff|\203\uffff\uffff\uffff\uffffSD\uffff\uffff\uffff\uffff\uffff\uffffL\211\024$D\211\\$\b\uffffd\203\uffff\uffff\uffff\217SD\uffff\uffff\uffff", >exception_kind=IMPLICIT_NULL) >at >/usr/ports/java/jdk15/work/hotspot/src/share/vm/runtime/sharedRuntime.cpp:450 >#8 0x0000000801292d5a in JVM_handle_bsd_signal (sig=10, info=0x7fffff4f1570, >ucVoid=0x7fffff4f1200, abort_if_unrecognized=1) >at >/usr/ports/java/jdk15/work/hotspot/src/os_cpu/bsd_amd64/vm/os_bsd_amd64.cpp:490 >#9 >#10 0x0000000804e47809 in ?? () >#11 0x0000000804e350c1 in ?? () >#12 0x00007fffff4f16c0 in ?? () >#13 0x0000000000000000 in ?? () >#14 0x0000000000000000 in ?? () >#15 0x00007fffff4f1670 in ?? () >#16 0x0000000804d16ec5 in ?? () >#17 0x0000000000000000 in ?? () >#18 0x00000008463e18b8 in ?? () >#19 0x00007fffff4f1688 in ?? () >#20 0x000000084dfb415f in ?? () >#21 0x00007fffff4f1760 in ?? () >#22 0x000000084dfb5e30 in ?? () >#23 0x000000084e996628 in ?? () >#24 0x000000084dfb4410 in ?? () >#25 0x00007fffff4f1760 in ?? () >#26 0x00007fffff4f17b0 in ?? () >#27 0x0000000804d16e53 in ?? () >#28 0x0000000000000000 in ?? () >#29 0x0000000000000000 in ?? () >#30 0x0000000000000000 in ?? () >#31 0x0000000000000000 in ?? () >#32 0x0000000000000000 in ?? () >#33 0x0000000000000000 in ?? () >---Type to continue, or q to quit--- >#34 0x0000000000000000 in ?? () >#35 0x0000000000000000 in ?? () >#36 0x0000000000000000 in ?? () >#37 0x0000000000000000 in ?? () >#38 0x0000000000000000 in ?? () >#39 0x00000008463e1910 in ?? () >#40 0x0000000000000000 in ?? () >#41 0x0000000000000004 in ?? () >#42 0x0000000000000032 in ?? () >#43 0x0000000000000000 in ?? () >#44 0x0000000000000000 in ?? () >#45 0x0000000000000000 in ?? () >#46 0x00000008463e18b8 in ?? () >#47 0x00000008463e18f8 in ?? () >#48 0x00000008463e18f8 in ?? () >#49 0x00007fffff4f1778 in ?? () >#50 0x000000084dda9e15 in ?? () >#51 0x00007fffff4f17c0 in ?? () >#52 0x000000084de19910 in ?? () >#53 0x000000084e9d1660 in ?? () >#54 0x000000084dda9e28 in ?? () >#55 0x00007fffff4f17c0 in ?? () >#56 0x00007fffff4f1808 in ?? () >#57 0x0000000804d16e53 in ?? () >#58 0x00000008463e18b8 in ?? () >#59 0x00000008463e18e0 in ?? () >#60 0x00007fffff4f17d0 in ?? () >#61 0x000000084ddaa2c2 in ?? () >#62 0x00007fffff4f1820 in ?? () >#63 0x000000084de19910 in ?? () >#64 0x000000084e9d15c0 in ?? () >#65 0x000000084ddaa2d8 in ?? () >#66 0x00007fffff4f1818 in ?? () >#67 0x00007fffff4f1868 in ?? () >#68 0x0000000804d16d36 in ?? () >#69 0x00000008463e18b8 in ?? () >#70 0x00000008463e18e0 in ?? () >#71 0x00000008463e18e0 in ?? () >#72 0x00007fffff4f1830 in ?? () >#73 0x000000084e16f916 in ?? () >#74 0x00007fffff4f18a0 in ?? () >#75 0x000000084e939b20 in ?? () >#76 0x000000084e9cc210 in ?? () >#77 0x000000084e16f998 in ?? () >#78 0x00007fffff4f1898 in ?? () >#79 0x00007fffff4f18e0 in ?? () >#80 0x0000000804d16e53 in ?? () >#81 0x0000000000000000 in ?? () >#82 0x00000008463e1878 in ?? () >#83 0x0000000000000000 in ?? () >#84 0x00000008463e17e8 in ?? () >#85 0x000000084e93a5c0 in ?? () >---Type to continue, or q to quit--- >#86 0x00000008463e0a78 in ?? () >#87 0x00007fffff4f18a8 in ?? () >#88 0x000000084e16e488 in ?? () >#89 0x00007fffff4f1980 in ?? () >#90 0x000000084e939b20 in ?? () >#91 0x000000084ea74848 in ?? () >#92 0x000000084e16e898 in ?? () >#93 0x00007fffff4f1980 in ?? () >#94 0x0000000000000000 in ?? () >#95 0x0000000804e41b38 in ?? () >#96 0x0000000000000000 in ?? () >#97 0x0000000000000000 in ?? () >#98 0x0000000000000000 in ?? () >#99 0x0000000000000000 in ?? () >#100 0x0000000000000000 in ?? () >#101 0x0000000000000000 in ?? () >#102 0x0000000000000000 in ?? () >#103 0x0000000000000000 in ?? () >#104 0x0000000000000000 in ?? () >#105 0x0000000000000000 in ?? () >#106 0x0000000000000000 in ?? () >#107 0x0000000000000000 in ?? () >#108 0x0000000000000000 in ?? () >#109 0x0000000000000000 in ?? () >#110 0x0000000000000001 in ?? () >#111 0x0000000000000000 in ?? () >#112 0x0000000000000001 in ?? () >#113 0x00000000000007b2 in ?? () >#114 0x00000008463e0a78 in ?? () >#115 0x00007fffff4f1a28 in ?? () >#116 0x000000084e14943b in ?? () >#117 0x000000084eaa4d88 in ?? () >#118 0x000000084e8cf23e in ?? () >#119 0x0000000804e74e68 in ?? () >#120 0x00007fffff4f1a28 in ?? () >#121 0x0000000804e41d7e in ?? () >#122 0x00007fffff4f1a28 in ?? () >#123 0x00007fffff4f19d8 in ?? () >#124 0x0000000000000007 in ?? () >#125 0x00007fffff4f19e0 in ?? () >#126 0x0000000804d16e53 in ?? () >#127 0x0000000846364fe8 in ?? () >#128 0x00007fffff4f19f0 in ?? () >#129 0x000000084e14943b in ?? () >#130 0x00007fffff4f1a58 in ?? () >#131 0x000000084e6448b0 in ?? () >#132 0x000000084eaa4d88 in ?? () >#133 0x000000084e149520 in ?? () >#134 0x00007fffff4f1a50 in ?? () >#135 0x0000000000000000 in ?? () >#136 0x0000000804e4cf7c in ?? () >#137 0x0000000000000000 in ?? () >---Type to continue, or q to quit--- >#138 0x0000000000000000 in ?? () >#139 0x0000000846364fe8 in ?? () >#140 0x0000000846368850 in ?? () >#141 0x00000008489f8db0 in ?? () >#142 0x000000000000001b in ?? () >#143 0x0000000848c1e798 in ?? () >#144 0x000000000000001b in ?? () >#145 0x000000084e1bd1d0 in ?? () >#146 0x0000000000000000 in ?? () >#147 0x0000000804e733b0 in ?? () >#148 0x0000000846368850 in ?? () >#149 0x00007fff00000003 in ?? () >#150 0x0000000804d16d36 in ?? () >#151 0x00007fffff4f1b58 in ?? () >#152 0x000000084e661139 in ?? () >#153 0x000000084eab19b8 in ?? () >#154 0x000000084e92fb3a in ?? () >#155 0x00007fffff4f1b10 in ?? () >#156 0x0000000000000001 in ?? () >#157 0x0000000804e4a842 in ?? () >#158 0x00007fffff4f1b58 in ?? () >#159 0x00007fffff4f1b00 in ?? () >#160 0x00007fffff4f1b58 in ?? () >#161 0x00007fffff4f1b08 in ?? () >#162 0x0000000846364fe8 in ?? () >#163 0x0000000804d16d36 in ?? () >#164 0x0000000846368850 in ?? () >#165 0x0000000848c1e708 in ?? () >#166 0x00007fffff4f1b20 in ?? () >#167 0x000000084e661139 in ?? () >#168 0x00007fffff4f1b78 in ?? () >#169 0x000000084e685380 in ?? () >#170 0x000000084eab19b8 in ?? () >#171 0x000000084e661178 in ?? () >#172 0x00007fffff4f1b78 in ?? () >#173 0x00007fffff4f1be0 in ?? () >#174 0x0000000804d1449d in ?? () >#175 0x0000000846368850 in ?? () >#176 0x0000000846364fe8 in ?? () >#177 0x0000000848c1e670 in ?? () >#178 0x0000000000001f80 in ?? () >#179 0x00007fffff4f1e00 in ?? () >#180 0x00007fffff4f1ec0 in ?? () >#181 0x0000000000000001 in ?? () >#182 0x0000000000b5e018 in ?? () >#183 0x00000000007fb058 in ?? () >#184 0x00007fffff4f1c70 in ?? () >#185 0x00007fffff4f1ec8 in ?? () >#186 0x000000000000000a in ?? () >#187 0x000000084e66b658 in ?? () >#188 0x0000000804d26e60 in ?? () >#189 0x00007fffff4f1e10 in ?? () >---Type to continue, or q to quit--- >#190 0x00007fffff4f1d00 in ?? () >#191 0x0000000800fcc47c in JavaCalls::call_helper (result=0x7fffff4f1760, >m=0x0, args=0xb5e018, __the_thread__=0x0) at stubRoutines.hpp:130 >Previous frame inner to this frame (corrupt stack?) >(gdb) >(gdb) quit > > >_______________________________________________ >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" > > From owner-freebsd-java@FreeBSD.ORG Sat Dec 31 15:32:31 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D799F16A41F for ; Sat, 31 Dec 2005 15:32:31 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D3A943D5C for ; Sat, 31 Dec 2005 15:32:31 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.1.5] (unknown [218.19.82.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id C8FC738CB41; Sat, 31 Dec 2005 23:32:28 +0800 (CST) Message-ID: <43B6A48A.8080400@gddsn.org.cn> Date: Sat, 31 Dec 2005 23:32:26 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051212) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: Michael Vince References: <43B5FB4B.5090605@gddsn.org.cn> <43B61A3C.7010602@roq.com> In-Reply-To: <43B61A3C.7010602@roq.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: java Subject: Re: JDK1.5.0-p2/amd64 offen crash 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, 31 Dec 2005 15:32:32 -0000 Michael Vince wrote: > Yes I have been able to crash it very easily with my own Java servlets > as well. use libpthread in this case ? > > Firstly I recommend you do not use the libthr threading library for > Java, especially on AMD64/EMT64 setups as it does indeed appear to be > quite unstable. > After some extensive benchmarking on my stuff I have decided libthr is > not good with Java unlike using it for MySQL or Apache. You are right, revert back to libpthread, jdk1.5.0-p2 is more stable. I did not get crash on 3 servers in 8 hours. I do not recognize java+libthr is bad idea in amd64. Thank you! --hwh > > With libthr it might help to increase your thread limits, I have this > in sysctl.conf > kern.threads.max_threads_per_proc=40000 > kern.threads.max_groups_per_proc=40000 > > If you want to try alternative threading setups I recommend trying > this one. > [/usr/local/jdk1.5.0/] > libc_r.so.6 libpthread.so.2 # Everything now uses > 'libpthread' > libc_r.so libpthread.so # > > Mike >