Date: Fri, 14 Oct 2005 09:57:29 -0700 From: Sean McNeil <sean@mcneil.com> To: Panagiotis Astithas <past@ebs.gr> Cc: java@freebsd.org Subject: Re: file dialog aborts on amd64 6-RC1 Message-ID: <1129309049.27496.22.camel@server.mcneil.com> In-Reply-To: <434F6342.20207@ebs.gr> References: <1129274231.24866.2.camel@server.mcneil.com> <434F6342.20207@ebs.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2005-10-14 at 10:50 +0300, Panagiotis Astithas wrote: > Sean McNeil wrote: > > I tried to do an import -> plugins and browse the directory location. > > This consistenly causes the dialog to crash: > > > > # > > # An unexpected error has been detected by HotSpot Virtual Machine: > > # > > # SIGSEGV (0xb) at pc=0x00000008021e9c1a, pid=24587, tid=0x51a000 > > # > > # Java VM: Java HotSpot(TM) 64-Bit Server VM > > (1.5.0-p2-root_13_oct_2005_18_05 mixed mode) > > # Problematic frame: > > # C [libzip.so+0x7c1a] inflateEnd+0x3a > > # > > # An error report file with more information is saved as > > hs_err_pid24587.log > > # > > # If you would like to submit a bug report, please write > > # a letter to freebsd-java@FreeBSD.org mailing list > > # > > As the message says, this should go to freebsd-java, along with the > hs_err_pid24587.log file. Have you tried increasing the maximum heap size? OK, I've move this thread to java@. I figured this predated the eclipse mailing list and the list threw out my attachment of the log for some reason. Also, as I've reported before on a different thread, I believe there is an issue with eclipse using the wrong API for libz. There are problems with eclipse and gtk themes that use the pixmap engine. It complains of libz versioning. Now, I have a hard failure that is caused by libz and I've noticed something peculiar. It appears that /usr/local/jdk1.5.0/jre/lib/amd64/libzip.so is invoking a routine in libz where is should not. libzip doesn't depend on libz. Might there be some problem with namespace pollution going on here? Does libzip need to be removed from the java build and libz used instead? This would appear to be the case as they are not compatible yet are both used because of gtk. This is what I did in eclipse to produce the problem: File -> Import External Plug-ins and Fragments The target platform (...) unchecked hit browse double-click a directory on the left side of the dialog. Here is the most recent error log inline: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x00000008021e9c1a, pid=29485, tid=0x51a000 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-root_13_oct_2005_18_05 mixed mode) # Problematic frame: # C [libzip.so+0x7c1a] inflateEnd+0x3a # --------------- T H R E A D --------------- Current thread (0x000000000051a800): JavaThread "main" [_thread_in_native, id=5349376] siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x00001c000000005c Registers: RAX=0x00001c0000000044, RBX=0x0000000001ccb100, RCX=0x0000000000000070, RDX=0x000000085edf7fb4 RSP=0x00007fffffffb790, RBP=0x00007fffffffb7a0, RSI=0x00000000fffffff1, RDI=0x0000000001ccb100 R8 =0x0000000000000001, R9 =0x0000000000000000, R10=0x0000000000000000, R11=0x0000000000000000 R12=0x00007fffffffb813, R13=0x0000000000df13c0, R14=0x00000000ffffffff, R15=0x0000000000000000 RIP=0x00000008021e9c1a, EFL=0xffffffffb49f38c0, CSGSFS=0xffffff00449533e0, ERR=0xffffff006db03800 TRAPNO=0xffffffff807012a0 Top of Stack: (sp=0x00007fffffffb790) 0x00007fffffffb790: 0000000000000070 0000000001ccb100 0x00007fffffffb7a0: 0000000000000000 000000085edef7f7 0x00007fffffffb7b0: 0000000001ccb100 0000000001ccb100 0x00007fffffffb7c0: 0000000860fbda79 000000085edefb5f 0x00007fffffffb7d0: 0000000000000000 000000085f7b25a8 0x00007fffffffb7e0: 000000000051a000 0000000100000000 0x00007fffffffb7f0: 000000080075b3c8 0000000860f1d4e6 0x00007fffffffb800: 00007fffffffb810 ffffffff000181a4 0x00007fffffffb810: 0206ab3900006272 00000000434dcf8d 0x00007fffffffb820: 0000000000000000 00000000431a08bf 0x00007fffffffb830: 0000000000000000 00000000431a08bf 0x00007fffffffb840: 0000000000000000 0000000000000649 0x00007fffffffb850: 0000000000000004 0000000000001000 0x00007fffffffb860: 0000000000000000 0000000000000020 0x00007fffffffb870: 0000000000df13c0 00000008610f6040 0x00007fffffffb880: 0000000000df13c0 0000000000000000 0x00007fffffffb890: 0000000000000000 0000000860f1da36 0x00007fffffffb8a0: 000000080075b3c8 0000000000000020 0x00007fffffffb8b0: 0000000000000001 0000000860f1e31a 0x00007fffffffb8c0: 000000080075b3c8 0000000000000000 0x00007fffffffb8d0: 00000000014c49c0 0000000000df13c0 0x00007fffffffb8e0: 0000000000000000 0000000000df13c0 0x00007fffffffb8f0: 0000000000000000 0000000860f94fd5 0x00007fffffffb900: 00000000014c49c0 0000000000000000 0x00007fffffffb910: 00000000014c49c0 0000000001bc9100 0x00007fffffffb920: 0000000001862f70 00000008605c41d1 0x00007fffffffb930: 0000000000000000 00000008007c97b7 0x00007fffffffb940: 00000008605e51f5 00000008605e2531 0x00007fffffffb950: 0000000001862f70 0000000001abfb80 0x00007fffffffb960: 0000000001fea100 0000000000000000 0x00007fffffffb970: 0000000000000000 00000008605c44fe 0x00007fffffffb980: 0000000000000000 0000000001fea100 Instructions: (pc=0x00000008021e9c1a) 0x00000008021e9c0a: 45 f4 fe ff ff ff eb 51 48 8b 45 f8 48 8b 40 28 0x00000008021e9c1a: 48 83 78 18 00 74 15 48 8b 75 f8 48 8b 45 f8 48 Stack: [0x00007fffffc00000,0x0000800000000000), sp=0x00007fffffffb790, free space=4077k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libzip.so+0x7c1a] inflateEnd+0x3a Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.eclipse.swt.internal.gtk.OS._gtk_dialog_run(J)I+0 j org.eclipse.swt.internal.gtk.OS.gtk_dialog_run(J)I+8 j org.eclipse.swt.widgets.DirectoryDialog.openChooserDialog()Ljava/lang/String;+260 j org.eclipse.swt.widgets.DirectoryDialog.open()Ljava/lang/String;+24 j org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardFirstPage.chooseDropLocation()Lorg/eclipse/core/runtime/IPath;+38 j org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardFirstPage.access$8(Lorg/eclipse/pde/internal/ui/wizards/imports/PluginImportWizardFirstPage;)Lorg/eclipse/core/runtime/IPath;+1 j org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardFirstPage $4.widgetSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+4 j org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+198 v ~C2IAdapter J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V v ~I2CAdapter j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+25 j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+84 j org.eclipse.swt.widgets.Display.readAndDispatch()Z+22 j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;)V+23 j org.eclipse.jface.window.Window.open()I+49 j org.eclipse.ui.actions.ImportResourcesAction.run()V+188 j org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(Lorg/eclipse/swt/widgets/Event;)V+6 j org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Lorg/eclipse/swt/widgets/Event;Z)V+278 j org.eclipse.jface.action.ActionContributionItem.access $2(Lorg/eclipse/jface/action/ActionContributionItem;Lorg/eclipse/swt/widgets/Event;Z)V+3 j org.eclipse.jface.action.ActionContributionItem $5.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+60 j org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+71 j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+25 j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+84 j org.eclipse.swt.widgets.Display.readAndDispatch()Z+22 j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9 j org.eclipse.ui.internal.Workbench.runUI()I+108 j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11 j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2 j org.eclipse.ui.internal.ide.IDEApplication.run(Ljava/lang/Object;)Ljava/lang/Object;+98 j org.eclipse.core.internal.runtime.PlatformActivator $1.run(Ljava/lang/Object;)Ljava/lang/Object;+257 j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+170 j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+57 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111 j org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181 j org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107 j org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4 j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0000000001b10400 JavaThread "Java indexing" daemon [_thread_blocked, id=28379136] 0x00000000018d5000 JavaThread "Worker-6" [_thread_blocked, id=26039296] 0x000000000187f800 JavaThread "Worker-5" [_thread_blocked, id=25689088] 0x000000000196c400 JavaThread "Worker-4" [_thread_blocked, id=26658816] 0x0000000001953000 JavaThread "Worker-3" [_thread_blocked, id=26557440] 0x00000000006d4800 JavaThread "Worker-2" [_thread_blocked, id=26516480] 0x0000000001929400 JavaThread "Worker-1" [_thread_blocked, id=26384384] 0x00000000018d2800 JavaThread "Worker-0" [_thread_in_native, id=26029056] 0x000000000082e400 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=8579072] 0x0000000000811400 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=8460288] 0x00000000007ec000 JavaThread "State Data Manager" daemon [_thread_blocked, id=8307712] 0x0000000000698000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=6917120] 0x0000000000691000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=6888448] 0x000000000068b000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6863872] 0x0000000000684000 JavaThread "AdapterThread" daemon [_thread_blocked, id=6835200] 0x0000000000680000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6818816] 0x0000000000661400 JavaThread "Finalizer" daemon [_thread_blocked, id=6691840] 0x0000000000617c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=6688768] =>0x000000000051a800 JavaThread "main" [_thread_in_native, id=5349376] Other Threads: 0x000000000064c200 VMThread [id=6387712] 0x00000000005af200 WatcherThread [id=6933504] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 24768K, used 5293K [0x00000008460f0000, 0x0000000847bd0000, 0x000000084b640000) eden space 22016K, 24% used [0x00000008460f0000, 0x000000084661b7a0, 0x0000000847670000) from space 2752K, 0% used [0x0000000847670000, 0x0000000847670000, 0x0000000847920000) to space 2752K, 0% used [0x0000000847920000, 0x0000000847920000, 0x0000000847bd0000) tenured generation total 54908K, used 31779K [0x000000084b640000, 0x000000084ebdf000, 0x00000008560f0000) the space 54908K, 57% used [0x000000084b640000, 0x000000084d548ed0, 0x000000084d549000, 0x000000084ebdf000) compacting perm gen total 35648K, used 35331K [0x00000008560f0000, 0x00000008583c0000, 0x000000085b2f0000) the space 35648K, 99% used [0x00000008560f0000, 0x0000000858370e10, 0x0000000858371000, 0x00000008583c0000) No shared spaces configured. Dynamic libraries: 0x0000000000400000 /usr/local/jdk1.5.0/bin/java 0x0000000800636000 /usr/lib/libpthread.so.2 0x0000000800761000 /lib/libc.so.6 0x000000080095e000 /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so 0x0000000801397000 /usr/lib/libstdc++.so.5 0x000000080158e000 /lib/libm.so.4 0x00000008016aa000 /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi.so 0x00000008017b6000 /usr/local/lib/nss_ldap.so.1 0x00000008018d1000 /usr/local/lib/libldap-2.2.so.7 0x0000000801a07000 /usr/local/lib/liblber-2.2.so.7 0x0000000801b16000 /usr/local/lib/libsasl2.so.2 0x0000000801c2d000 /lib/libcrypto.so.4 0x0000000801e73000 /usr/lib/libssl.so.4 0x0000000801fab000 /usr/local/jdk1.5.0/jre/lib/amd64/libverify.so 0x00000008020ba000 /usr/local/jdk1.5.0/jre/lib/amd64/libjava.so 0x00000008021e2000 /usr/local/jdk1.5.0/jre/lib/amd64/libzip.so 0x000000085b591000 /usr/local/jdk1.5.0/jre/lib/amd64/libnet.so 0x000000085b6a4000 /usr/local/jdk1.5.0/jre/lib/amd64/libnio.so 0x000000085d8a7000 /home/sean/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/15/1/.cp/libswt-pi-gtk-3139.so 0x000000085d9ff000 /usr/X11R6/lib/libgtk-x11-2.0.so.600 0x000000085de44000 /usr/local/lib/libgthread-2.0.so.600 0x000000085df48000 /usr/X11R6/lib/libXtst.so.6 0x000000085e04e000 /usr/X11R6/lib/libgdk_pixbuf-2.0.so.600 0x000000085e164000 /usr/X11R6/lib/libgdk-x11-2.0.so.600 0x000000085e2fd000 /usr/X11R6/lib/libXrandr.so.2 0x000000085e400000 /usr/X11R6/lib/libXi.so.6 0x000000085e508000 /usr/X11R6/lib/libXinerama.so.1 0x000000085e60a000 /usr/X11R6/lib/libXfixes.so.3 0x000000085e70f000 /usr/X11R6/lib/libXcursor.so.1 0x000000085e819000 /usr/local/lib/libgmodule-2.0.so.600 0x000000085e91c000 /usr/local/lib/libgobject-2.0.so.600 0x000000085ea5a000 /usr/X11R6/lib/libpangoxft-1.0.so.800 0x000000085eb61000 /usr/X11R6/lib/libXft.so.2 0x000000085ec75000 /usr/local/lib/libfreetype.so.9 0x000000085edec000 /lib/libz.so.3 0x000000085eeff000 /usr/X11R6/lib/libXrender.so.1 0x000000085f008000 /usr/X11R6/lib/libXext.so.6 0x000000085f119000 /usr/X11R6/lib/libpangox-1.0.so.800 0x000000085f225000 /usr/X11R6/lib/libX11.so.6 0x000000085f402000 /usr/local/lib/libatk-1.0.so.901 0x000000085f520000 /usr/local/lib/libintl.so.6 0x000000085f629000 /usr/local/lib/libglib-2.0.so.600 0x000000085f7b3000 /usr/X11R6/lib/libpangoft2-1.0.so.800 0x000000085f8dc000 /usr/X11R6/lib/libpango-1.0.so.800 0x000000085fa18000 /usr/local/lib/libiconv.so.3 0x000000085fc09000 /usr/X11R6/lib/libfontconfig.so.1 0x000000085fd3b000 /usr/local/lib/libexpat.so.5 0x000000085fe5d000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0x000000085ff60000 /home/sean/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/15/1/.cp/libswt-gtk-3139.so 0x00000008600a2000 /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libsmooth.so 0x000000086021a000 /usr/X11R6/lib/pango/1.4.0/modules/pango-basic-fc.so 0x0000000860481000 /usr/X11R6/lib/gtk-2.0/2.4.0/filesystems/libgnome-vfs.so 0x000000086058a000 /usr/X11R6/lib/libgnomevfs-2.so.1000 0x00000008606f9000 /usr/X11R6/lib/libgnomeui-2.so.1000 0x0000000860890000 /usr/local/lib/libpopt.so.0 0x0000000860997000 /usr/X11R6/lib/libgconf-2.so.5 0x0000000860ad0000 /usr/local/lib/libbonobo-activation.so.4 0x0000000860be8000 /usr/local/lib/libbonobo-2.so.0 0x0000000860d57000 /usr/local/lib/libORBit-2.so.0 0x0000000860ec0000 /usr/local/lib/libxml2.so.5 0x00000008610f8000 /usr/local/lib/libhowl.so.0 0x0000000861331000 /usr/X11R6/lib/libgnome-2.so.1000 0x0000000861446000 /usr/X11R6/lib/libgnomecanvas-2.so.1000 0x0000000861574000 /usr/X11R6/lib/libbonoboui-2.so.0 0x00000008616e0000 /usr/X11R6/lib/libgnome-keyring.so.0 0x00000008617ec000 /usr/local/lib/libjpeg.so.9 0x000000086190d000 /usr/X11R6/lib/libSM.so.6 0x0000000861a17000 /usr/X11R6/lib/libICE.so.6 0x0000000861b31000 /usr/local/lib/libORBitCosNaming-2.so.0 0x0000000861c38000 /usr/local/lib/libesd.so.2 0x0000000861d41000 /usr/local/lib/libaudiofile.so.0 0x0000000861e6a000 /usr/local/lib/libart_lgpl_2.so.5 0x0000000861f80000 /usr/X11R6/lib/gnome-vfs-2.0/modules/libfile.so 0x0000000862088000 /usr/local/lib/libfam.so.0 0x000000086218f000 /usr/X11R6/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so 0x0000000862293000 /usr/local/lib/libpng.so.5 0x00000008623b9000 /usr/X11R6/lib/gtk-2.0/2.4.0/loaders/svg_loader.so 0x00000008624bb000 /usr/local/lib/libgsf-1.so.12 0x00000008625e0000 /usr/local/lib/libcroco-0.6.so.3 0x0000000862719000 /usr/X11R6/lib/librsvg-2.so.11 0x000000086284d000 /usr/lib/libbz2.so.2 0x000000080050c000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xms40m -Xmx256m java_command: /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch amd64 -launcher /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 60021 -Xmx512m -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar Environment Variables: JAVA_HOME=/usr/local/jdk1.5.0 PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/home/sean/bin:/home/sean/bin USERNAME= 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:/usr/X11R6/lib/mozilla::/usr/X11R6/lib/mozilla SHELL=/usr/local/bin/bash DISPLAY=:0.0 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.0-RC1 FreeBSD 6.0-RC1 #51: Thu Oct 13 07:32:17 PDT 2005 root@server.mcneil.com:/usr/obj/usr/src/sys/AMD64 amd64 rlimit: STACK 524288k, CORE infinity, NOFILE 22500 CPU:total 1 Memory: 4k page, physical 262144k vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-root_13_oct_2005_18_05) for freebsd-amd64, built on Oct 13 2005 18:27:48 by root with gcc 3.4.4 [FreeBSD] 20050518 Cheers, Sean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1129309049.27496.22.camel>