Date: Thu, 10 Nov 2005 06:26:01 GMT From: Vladimir Grebenschikov <vova@fbsd.ru> To: gnats <FreeBSD-gnats-submit@FreeBSD.org> Cc: linimon@FreeBSD.org Subject: ports/88777: eclipse crashes java machine on indexing cdt project Message-ID: <200511100626.jAA6Q1BG013222@freefall.freebsd.org> Resent-Message-ID: <200511100630.jAA6UFLC013355@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88777 >Category: ports >Synopsis: eclipse crashes java machine on indexing cdt project >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 10 06:30:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vladimir Grebenschikov >Release: FreeBSD 7.0-CURRENT i386 >Organization: SWsoft >Environment: FreeBSD vbook.fbsd.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sat Nov 5 20:11:28 MSK 2005 root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK i386 % pkg_info -I eclipse\* jdk\* eclipse-3.1.1_2 An open extensible IDE for anything and nothing in particul eclipse-3.1_2 An open extensible IDE for anything and nothing in particul eclipse-EPIC-0.3.0_2 EPIC adds Perl support to the Eclipse IDE Framework eclipse-cdt-3.0.0 C/C++ IDE for Eclipse eclipse-emf-2.1.1 Eclipse Modeling Framework eclipse-sqlexplorer-2.2.2_2 A visual database query tool for Eclipse eclipse-uml-1.1.1 A framework creating UML diagrams in Eclipse jdk-1.4.2p7_2 Java Development Kit 1.4.2 jdk-1.5.0p2_2 Java Development Kit 1.5.0 % Elcipse runs with jdk15 >Description: Eclipse crashes on indexing CDT project in 100% times. % gdb /usr/local/jdk1.5.0/bin/java java.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 "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `java'. Program terminated with signal 6, Aborted. ... #0 0x280a63d7 in pthread_testcancel () from /usr/lib/libpthread.so.2 [New Thread 0x91b8c00 (sleeping)] [New Thread 0x91b8800 (sleeping)] [New Thread 0x91b8000 (sleeping)] [New Thread 0x91abe00 (sleeping)] [New Thread 0x9180000 (sleeping)] [New Thread 0x919ac00 (sleeping)] [New Thread 0x919a800 (sleeping)] [New Thread 0x919a400 (sleeping)] [New Thread 0x93f6e00 (LWP 100179)] [New Thread 0x8ee6000 (sleeping)] [New Thread 0x8196000 (sleeping)] [New Thread 0x8bafa00 (sleeping)] [New Thread 0x8492000 (sleeping)] [New Thread 0x847d600 (sleeping)] [New Thread 0x815f200 (sleeping)] [New Thread 0x813fe00 (sleeping)] [New Thread 0x813fa00 (sleeping)] [New Thread 0x813f600 (sleeping)] [New Thread 0x813f200 (sleeping)] [New Thread 0x806be00 (sleeping)] [New Thread 0x806ba00 (sleeping)] [New Thread 0x806b800 (LWP 100176)] [New Thread 0x8060000 (runnable)] (gdb) bt #0 0x280a63d7 in pthread_testcancel () from /usr/lib/libpthread.so.2 #1 0x280957f6 in sigaction () from /usr/lib/libpthread.so.2 #2 0x2808f831 in pthread_kill () from /usr/lib/libpthread.so.2 #3 0x2808f1fa in raise () from /usr/lib/libpthread.so.2 #4 0x2815da60 in abort () from /lib/libc.so.6 #5 0x284d2193 in os::abort () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so #6 0x2855d5fd in VMError::report_and_die () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so #7 0x28395fcb in report_fatal () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so #8 0x284d0575 in ThreadLocalStorage::get_thread_via_cache_slowly () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so #9 0x282a22b9 in ThreadLocalStorage::thread () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so #10 0x28493b8d in JvmtiEventCollector::unset_jvmti_thread_state () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so #11 0x2849436e in JvmtiVMObjectAllocEventCollector::~JvmtiVMObjectAllocEventCollector () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so #12 0x2843926b in JVM_NewArray () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so #13 0x2861c0f9 in Java_java_lang_reflect_Array_newArray () from /usr/local/jdk1.5.0/jre/lib/i386/libjava.so #14 0x2b84a9dc in ?? () #15 0x093f6cbc in ?? () #16 0xbf4eefcc in ?? () #17 0xbf4eefdc in ?? () #18 0x00000002 in ?? () #19 0x2d612738 in ?? () #20 0x5931acc8 in ?? () #21 0xbf4ef008 in ?? () #22 0x2b7f2d9d in ?? () #23 0x00000002 in ?? () #24 0x5a9a3920 in ?? () #25 0x00000000 in ?? () #26 0x0000000a in ?? () #27 0x00000000 in ?? () #28 0x3287ac70 in ?? () #29 0x2d612738 in ?? () #30 0x5a9db398 in ?? () #31 0x00000002 in ?? () #32 0x5a9a3920 in ?? () #33 0x00000000 in ?? () #34 0x2b9b3141 in ?? () #35 0xbf4ef080 in ?? () #36 0x2b9b333f in ?? () #37 0x2d6126f0 in ?? () #38 0x00000000 in ?? () #39 0x5a9a3920 in ?? () #40 0x2d612738 in ?? () #41 0x2d6205e4 in ?? () #42 0x5a9f07e0 in ?? () #43 0x00000006 in ?? () #44 0x5a9464c8 in ?? () #45 0x35724a08 in ?? () #46 0x00000018 in ?? () #47 0x5a8ef1b8 in ?? () #48 0x2b90304a in ?? () #49 0x3569ad28 in ?? () #50 0x5a8cd400 in ?? () #51 0x00000000 in ?? () #52 0x0000000a in ?? () #53 0x00000000 in ?? () #54 0x3287ac70 in ?? () ---Type <return> to continue, or q <return> to quit--- #55 0x2d612738 in ?? () #56 0x00000000 in ?? () #57 0x2d612810 in ?? () #58 0x00000000 in ?? () #59 0x2d6126f0 in ?? () #60 0x00000000 in ?? () #61 0x00000000 in ?? () #62 0x2d612810 in ?? () #63 0x00000000 in ?? () #64 0x2d612810 in ?? () #65 0xbf4ef0b0 in ?? () #66 0x2b963c75 in ?? () #67 0x00000001 in ?? () #68 0x2d612738 in ?? () #69 0x5a8d8548 in ?? () #70 0x00000000 in ?? () #71 0x3569ad28 in ?? () #72 0x5a9d6918 in ?? () #73 0x35724a08 in ?? () #74 0x2dfc9990 in ?? () #75 0x3569ad28 in ?? () #76 0x357e6780 in ?? () #77 0xbf4ef118 in ?? () #78 0x2b927d78 in ?? () #79 0x00000001 in ?? () #80 0x357862a0 in ?? () #81 0x2d612558 in ?? () #82 0x2b900a96 in ?? () #83 0x357862a0 in ?? () #84 0x285b7474 in __JCR_LIST__ () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so #85 0x093f6c00 in ?? () #86 0x093f6c00 in ?? () #87 0x31a73810 in ?? () #88 0x35724a08 in ?? () #89 0xbf4ef100 in ?? () #90 0x2b93bef5 in ?? () #91 0x2d6205f8 in ?? () #92 0x284392af in JVM_NewArray () from /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so Previous frame inner to this frame (corrupt stack?) (gdb) % cat hs_err_pid1648.log # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4F533F4253440E4350500060), pid=1648, tid=0x93f6e00 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-root_06_nov_2005_15_22 mixed mode) --------------- T H R E A D --------------- Current thread (0x093f6c00): JavaThread "C/C++ Indexer" daemon [_thread_in_vm, id=155151872] Stack: [0xbf4ef000,0xbf52f000), sp=0xbf4eed88, free space=-1k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x3d927b] V [libjvm.so+0x211fcb] V [libjvm.so+0x34c575] V [libjvm.so+0x11e2b9] V [libjvm.so+0x30fb8d] V [libjvm.so+0x31036e] V [libjvm.so+0x2b526b] C [libjava.so+0x110f9] Java_java_lang_reflect_Array_newArray+0x21 J java.lang.reflect.Array.newArray(Ljava/lang/Class;I)Ljava/lang/Object; [note from Mark Linimon: trimmed to pass GNATS filters] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x091b8a00 JavaThread "Worker-10" daemon [_thread_blocked, id=152800256] 0x091b8400 JavaThread "Worker-9" daemon [_thread_blocked, id=152799232] 0x091a0800 JavaThread "Worker-8" daemon [_thread_blocked, id=152797184] 0x09180e00 JavaThread "Worker-7" daemon [_thread_blocked, id=152747520] 0x09189200 JavaThread "Worker-6" daemon [_thread_blocked, id=152567808] 0x0919aa00 JavaThread "Worker-5" daemon [_thread_blocked, id=152677376] 0x0919a600 JavaThread "Worker-4" daemon [_thread_blocked, id=152676352] 0x09120600 JavaThread "Worker-3" daemon [_thread_blocked, id=152675328] =>0x093f6c00 JavaThread "C/C++ Indexer" daemon [_thread_in_vm, id=155151872] 0x08c8de00 JavaThread "Worker-2" daemon [_thread_blocked, id=149839872] 0x08bafe00 JavaThread "Worker-1" daemon [_thread_blocked, id=135880704] 0x08baf800 JavaThread "Worker-0" daemon [_thread_blocked, id=146471424] 0x0847de00 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=139010048] 0x0847d400 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=138925568] 0x0813fc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135527936] 0x0813f800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135526912] 0x0813f400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135525888] 0x0813f000 JavaThread "Finalizer" daemon [_thread_blocked, id=135524864] 0x0806bc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=134659584] 0x08060c00 JavaThread "main" [_thread_in_native, id=134610944] Other Threads: 0x08130100 VMThread [id=134658560] 0x0805ac00 WatcherThread [id=135655936] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 9728K, used 1924K [0x2d550000, 0x2dfd0000, 0x30b20000) eden space 8704K, 10% used [0x2d550000, 0x2d631200, 0x2ddd0000) from space 1024K, 100% used [0x2ded0000, 0x2dfd0000, 0x2dfd0000) to space 1024K, 0% used [0x2ddd0000, 0x2ddd0000, 0x2ded0000) tenured generation total 128712K, used 79524K [0x30b20000, 0x388d2000, 0x59150000) the space 128712K, 61% used [0x30b20000, 0x358c93a0, 0x358c9400, 0x388d2000) compacting perm gen total 25600K, used 25395K [0x59150000, 0x5aa50000, 0x5d150000) the space 25600K, 99% used [0x59150000, 0x5aa1cf08, 0x5aa1d000, 0x5aa50000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/jdk1.5.0/bin/java 0x28089000 /usr/lib/libpthread.so.2 0x280ae000 /lib/libc.so.6 0x28184000 /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so 0x285d6000 /lib/libm.so.4 0x285ed000 /usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x285fe000 /usr/local/jdk1.5.0/jre/lib/i386/libverify.so 0x2860b000 /usr/local/jdk1.5.0/jre/lib/i386/libjava.so 0x2862a000 /usr/local/jdk1.5.0/jre/lib/i386/libzip.so 0x5d5e0000 /usr/local/jdk1.5.0/jre/lib/i386/libnet.so 0x5d5f1000 /usr/local/jdk1.5.0/jre/lib/i386/libnio.so 0x61f63000 /usr/home/vova/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/189/1/.cp/libswt-pi-gtk-3139.so 0x61fa6000 /usr/X11R6/lib/libgtk-x11-2.0.so.0 0x62250000 /usr/local/lib/libgthread-2.0.so.0 0x62254000 /usr/X11R6/lib/libXtst.so.6 0x62259000 /usr/X11R6/lib/libgdk_pixbuf-2.0.so.0 0x6226d000 /usr/X11R6/lib/libgdk-x11-2.0.so.0 0x622e6000 /usr/X11R6/lib/libXrandr.so.2 0x622ea000 /usr/X11R6/lib/libXrender.so.1 0x622f2000 /usr/X11R6/lib/libXi.so.6 0x622fa000 /usr/X11R6/lib/libXinerama.so.1 0x622fd000 /usr/X11R6/lib/libXext.so.6 0x6230a000 /usr/X11R6/lib/libX11.so.6 0x623cb000 /usr/X11R6/lib/libpangocairo-1.0.so.0 0x623d2000 /usr/X11R6/lib/libpangoft2-1.0.so.0 0x623f6000 /usr/X11R6/lib/libfontconfig.so.1 0x62422000 /usr/local/lib/libfreetype.so.9 0x62487000 /lib/libz.so.3 0x62497000 /usr/X11R6/lib/libpango-1.0.so.0 0x624cc000 /usr/local/lib/libatk-1.0.so.0 0x624e4000 /usr/local/lib/libgobject-2.0.so.0 0x62518000 /usr/local/lib/libgmodule-2.0.so.0 0x6251b000 /usr/local/lib/libglib-2.0.so.0 0x62597000 /usr/local/lib/libiconv.so.3 0x62684000 /usr/local/lib/libcairo.so.2 0x626cc000 /usr/local/lib/libintl.so.6 0x626d5000 /usr/X11R6/lib/libXcursor.so.1 0x626de000 /usr/X11R6/lib/libXfixes.so.3 0x626e3000 /usr/local/lib/libexpat.so.5 0x62701000 /usr/local/lib/libpng.so.5 0x6272d000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0x62763000 /usr/home/vova/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/189/1/.cp/libswt-gtk-3139.so 0x6278b000 /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libclearlooks.so 0x627ae000 /usr/X11R6/lib/pango/1.4.0/modules/pango-basic-fc.so 0x62873000 /usr/home/vova/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/25/1/.cp/os/freebsd/x86/libcore_3_1_0.so 0x61d4f000 /usr/home/vova/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/189/1/.cp/libswt-gnome-gtk-3139.so 0x62e72000 /usr/X11R6/lib/libgnomevfs-2.so.0 0x627b1000 /usr/X11R6/lib/libgnome-2.so.0 0x62eca000 /usr/X11R6/lib/libgnomeui-2.so.0 0x62f50000 /usr/X11R6/lib/libgconf-2.so.4 0x62f7e000 /usr/local/lib/libbonobo-2.so.0 0x628ef000 /usr/local/lib/libbonobo-activation.so.4 0x62fcd000 /usr/local/lib/libORBit-2.so.0 0x6301a000 /usr/local/lib/libxml2.so.5 0x6311d000 /usr/lib/libssl.so.4 0x6314b000 /lib/libcrypto.so.4 0x6323d000 /usr/local/lib/libhowl.so.0 0x627c3000 /usr/local/lib/libesd.so.2 0x62925000 /usr/local/lib/libaudiofile.so.0 0x627cb000 /usr/local/lib/libpopt.so.0 0x63365000 /usr/X11R6/lib/libbonoboui-2.so.0 0x633bc000 /usr/X11R6/lib/libgnomecanvas-2.so.0 0x62901000 /usr/local/lib/libart_lgpl_2.so.5 0x633e4000 /usr/X11R6/lib/libgnome-keyring.so.0 0x633ee000 /usr/local/lib/libjpeg.so.9 0x6340c000 /usr/X11R6/lib/libSM.so.6 0x63414000 /usr/X11R6/lib/libICE.so.6 0x627a9000 /usr/local/lib/libORBitCosNaming-2.so.0 0x6342a000 /usr/local/lib/compat/libm.so.3 0x63445000 /usr/X11R6/lib/gnome-vfs-2.0/modules/libfile.so 0x6344f000 /usr/local/lib/libfam.so.0 0x63456000 /usr/local/lib/compat/libstdc++.so.4 0x28055000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xmx700M java_command: /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 10017 -vm /usr/local/jdk1.5.0/bin/java -vmargs -Xmx700M -jar /usr/local/eclipse/startup.jar Environment Variables: PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/vova/bin USERNAME=vova LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/i386/client:/usr/local/jdk1.5.0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386:/usr/X11R6/lib/mozilla::/usr/X11R6/lib/mozilla SHELL=/bin/tcsh DISPLAY=:0.0 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sat Nov 5 20:11:28 MSK 2005 root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK i386 rlimit: STACK 65536k, CORE infinity, NOFILE 11095 CPU:total 1 family 6, cmov, cx8, fxsr, mmx Memory: 4k page, physical 896196k vm_info: Java HotSpot(TM) Client VM (1.5.0-p2-root_06_nov_2005_15_22) for freebsd-x86, built on Nov 6 2005 16:45:02 by root with gcc 3.4.4 [FreeBSD] 20050518 >How-To-Repeat: Just try to index C++ project with Full indexer (native for eclipse) >Fix: -- Vladimir B. Grebenschikov vova@fbsd.ru >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511100626.jAA6Q1BG013222>