Date: Fri, 18 Oct 2013 11:16:41 GMT From: Lukasz Olszewski <luckyluke@plusnet.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: java/183081: java crash on machine with zfs kernel module Message-ID: <201310181116.r9IBGf3u041847@oldred.freebsd.org> Resent-Message-ID: <201310181120.r9IBK15Y007553@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183081 >Category: java >Synopsis: java crash on machine with zfs kernel module >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 11:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Lukasz Olszewski >Release: 9.2 >Organization: >Environment: FreeBSD freeb 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: java crashes with the following error /usr/lib/libzfs.so: Undefined symbol "avl_numnodes" It happens during initial configuration of hudson CI server if the zfs module is present. If the module is removed from the kernel the configuration completes successfully ident /usr/lib/libzfs.so /usr/lib/libzfs.so: $FreeBSD: release/9.2.0/lib/csu/amd64/crti.S 217105 2011-01-07 16:07:51Z kib $ $FreeBSD: release/9.2.0/cddl/compat/opensolaris/misc/deviceid.c 185174 2008-11-22 13:33:06Z pjd $ $FreeBSD: release/9.2.0/cddl/compat/opensolaris/misc/zmount.c 221390 2011-05-03 16:00:26Z jh $ $FreeBSD: release/9.2.0/cddl/compat/opensolaris/misc/fsshare.c 222313 2011-05-26 16:27:00Z will $ $FreeBSD: release/9.2.0/cddl/compat/opensolaris/misc/mnttab.c 209962 2010-07-12 23:49:04Z mm $ $FreeBSD: release/9.2.0/lib/csu/amd64/crtn.S 217105 2011-01-07 16:07:51Z kib $ >How-To-Repeat: On fresh installation of 9.2-RELEASE amd64: 1. Add openjdk7 java -version openjdk version "1.7.0_25" OpenJDK Runtime Environment (build 1.7.0_25-b15) OpenJDK 64-Bit Server VM (build 23.21-b01, mixed mode) 2. Add zfs kernel module kldload zfs kldstat Id Refs Address Size Name 1 9 0xffffffff80200000 15b93c0 kernel 3 1 0xffffffff81812000 1583db zfs.ko 4 1 0xffffffff8196b000 56f7 opensolaris.ko 3. Download the latest version of hudson ci (3.1.0) http://eclipse.org/downloads/download.php?file=/hudson/war/hudson-3.1.0.war 4. Run hudson java -jar hudson-3.1.0.war -httpPort=8632 5. Open a browser and go to http://localhost:8632 6. On an initial setup page choose only JNA Native Support Plugin to install (in Core Compatibility Plugins section) 7. Click Install and then click Finish The java aborts with the following error /usr/lib/libzfs.so: Undefined symbol "avl_numnodes" 8. Remove working directory rm -rf .hudson 9. Remove zfs module kldunload zfs kldstat Id Refs Address Size Name 1 1 0xffffffff80200000 15b93c0 kernel 10. Repeat steps 4-7. The setup completes successfully. >Fix: not known >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310181116.r9IBGf3u041847>