GLib-GObject-CRITICAL

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Thu Nov 22 08:12:55 PST 2007


I have applied the patch pointed by Don Lewis and available
under "http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/112283"
I have recompiled the editors/openoffice.org-2 (recompiled java/jdk15
just before).
While opening any document the following error messages appear
in the terminal openoffice is launched from:

(process:67964): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:67964): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:67964): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed


I believe it is amd64 specific. One of the differences is that
amd64 build of OOo is always made WITHOUT_MOZILLA.
Can anyone on 7.0 or 8-CURRENT on i386 test OOo WITHOUT_MOZILLA?
In comparison with Marcin I have no problems (I hope) with JRE, but
I have compiled the native one, bootstrapping from native jdk too.
And I can save the newly created .odt file, OOo hangs with the error
messages above when I try to close (saved) document.


System conf:

[wep4017] ~> ls /var/db/pkg/ | grep jdk
jdk-1.5.0.13p7_1,1

[wep4017] ~> java -version
java version "1.5.0_13-p7"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-p7-root_20_nov_2007_17_47)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-p7-root_20_nov_2007_17_47, mixed mode)

[wep4017] ~> uname -a
FreeBSD wep4017.physik.uni-wuerzburg.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Nov 19 19:14:19 CET 2007     root at wep4017.physik.uni-wuerzburg.de:/usr/obj/usr/src/sys/GENERIC  amd64

[wep4017] ~> cat /etc/make.conf
CPUTYPE         ?= nocona
SUP_UPDATE      = YES
SUPFILE         = /root/standard-supfile
PORTSSUPFILE    = /root/ports-supfile
DOCSUPFILE      = /root/doc-supfile
DOC_LANG        = en_US.ISO8859-1

.if ${.CURDIR:M*/usr/ports*}
.include "/etc/ports.conf"
.endif

# added by use.perl 2007-11-12 11:31:04
PERL_VER=5.8.8
PERL_VERSION=5.8.8

[wep4017] ~> cat /etc/ports.conf 
WITH_OPTIMIZED_CFLAGS=          yes
WITH_OPTIMIZED_FLAGS=           yes
WITH_GHOSTSCRIPT_AFPL=          yes
WITHOUT_CUPS=                   yes
A4=                             yes

RANDOMIZE_MASTER_SITES=         yes

.if ${.CURDIR:M*/editors/openoffice.org-2*}
WITH_KDE=                       yes
WITH_SYSTEM_FREETYPE=           yes
WITHOUT_GNOMEVFS=               yes
WITHOUT_MOZILLA=                yes
# Not enough space
#LOCALIZED_LANG=                        all
.endif



More information about the freebsd-openoffice mailing list