Problems with regcomp on build

Alexandr Kovalenko never at nevermind.kiev.ua
Wed Jan 21 03:51:31 PST 2004


I'm experiencing problems building openoffice in chroot environment
on FreeBSD 5.2. At some stage it runs regcomp and stops with HotSpot
error 'Heap Error' and starts to eat CPU. It can be killed only with 9
signal. Similar problem was with linux-sun-jdk14, which was resolved by
mounting /proc out of chroot (I don't really know how this can affect chroot
environment 8-() )

# uname -a
FreeBSD mile.wnet.ua 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Fri Jan 16 18:52:44 EET 2004     root at mile.wnet.ua:/usr/obj/usr/src/sys/mile  i386

# pkg_info (in chroot)
ORBit-0.5.17_1      High-performance CORBA ORB with support for the C language
XFree86-VirtualFramebufferServer-4.3.0_4 XFree86-4 virtual framebuffer server
XFree86-clients-4.3.0_6 XFree86-4 client programs and related files
XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files
XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts
XFree86-libraries-4.3.0_6 XFree86-4 libraries and headers
Xft-2.1.2           A client-sided font API for X applications
apache-ant-1.6.0_2  Java- and XML-based build tool, conceptually similar to mak
atk-1.4.1_1         A GNOME accessibility toolkit (ATK)
autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms 
autoconf-2.53_1     Automatically configure source code on many Un*x platforms
automake-1.4.5_9    GNU Standards-compliant Makefile generator (legacy version 
bison-1.75_1        A parser generator from FSF, (mostly) compatible with Yacc
expat-1.95.6_1      XML 1.0 parser written in C
fontconfig-2.2.90_3 An XML-based font configuration API for X Windows
freetype2-2.1.5_1   A free and portable TrueType font rendering engine
gettext-0.12.1      GNU gettext package
glib-1.2.10_10      Some useful routines of C programming (previous stable vers
glib-2.2.3          Some useful routines of C programming (current stable versi
gmake-3.80_1        GNU version of 'make' utility
gtk-1.2.10_10       Gimp Toolkit for X11 GUI (previous stable version)
gtk-2.2.4_1         Gimp Toolkit for X11 GUI (current stable version)
help2man-1.29       Automatically generating simple manual pages from program o
imake-4.3.0_2       Imake and other utilities from XFree86
javavmwrapper-1.4   Wrapper script for various Java Virtual Machines
jdk-1.4.2p6_1       Java Development Kit 1.4.2
jpeg-6b_1           IJG's jpeg compression utilities
lcms-1.09,1         Light Color Management System -- a color management library
libiconv-1.9.1_3    A character set conversion library
libmng-1.0.5_1      Multiple-image Network Graphics (MNG) reference library
libtool-1.3.5_1     Generic shared library support script
linux_base-7.1_5    The base set of packages needed in Linux mode
m4-1.4_1            GNU m4
nspr-4.3_2          A platform-neutral API for system level and libc like funct
open-motif-2.2.2_1  Motif X11 Toolkit (industry standard GUI (IEEE 1295))
pango-1.2.5         An open-source framework for the layout and rendering of i1
perl-5.6.1_15       Practical Extraction and Report Language
pkgconfig-0.15.0    A utility used to retrieve information about installed libr
png-1.2.5_3         Library for manipulating PNG images
popt-1.6.4_1        A getopt(3) like library with a number of enhancements, fro
rpm-3.0.6_8         The Red Hat Package Manager
tiff-3.6.1          Tools and library routines for working with TIFF images
unzip-5.50_2        List, test and extract compressed files in a ZIP archive
urwfonts-1.0        Another font package for X
zip-2.3_1           Create/update ZIP files compatible with pkzip

I'm using SCHED_ULE scheduler if it can matter and RELENG_5_2 security branch.

...
/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/setup2/util
-------------
rm -f ../unxfbsd.pro/bin/setup_services.rdb ../unxfbsd.pro/bin/regcomp.rdb ../unxfbsd.pro/bin/setup_services.tmp
regcomp -register -r ../unxfbsd.pro/bin/setup_services.tmp -c "libi18n645fi.so libi18npool645fi.so libtk645fi.so libmcnttype.so libdtransX11645fi.so"
register component 'libi18n645fi.so' in registry '../unxfbsd.pro/bin/setup_services.tmp' succesful!
register component 'libi18npool645fi.so' in registry '../unxfbsd.pro/bin/setup_services.tmp' succesful!
register component 'libtk645fi.so' in registry '../unxfbsd.pro/bin/setup_services.tmp' succesful!
register component 'libmcnttype.so' in registry '../unxfbsd.pro/bin/setup_services.tmp' succesful!
register component 'libdtransX11645fi.so' in registry '../unxfbsd.pro/bin/setup_services.tmp' succesful!
regcomp -register -r ../unxfbsd.pro/bin/setup_services.tmp -c "javavm.uno.so javaloader.uno.so"
register component 'javavm.uno.so' in registry '../unxfbsd.pro/bin/setup_services.tmp' succesful!
register component 'javaloader.uno.so' in registry '../unxfbsd.pro/bin/setup_services.tmp' succesful!
regcomp -register -r ../unxfbsd.pro/bin/regcomp.rdb -c "javavm.uno.so javaloader.uno.so"
register component 'javavm.uno.so' in registry '../unxfbsd.pro/bin/regcomp.rdb' succesful!
register component 'javaloader.uno.so' in registry '../unxfbsd.pro/bin/regcomp.rdb' succesful!
regmerge ../unxfbsd.pro/bin/regcomp.rdb / /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/udkapi.rdb
merging registry "/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/udkapi.rdb" under key "/" in registry "../unxfbsd.pro/bin/regcomp.rdb".
setenv CLASSPATH /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/unoil.jar:/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/java_uno.jar:/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/ridl.jar:/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/sandbox.jar:/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/jurt.jar:/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib:/usr/local/jdk1.4.2/jre/lib/rt.jar:. &&     setenv LD_LIBRARY_PATH .:/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solenv/unxfbsd.pro/lib:/usr/local/jdk1.4.2/jre/lib/i386:/usr/local/jdk1.4.2/jre/lib/i386/client:/usr/local/jdk1.4.2/jre/lib/i386/native_threads:../lib:/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib:: && \
                regcomp -br ../unxfbsd.pro/bin/regcomp.rdb                      \
                        -register                                       \
                        -r ../unxfbsd.pro/bin/setup_services.tmp                \
                        -l com.sun.star.loader.Java2                    \
                        -env:UNO_JAVA_COMPPATH=file:///usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin      \
                        -c vnd.sun.star.expand:\$UNO_JAVA_COMPPATH/java_uno_accessbridge.jar
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error to
# freebsd-java at FreeBSD.org mailing list
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_20_jan_2004_18_15 mixed mode)
#
# Error ID: 4F533F4253440E4350500063
#

Heap at VM Abort:
Heap


-- 
NEVE-RIPE, will build world for food
Ukrainian FreeBSD User Group
http://uafug.org.ua/


More information about the freebsd-java mailing list