Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2006 20:27:30 +0400
From:      Yuri Pankov <y.pankov@irbis.net.ru>
To:        freebsd-emulation@freebsd.org
Subject:   building native JDK 1.5.0 and linprocfs witness reports
Message-ID:  <20060708202730.7dfaedf1@klamath.irbis.net.ru>

next in thread | raw e-mail | index | archive | help
Hi.

I've problems compiling native JDK 1.5.0. Posting to this list as it
seems related to linprocfs problems (linux-sun-jdk is used for
bootstraping). Build fails early in the beginning with "javac"
segmentation fault, and here's what I get in dmesg (lots of such
messages):
malloc(M_WAITOK) of "1024", forcing M_NOWAIT with the
following non-sleepable locks held: exclusive sleep mutex vm object
(standard object) r = 0 (0xffffff0063434578) locked
@ /usr/src/sys/compat/linprocfs/linprocfs.c:835
KDB: stack backtrace:
witness_warn() at witness_warn+0x262 uma_zalloc_arg() at
uma_zalloc_arg+0x217 malloc() at malloc+0xa3
vn_fullpath() at vn_fullpath+0x56
linprocfs_doprocmaps() at linprocfs_doprocmaps+0x31e
pfs_read() at pfs_read+0x2aa
VOP_READ_APV() at VOP_READ_APV+0x74
vn_read() at vn_read+0x232
dofileread() at dofileread+0x94
kern_readv() at kern_readv+0x60
read() at read+0x4a
ia32_syscall() at ia32_syscall+0x178
Xint0x80_syscall() at Xint0x80_syscall+0x5d
pid 63125 (javac), uid 0: exited on signal 11 (core dumped)

running recent -CURRENT/amd64. COMPAT_43TTY, COMPAT_LINUX32 and
LINPROCFS are compiled in kernel.

---
Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060708202730.7dfaedf1>